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

Downloads

Most Downloaded Today

Artworks downloaded the most on .

Live today
{{-- ── Artwork grid ── --}}
@if ($artworks && $artworks->isNotEmpty())
@foreach ($artworks as $art) @php $card = (object)[ 'id' => $art->id ?? null, 'name' => $art->name ?? 'Artwork', 'thumb' => $art->thumb ?? null, 'thumb_srcset' => $art->thumb_srcset ?? null, 'uname' => $art->uname ?? '', 'category_name' => $art->category_name ?? '', 'slug' => $art->slug ?? \Illuminate\Support\Str::slug($art->name ?? 'artwork'), ]; $downloads = (int) ($art->num_downloads ?? 0); @endphp {{-- Wrap card to overlay download badge --}}
@if ($downloads > 0)
{{ number_format($downloads) }}
@endif
@endforeach
{{ $artworks->withQueryString()->links() }}
@else

No downloads recorded today yet.

Check back later as the day progresses.

@endif
@endsection