commit
f5fcbec137
|
@ -70,6 +70,7 @@ public function store(Request $request)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public function w(Request $request)
|
||||
{
|
||||
// $validator = Validator::make($request->all(), [
|
||||
|
|
|
@ -20,8 +20,9 @@ public function up()
|
|||
$table->string('metode');
|
||||
$table->text('fasilitas');
|
||||
$table->string('lokasi');
|
||||
$table->decimal('latitude', 10, 8)->index(); // Increased precision
|
||||
$table->decimal('longitude', 11, 8)->index(); // Increased precision
|
||||
|
||||
$table->decimal('latitude', 10, 7);
|
||||
$table->decimal('longtitude', 10, 7);
|
||||
$table->json('img_konten')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
Binary file not shown.
After Width: | Height: | Size: 2.3 MiB |
Binary file not shown.
After Width: | Height: | Size: 224 KiB |
Binary file not shown.
After Width: | Height: | Size: 316 KiB |
Binary file not shown.
After Width: | Height: | Size: 264 KiB |
|
@ -7,37 +7,18 @@
|
|||
<div class="container flex justify-end items-center pb-16">
|
||||
<div id="default-carousel" class="relative w-full" data-carousel="slide">
|
||||
<!-- Carousel wrapper -->
|
||||
<div class="relative h-48 sm:h-[250px] md:h-[350px] lg:h-[450px] xl:h-[500px] 2xl:h-[600px] overflow-hidden rounded-lg"> <!-- Increased height -->
|
||||
<!-- Item 1 -->
|
||||
<div class="hidden duration-700 ease-in-out h-full" data-carousel-item>
|
||||
<img src="{{ asset('img/Rectangle 227.png') }}"
|
||||
<div class="relative h-48 sm:h-[250px] md:h-[350px] lg:h-[450px] xl:h-[500px] 2xl:h-[600px] overflow-hidden rounded-lg">
|
||||
@foreach ($imageNames as $index => $imageName)
|
||||
<!-- Item {{ $index + 1 }} -->
|
||||
<div class="{{ $index === 0 ? 'block' : 'hidden' }} duration-700 ease-in-out h-full" data-carousel-item>
|
||||
<img src="{{ asset('storage/logo/' . $imageName) }}"
|
||||
class="absolute block w-full h-full object-cover -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2"
|
||||
alt="...">
|
||||
</div>
|
||||
<!-- Item 2 -->
|
||||
<div class="hidden duration-700 ease-in-out h-full" data-carousel-item>
|
||||
<img src="{{ asset('img/Rectangle 227.png') }}"
|
||||
class="absolute block w-full h-full object-cover -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2"
|
||||
alt="...">
|
||||
</div>
|
||||
<!-- Item 3 -->
|
||||
<div class="hidden duration-700 ease-in-out h-full" data-carousel-item>
|
||||
<img src="{{ asset('img/Rectangle 227.png') }}"
|
||||
class="absolute block w-full h-full object-cover -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2"
|
||||
alt="...">
|
||||
</div>
|
||||
<!-- Item 4 -->
|
||||
<div class="hidden duration-700 ease-in-out h-full" data-carousel-item>
|
||||
<img src="{{ asset('img/Rectangle 227.png') }}"
|
||||
class="absolute block w-full h-full object-cover -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2"
|
||||
alt="...">
|
||||
</div>
|
||||
<!-- Item 5 -->
|
||||
<div class="hidden duration-700 ease-in-out h-full" data-carousel-item>
|
||||
<img src="{{ asset('img/Rectangle 227.png') }}"
|
||||
class="absolute block w-full h-full object-cover -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2"
|
||||
alt="...">
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<!-- Slider indicators -->
|
||||
<div class="absolute z-30 flex -translate-x-1/2 bottom-5 left-1/2 space-x-3 rtl:space-x-reverse">
|
||||
|
@ -80,90 +61,33 @@ class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/3
|
|||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
|
||||
|
||||
<p class="poppins-medium text-3xl text-black py-4">Kampung Inggris LC - Language Center </p>
|
||||
<button class="poppins-regular py-2 px-4 bg-[#4F7F81] text-white rounded-xl text-xl shadow-xl">Rute
|
||||
Terdekat</button>
|
||||
<p class="text-black text-lg py-4 poppins-semibold">Deskripsi</p>
|
||||
<p class="poppins-regular text-black text-2xl pb-2 max-w-7xl">KAMPUNG INGGRIS LC – LANGUAGE CENTER
|
||||
Adalah salah satu lembaga kursus bahasa inggris TERBESAR dan TERFAVORIT di kampung Inggris Pare. Lebih dari
|
||||
53.333+ alumni dari berbagai daerah di indonesia sudah merasakan metode UNIK yang terbukti membuat
|
||||
mereka PUAS dan MAU merekomendasikan LC. Metode berkualitas Integrated Intensive Program, sistem belajar
|
||||
yang terintegrasi dari speaking, grammar, dan pronunciation bakal mempercepat kamu mahir berbahasa Inggris.
|
||||
<p class="poppins-regular text-black text-2xl pb-2 max-w-7xl">
|
||||
{{ $data->deskripsi }}
|
||||
</p>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-20 py-14">
|
||||
<div class="max-w-80 space-y-2">
|
||||
<p class="poppins-semibold text-2xl text-black ">
|
||||
Program Pembelajaran
|
||||
</p>
|
||||
<h1 class="popins-reguler text-2xl text-black underline">
|
||||
English Master
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
6 Bulan Rp. 9.500.000
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
4 Bulan Rp. 6.500.000
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black underline">
|
||||
Intensive
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
3 Bulan Rp. 4.200.000
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
2 Bulan Rp. 2.975.000
|
||||
</h1>
|
||||
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
1 Bulan Rp. 1.600.000
|
||||
</h1>
|
||||
|
||||
<h1 class="popins-reguler text-2xl text-black underline">
|
||||
Toefl
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
1 Bulan Rp. 1.750.000
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black underline">
|
||||
Holiday Ceria
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
2 Minggu Rp. 1.700.000
|
||||
</h1>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
1 Minggu Rp. 990.000
|
||||
</h1>
|
||||
{{-- Page untuk paket --}}
|
||||
{{ strip_tags($data->paket) }}
|
||||
</div>
|
||||
<div class="max-w-max space-y-2">
|
||||
<p class="poppins-semibold text-2xl text-black ">
|
||||
Metode Pembelajaran
|
||||
</p>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
Confidence Booster
|
||||
Grammar Hack
|
||||
Speak Properly
|
||||
Speaking Without Thinking
|
||||
Conceptual Mapping Skills
|
||||
English for Spesific Purpose
|
||||
Critical Thinking
|
||||
{{ $data->metode }}
|
||||
</h1>
|
||||
<p class="poppins-semibold text-2xl text-black pt-6">
|
||||
Fasilitas
|
||||
</p>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
Camp/asrama English Area
|
||||
Assessment Test
|
||||
Modul Pembelajaran
|
||||
Sertifikat LC
|
||||
|
||||
|
||||
{{ $data->fasilitas }}
|
||||
</h1>
|
||||
</div>
|
||||
<div class="max-w-max space-y-2">
|
||||
|
@ -171,10 +95,7 @@ class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/3
|
|||
Lokasi
|
||||
</p>
|
||||
<h1 class="popins-reguler text-2xl text-black ">
|
||||
Jl. Langkat No.88, Singgahan, Pelem, Kec. Pare, Kabupaten Kediri, Jawa Timur 64213
|
||||
0858-5611-1118
|
||||
Instagram: @kampunginggrislc
|
||||
|
||||
{{ $data->lokasi }}
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -72,7 +72,7 @@ class="absolute top-0 end-0 p-2.5 text-sm font-medium h-full text-white bg-[#4F7
|
|||
<div class="max-w-max shadow-xl bg-white border border-gray-300 rounded-lg ">
|
||||
<a href="#">
|
||||
<img class="rounded-lg m-auto flex justify-center items-center w-full max-h-64 object-cover"
|
||||
src="{{ asset('img/Rectangle 288.png') }}" alt="" />
|
||||
src="{{ asset('storage/konten/'.$data_kursus->img ) }}" alt="" />
|
||||
{{-- src="{{ asset($data_kursus->img) }}" alt="{{ $data_kursus->nama_kursus }}" /> --}}
|
||||
</a>
|
||||
<div class="p-5">
|
||||
|
@ -117,7 +117,7 @@ class="absolute top-0 end-0 p-2.5 text-sm font-medium h-full text-white bg-[#4F7
|
|||
<p class="ms-1 text-sm text-gray-500 ">5</p>
|
||||
</div>
|
||||
<div class="flex justify-end">
|
||||
<a href="#"
|
||||
<a href="/kursus/{{ $data_kursus->id }}/detail"
|
||||
class="inline-flex items-center px-6 font-extrabold py-2 text-sm text-center ring-2 text-black ring-black hover:text-white hover:bg-[#4F7F81] hover:ring-[#4F7F81] rounded-full focus:ring-4 focus:outline-none focus:ring-blue-300 -700 ue-800">
|
||||
Lihat
|
||||
<svg class="rtl:rotate-180 w-3.5 h-3.5 ms-2" aria-hidden="true"
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
use App\Http\Controllers\PengunjungController;
|
||||
|
||||
|
||||
|
||||
// ADMIN
|
||||
|
||||
Route::get('/admin/dashboard', [AdminDashboardController::class, 'index'])->name('admin.home');
|
||||
Route::get('/admin/data-kursus', [AdminDataKursusController::class, 'dataKursus'])->name('admin.dataKursus');
|
||||
Route::post('/admin/store', [AdminDataKursusController::class, 'store'])->name('kursus.store');
|
||||
|
@ -18,11 +20,10 @@
|
|||
// LOGIN
|
||||
Route::get('/login', [LoginController::class, 'index'])->name('login');
|
||||
|
||||
|
||||
// PELANGGAN
|
||||
Route::get('/', [PengunjungController::class, 'home'])->name('home');
|
||||
Route::get('/kursus', [PengunjungController::class, 'kursus'])->name('user.kursus');
|
||||
|
||||
Route::get('/peta', [PengunjungController::class, 'maps'])->name('user.peta');
|
||||
|
||||
Route::get('kursus/{id}/detail', [PengunjungController::class, 'detail'])->name('kursus.detail');
|
||||
Route::get('/kursus/{id}/detail', [PengunjungController::class, 'detail'])->name('kursus.detail');
|
||||
|
||||
|
|
Loading…
Reference in New Issue