@props([ 'project', 'index' => null, // project number shown in the technical corner label 'featured' => false, // wide editorial treatment ]) {{-- Project card (SOW 4.3). Architectural editorial treatment: image, project number, sector, then the technical metadata an engineering audience scans for — client, location, duration, status. --}}
$featured, ]) data-reveal-child> $featured]) tabindex="-1" aria-hidden="true"> @if ($index !== null) {{ str_pad((string) $index, 2, '0', STR_PAD_LEFT) }} @endif @if ($project->is_flagship) {{ __('Flagship') }} @endif
@if ($project->sector) {{ $project->sector->name }} @endif $project->status === \App\Models\Project::STATUS_ONGOING, 'pill-success' => $project->status === \App\Models\Project::STATUS_COMPLETED, ])> {{ $project->statusLabel() }}

$featured, 'text-lg' => ! $featured])> {{ $project->title }}

@if ($project->short_description)

{{ $project->short_description }}

@endif
@foreach ([ __('Client') => $project->client_name ?: $project->funding_agency, __('Location') => $project->locationLabel(), __('Duration') => $project->durationLabel(), __('Sector') => $featured ? $project->sector?->name : null, ] as $label => $value) @if (filled($value))
{{ $label }}
{{ $value }}
@endif @endforeach