@include('templates/meta') @include('templates/head') Progress Pembangunan - Casa Asraya @include('templates/navbar') {{-- HERO --}}

Construction Update

Progress
Pembangunan

Pantau perkembangan terbaru pembangunan Casa Asraya setiap periodenya.

{{-- CONTENT --}}
@if($progress->total() === 0) {{-- EMPTY STATE --}}
🏗️

Data progress pembangunan belum tersedia.

@else {{-- PERIOD TABS --}}
@foreach($progress->items() as $i => $period) @php $periodKey = str_replace([' ', '/'], '_', $period['period']); @endphp @endforeach
{{-- PANELS --}} @foreach($progress->items() as $i => $period) @php $periodKey = str_replace([' ', '/'], '_', $period['period']); $photos = $period['images']; @endphp
{{-- Period Label --}}

Periode

{{ $period['period'] }}

{{ count($photos) }} Foto
@if(count($photos) === 0)
Belum ada foto untuk periode ini.
@else
@foreach($photos as $idx => $imgPath) @php $imgUrl = (str_starts_with($imgPath, 'img/') || str_starts_with($imgPath, '/img/') || str_starts_with($imgPath, 'http') || str_starts_with($imgPath, 'storage/') || str_starts_with($imgPath, '/storage/')) ? $imgPath : 'storage/' . $imgPath; @endphp
Progress {{ $period['period'] }}
Lihat Foto
@endforeach
@endif
@endforeach {{-- PAGINATION --}} @if($progress->lastPage() > 1)
{{-- Prev --}} ‹ Sebelumnya {{-- Page numbers --}} @for($p = 1; $p <= $progress->lastPage(); $p++) {{ $p }} @endfor {{-- Next --}} Berikutnya ›
@endif @endif
{{-- LIGHTBOX --}} @include('templates/footer')