@extends('layouts.nova') @php use App\Banner; $gridV2 = request()->query('grid') === 'v2'; @endphp @php $seoPage = max(1, (int) request()->query('page', 1)); $seoBase = url()->current(); $seoQ = request()->query(); unset($seoQ['page']); $seoUrl = fn(int $p) => $seoBase . ($p > 1 ? '?' . http_build_query(array_merge($seoQ, ['page' => $p])) : (count($seoQ) ? '?' . http_build_query($seoQ) : '')); $seoPrev = $seoPage > 1 ? $seoUrl($seoPage - 1) : null; $seoNext = (isset($artworks) && method_exists($artworks, 'nextPageUrl')) ? $artworks->nextPageUrl() : null; @endphp @push('head') @if($seoPrev)@endif @if($seoNext)@endif @endpush @section('content')
@php Banner::ShowResponsiveAd(); @endphp
@if(($gallery_type ?? null) === 'browse') Browse @elseif(isset($contentType) && $contentType) {{ $contentType->name }} @if(($gallery_type ?? null) === 'category') @foreach($breadcrumbs as $crumb) {{ $crumb->name }} @endforeach @endif @endif

{{ $hero_title ?? 'Browse Artworks' }}

{{ $hero_title ?? 'Browse Artworks' }}

{!! $hero_description ?? '' !!}

@forelse ($artworks as $art) @empty
No Artworks Yet

Once uploads arrive they will appear here. Check back soon.

@endforelse
@if ($artworks instanceof \Illuminate\Contracts\Pagination\Paginator || $artworks instanceof \Illuminate\Contracts\Pagination\CursorPaginator) {{ method_exists($artworks, 'withQueryString') ? $artworks->withQueryString()->links() : $artworks->links() }} @endif
@endsection @push('styles') @if(! $gridV2) @endif @endpush @push('scripts') @endpush