<div class="gallery-grid">
    @foreach ($latestUploads as $upload)
        <div class="thumb-card effect2">
            @php
                $t = \App\Services\ThumbnailPresenter::present($upload, 'md');
                $card = [
                    'id' => $t['id'] ?? null,
                    'title' => $t['title'] ?? 'Artwork',
                    'thumb' => $t['url'] ?? null,
                    'thumb_srcset' => $t['srcset'] ?? null,
                ];
            @endphp
            <x-artwork-card :art="$card" />
        </div>
    @endforeach
</div> <!-- end .gallery-grid -->
