{{-- resources/views/welcome.blade.php --}} LPKA Kelas II Jakarta @vite(['resources/css/app.css', 'resources/js/app.js']) {{-- Top bar --}}
LPKA Kelas II Jakarta
Portal kegiatan di LPKA Kelas II Jakarta
@if (Route::has('login')) @auth Dashboard @else Log in @if (Route::has('register')) Register @endif @endauth @endif
{{-- Hero --}}
Update kegiatan • Ringkas • Informatif

Kegiatan di LPKA Kelas II Jakarta — satu portal.

LPKA Kelas II Jakarta menyediakan informasi terkini terkait pembelajaran, seminar, webinar, dan kegiatan edukatif lainnya.

{{-- Search (UI only; kalau mau beneran, sambungkan ke route search) --}}
{{-- CTA --}}
Kategori
Browse cepat
@if(!empty($categories) && $categories->count()) @foreach($categories as $cat)
{{ $cat }}
Lihat kegiatan
@endforeach @else @php $fallbackCats = [ ['Kegiatan', 'Belajar, Bermain'], ['Pembinaan', 'Belajar, Hafalan'], ['Perikanan', 'Budidaya'], ['Pertanian', 'Bercocok tanam'], ['Seni', 'Musik & Menggambar'], ['Olahraga', 'Volley, Sepak Bola'], ]; @endphp @foreach ($fallbackCats as $c)
{{ $c[0] }}
{{ $c[1] }}
@endforeach @endif
Menampilkan sampai 6 kategori dari kegiatan published.
{{-- Main content --}}
{{-- Featured --}} {{-- Latest list (uses $latest from controller) --}}
@php $latestList = collect($latest ?? [])->take(6); @endphp @if($latestList->count()) @foreach($latestList as $l)
{{ $l->category ?? 'General' }} @if(!empty($l->type)) {{ $l->type }} @endif {{ optional($l->start_at)->format('d M Y, H:i') ?? now()->format('d M Y') }} @if(!empty($l->location_name) || !empty($l->location)) {{ $l->location_name ?? $l->location }} @endif

{{ $l->title }}

{{ \Illuminate\Support\Str::limit($l->excerpt ?? strip_tags($l->description ?? ''), 120) }}

Lihat detail → @if($l->price_type === 'free') Gratis @elseif(!empty($l->price_amount)) Rp {{ number_format((int) $l->price_amount, 0, ',', '.') }} @else {{ $l->price_type ? ucfirst($l->price_type) : '—' }} @endif
@endforeach @endif
{{-- Right: CTA --}}
{{-- Footer --}}