{{-- Explore index — uses ExploreLayout. Displays an artwork grid with hero header, mode tabs, pagination. --}} @extends('layouts.nova.explore-layout') @section('explore-grid') {{-- ══ EGS §11: FEATURED SPOTLIGHT ROW ══ --}} @if(!empty($spotlight) && $spotlight->isNotEmpty())
✦ Featured Today
@foreach($spotlight as $item) {{-- Thumbnail --}}
thumb_srcset)) srcset="{{ $item->thumb_srcset }}" @endif alt="{{ $item->name ?? 'Featured artwork' }}" loading="lazy" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300" />
{{-- Label overlay --}}

{{ $item->name ?? '' }}

@if(!empty($item->uname))

@{{ $item->uname }}

@endif
@endforeach
@endif @php $galleryArtworks = collect($artworks->items())->map(fn ($art) => [ 'id' => $art->id, 'name' => $art->name ?? null, 'thumb' => $art->thumb_url ?? $art->thumb ?? null, 'thumb_srcset' => $art->thumb_srcset ?? null, 'uname' => $art->uname ?? '', 'username' => $art->username ?? $art->uname ?? '', 'avatar_url' => $art->avatar_url ?? null, 'category_name' => $art->category_name ?? '', 'category_slug' => $art->category_slug ?? '', 'slug' => $art->slug ?? '', 'width' => $art->width ?? null, 'height' => $art->height ?? null, ])->values(); @endphp
@endsection