@include('public.partials.header', [ 'activeGroup' => null, 'activeSlug' => 'gallery', 'isStatic' => true, 'showBack' => true, 'anchorPrefix' => '/', ]) @php // Filter buttons: the curated category order, limited to categories that // actually have a published project (plus any legacy free-text category). $used = $projects->pluck('category')->filter(fn ($c) => trim((string) $c) !== '')->unique()->values(); $categories = collect(\App\Models\Project::CATEGORIES)->filter(fn ($c) => $used->contains($c)) ->concat($used->reject(fn ($c) => in_array($c, \App\Models\Project::CATEGORIES, true))) ->values(); @endphp
{{-- Shown by JS only when the visitor arrived from the home page, so they can hop back to the exact « Selected works » section they came from. --}}

· Gallery

Our know-how through our achievements.

@if ($categories->isNotEmpty()) @endif
@if ($projects->isEmpty())

The first achievements are coming soon.

@else
@foreach ($projects as $project) @php($tileFocus = in_array($project->cover_focus, ['top', 'bottom'], true) ? $project->cover_focus : 'center')
@if ($project->category)

{{ $project->category }}

@endif

{{ $project->title }}

@if (collect([$project->location, $project->year])->filter()->isNotEmpty())

{{ collect([$project->location, $project->year])->filter()->implode(' · ') }}

@endif
@endforeach
@endif @include('public.partials.footer')