DONE YGY
This commit is contained in:
parent
31a7b21b76
commit
fcf4423d98
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
class AdminDataKursusController extends Controller
|
class AdminDataKursusController extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// ADMIN FADIAS TUKANG SERVER
|
||||||
public function dataKursus()
|
public function dataKursus()
|
||||||
{
|
{
|
||||||
$courses = DataKursus::all();
|
$courses = DataKursus::all();
|
||||||
|
@ -25,12 +27,6 @@ public function store(Request $request)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function detail()
|
|
||||||
{
|
|
||||||
$courses = DataKursus::all();
|
|
||||||
return view('user.detailKursus', compact('courses'));
|
|
||||||
}
|
|
||||||
|
|
||||||
public function destroy(string $id)
|
public function destroy(string $id)
|
||||||
{
|
{
|
||||||
$data = DataKursus::find($id);
|
$data = DataKursus::find($id);
|
||||||
|
@ -41,21 +37,28 @@ public function destroy(string $id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// PENGUNJUNG
|
||||||
public function home()
|
public function home()
|
||||||
{
|
{
|
||||||
return view('user.home');
|
$landingpage = DataKursus::inRandomOrder()->limit(3)->get();
|
||||||
|
return view('user.home', compact('landingpage'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function kursus()
|
public function kursus()
|
||||||
{
|
{
|
||||||
return view('user.kursus');
|
$data_kursus = DataKursus::limit(6)->get();
|
||||||
|
return view('user.kursus', compact('data_kursus'));
|
||||||
}
|
}
|
||||||
|
public function detail()
|
||||||
|
{
|
||||||
|
return view('user.detailKursus');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public function maps()
|
public function maps()
|
||||||
{
|
{
|
||||||
// Mengambil data dari tabel data_kursus
|
|
||||||
$latilongti = DataKursus::all();
|
$latilongti = DataKursus::all();
|
||||||
|
|
||||||
// Mengirim data ke view 'user.peta'
|
|
||||||
return view('user.peta', compact('latilongti'));
|
return view('user.peta', compact('latilongti'));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-8 m-auto justify-center items-center">
|
<div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-8 m-auto justify-center items-center">
|
||||||
|
@foreach ($landingpage as $landingpage)
|
||||||
<div class="max-w-max bg-white border border-gray-200 rounded-lg shadow ">
|
<div class="max-w-max bg-white border border-gray-200 rounded-lg shadow ">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<img class="rounded-lg m-auto flex justify-center items-center w-full max-h-64 object-cover"
|
<img class="rounded-lg m-auto flex justify-center items-center w-full max-h-64 object-cover"
|
||||||
|
@ -30,13 +31,11 @@
|
||||||
</a>
|
</a>
|
||||||
<div class="p-5">
|
<div class="p-5">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<h5 class="mb-2 text-2xl poppins-regular font-extrabold tracking-tight text-gray-900 ">
|
<h5
|
||||||
Language Center
|
class="mb-2 text-2xl poppins-regular font-extrabold tracking-tight text-gray-900 ">
|
||||||
(LC)</h5>
|
{{ $landingpage->nama_kursus }}</h5>
|
||||||
</a>
|
</a>
|
||||||
<p class="mb-3 font-normal poppins-regular text-gray-700 ">Salah satu lembaga
|
<p class="mb-3 font-normal poppins-regular text-gray-700 ">{{ $landingpage->deskripsi }}</p>
|
||||||
kursus bahasa
|
|
||||||
Inggris TERBESAR dan TERFAVORIT di kampung Inggris Pare.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
|
@ -82,125 +81,9 @@ class="inline-flex items-center px-6 font-extrabold py-2 text-sm text-center rin
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="max-w-max bg-white border border-gray-200 rounded-lg shadow ">
|
@endforeach
|
||||||
<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="" />
|
|
||||||
</a>
|
|
||||||
<div class="p-5">
|
|
||||||
<a href="#">
|
|
||||||
<h5 class="mb-2 text-2xl poppins-regular font-extrabold tracking-tight text-gray-900 ">
|
|
||||||
Language Center
|
|
||||||
(LC)</h5>
|
|
||||||
</a>
|
|
||||||
<p class="mb-3 font-normal poppins-regular text-gray-700 ">Salah satu lembaga
|
|
||||||
kursus bahasa
|
|
||||||
Inggris TERBESAR dan TERFAVORIT di kampung Inggris Pare.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="flex items-center">
|
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<svg class="w-4 h-4 text-gray-300 me-1 " aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<p class="ms-1 text-sm text-gray-500 ">4.95</p>
|
|
||||||
<p class="ms-1 text-sm text-gray-500 ">out of</p>
|
|
||||||
<p class="ms-1 text-sm text-gray-500 ">5</p>
|
|
||||||
</div>
|
|
||||||
<div class="flex justify-end">
|
|
||||||
<a href="#"
|
|
||||||
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"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
|
||||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
||||||
stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9" />
|
|
||||||
</svg>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="max-w-max bg-white border border-gray-200 rounded-lg shadow ">
|
|
||||||
<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="" />
|
|
||||||
</a>
|
|
||||||
<div class="p-5">
|
|
||||||
<a href="#">
|
|
||||||
<h5 class="mb-2 text-2xl poppins-regular font-extrabold tracking-tight text-gray-900 ">
|
|
||||||
Language Center
|
|
||||||
(LC)</h5>
|
|
||||||
</a>
|
|
||||||
<p class="mb-3 font-normal poppins-regular text-gray-700 ">Salah satu lembaga
|
|
||||||
kursus bahasa
|
|
||||||
Inggris TERBESAR dan TERFAVORIT di kampung Inggris Pare.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="flex items-center">
|
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<svg class="w-4 h-4 text-gray-300 me-1 " aria-hidden="true"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
|
||||||
<path
|
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
|
||||||
</svg>
|
|
||||||
<p class="ms-1 text-sm text-gray-500 ">4.95</p>
|
|
||||||
<p class="ms-1 text-sm text-gray-500 ">out of</p>
|
|
||||||
<p class="ms-1 text-sm text-gray-500 ">5</p>
|
|
||||||
</div>
|
|
||||||
<div class="flex justify-end">
|
|
||||||
<a href="#"
|
|
||||||
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"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
|
||||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
||||||
stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9" />
|
|
||||||
</svg>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -41,6 +41,7 @@ class="inline-flex w-full px-4 py-2 hover:bg-gray-100 ">Logos</button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="relative w-full">
|
<div class="relative w-full">
|
||||||
<input type="search" id="search-dropdown"
|
<input type="search" id="search-dropdown"
|
||||||
class="block pr-12 p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-gray-50 border-s-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500"
|
class="block pr-12 p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-gray-50 border-s-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500"
|
||||||
|
@ -55,6 +56,8 @@ class="absolute top-0 end-0 p-2.5 text-sm font-medium h-full text-white bg-[#4F7
|
||||||
<span class="sr-only">Search</span>
|
<span class="sr-only">Search</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -63,46 +66,49 @@ class="absolute top-0 end-0 p-2.5 text-sm font-medium h-full text-white bg-[#4F7
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pb-20 grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-8 m-auto justify-center items-center">
|
<div class="pb-20 grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-8 m-auto justify-center items-center">
|
||||||
|
@foreach ($data_kursus as $data_kursus)
|
||||||
<div class="max-w-max shadow-xl bg-white border border-gray-300 rounded-lg ">
|
<div class="max-w-max shadow-xl bg-white border border-gray-300 rounded-lg ">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<img class="rounded-lg m-auto flex justify-center items-center w-full max-h-64 object-cover"
|
<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('img/Rectangle 288.png') }}" alt="" />
|
||||||
|
{{-- src="{{ asset($data_kursus->img) }}" alt="{{ $data_kursus->nama_kursus }}" /> --}}
|
||||||
</a>
|
</a>
|
||||||
<div class="p-5">
|
<div class="p-5">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<h5 class="mb-2 text-2xl poppins-regular font-extrabold tracking-tight text-gray-900">
|
<h5 class="mb-2 text-2xl poppins-regular font-extrabold tracking-tight text-gray-900">
|
||||||
Language Center
|
{{ $data_kursus->nama_kursus }}
|
||||||
(LC)</h5>
|
</h5>
|
||||||
</a>
|
</a>
|
||||||
<p class="mb-3 font-normal poppins-regular text-gray-700 ">Salah satu lembaga
|
<p class="mb-3 font-normal poppins-regular text-gray-700 ">
|
||||||
kursus bahasa
|
{{ $data_kursus->deskripsi }}
|
||||||
Inggris TERBESAR dan TERFAVORIT di kampung Inggris Pare.</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"
|
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
||||||
fill="currentColor" viewBox="0 0 22 20">
|
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
||||||
<path
|
<path
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
||||||
</svg>
|
</svg>
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"
|
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
||||||
fill="currentColor" viewBox="0 0 22 20">
|
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
||||||
<path
|
<path
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
||||||
</svg>
|
</svg>
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"
|
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
||||||
fill="currentColor" viewBox="0 0 22 20">
|
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
||||||
<path
|
<path
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
||||||
</svg>
|
</svg>
|
||||||
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"
|
<svg class="w-4 h-4 text-yellow-300 me-1" aria-hidden="true"
|
||||||
fill="currentColor" viewBox="0 0 22 20">
|
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
||||||
<path
|
<path
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
||||||
</svg>
|
</svg>
|
||||||
<svg class="w-4 h-4 text-gray-300 me-1 " aria-hidden="true" xmlns="http://www.w3.org/2000/svg"
|
<svg class="w-4 h-4 text-gray-300 me-1 " aria-hidden="true"
|
||||||
fill="currentColor" viewBox="0 0 22 20">
|
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20">
|
||||||
<path
|
<path
|
||||||
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" />
|
||||||
</svg>
|
</svg>
|
||||||
|
@ -123,6 +129,7 @@ class="inline-flex items-center px-6 font-extrabold py-2 text-sm text-center rin
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@endforeach
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,16 +15,10 @@
|
||||||
|
|
||||||
Route::get('/admin/courses', [AdminDataKursusController::class, 'index']);
|
Route::get('/admin/courses', [AdminDataKursusController::class, 'index']);
|
||||||
|
|
||||||
|
|
||||||
Route::get('/login', [LoginController::class, 'index'])->name('login');
|
Route::get('/login', [LoginController::class, 'index'])->name('login');
|
||||||
// Route::post('/login', [LoginController::class, 'login'])->name('login.post');
|
|
||||||
|
|
||||||
|
|
||||||
Route::get('/', [AdminDataKursusController::class, 'home'])->name('home');
|
Route::get('/', [AdminDataKursusController::class, 'home'])->name('home');
|
||||||
Route::get('/kursus', [AdminDataKursusController::class, 'kursus'])->name('user.kursus'); // Perbaikan pada rute ini
|
Route::get('/kursus', [AdminDataKursusController::class, 'kursus'])->name('user.kursus'); // Perbaikan pada rute ini
|
||||||
Route::get('/peta', [AdminDataKursusController::class, 'maps'])->name('user.peta');
|
Route::get('/peta', [AdminDataKursusController::class, 'maps'])->name('user.peta');
|
||||||
|
|
||||||
Route::get('/detailkursus', [AdminDataKursusController::class, 'detail'])->name('user.detailKursus');
|
Route::get('/detailKursus', [AdminDataKursusController::class, 'detail'])->name('user.detailKursus');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue