@extends('theme::layout') @section('title', $gallery->name) @section('content') @include('theme::_hero_banner', [ 'heroTitle' => $gallery->name, 'heroSubtitle' => $gallery->description ?? null, 'breadcrumbs' => [ ['label' => 'Home', 'url' => route('web.home')], ['label' => 'Gallery', 'url' => route('web.gallery')], ['label' => $gallery->name], ], ])
@if($gallery->photos->count()) @php $photos = $gallery->photos->map(fn($p) => $p->FullPath)->values()->toArray(); @endphp
{{-- Main viewer --}}
{{-- Prev button --}} {{-- Next button --}} {{-- Counter badge --}}
/ {{ $gallery->photos->count() }}
{{-- Thumbnail strip --}}
@foreach($gallery->photos as $i => $photo) @endforeach
@else

No photos in this album yet.

@endif
@endsection