@extends('layouts.site') @section('content')
@foreach($categories as $category) @endforeach
@forelse(collect($artworks)->sortBy('sort_order')->values() as $artwork) @php $subline = $artwork['subline'] ?? null; $subtitle = $artwork['subtitle'] ?? null; $thumbnail = $artwork['thumbnail'] ?? ['type' => 'image', 'url' => $artwork['image'] ?? null]; @endphp
@if(($thumbnail['type'] ?? 'image') === 'bunny' && !empty($thumbnail['embedUrl'])) @else {{ $artwork['title'] }} @endif

{{ $artwork['title'] }}

@if($subline || $subtitle) {{ $subline ?: $subtitle }} @endif
@empty

{{ trans('fp.NO_PUBLISHED_PROJECTS_YET') }}

@endforelse
@endsection @push('scripts') @endpush @push('scripts') @endpush