@extends('layouts.nova') @section('content') {{-- ── Hero header ── --}}

Discover

{{ $page_title ?? 'Discover' }}

@isset($description)

{{ $description }}

@endisset
{{-- Section switcher pills --}}
@php $sections = [ 'trending' => ['label' => 'Trending', 'icon' => 'fa-fire'], 'fresh' => ['label' => 'Fresh', 'icon' => 'fa-bolt'], 'top-rated' => ['label' => 'Top Rated', 'icon' => 'fa-medal'], 'most-downloaded' => ['label' => 'Most Downloaded', 'icon' => 'fa-download'], 'on-this-day' => ['label' => 'On This Day', 'icon' => 'fa-calendar-day'], ]; $active = $section ?? ''; @endphp @foreach($sections as $slug => $meta) {{ $meta['label'] }} @endforeach
{{-- ── Artwork grid ── --}}
@if ($artworks && $artworks->isNotEmpty())
@foreach ($artworks as $art) @php $card = (object)[ 'id' => $art->id, 'name' => $art->name, 'thumb' => $art->thumb_url ?? $art->thumb ?? null, 'thumb_srcset' => $art->thumb_srcset ?? null, 'uname' => $art->uname ?? '', 'category_name' => $art->category_name ?? '', ]; @endphp @endforeach
{{-- Pagination --}}
{{ $artworks->withQueryString()->links() }}
@else

No artworks found for this section yet.

@endif
@endsection