@if ($project->cover) @endif @include('public.partials.header', [ 'activeGroup' => null, 'activeSlug' => 'gallery', 'isStatic' => true, 'showBack' => true, 'anchorPrefix' => '/', ]) @php($focus = in_array($project->cover_focus, ['top', 'bottom'], true) ? $project->cover_focus : 'center') @if ($project->header_style === 'banner') {{-- Bandeau: title on a dark background, no photo --}}
@if ($project->metaLine() !== '')

{{ $project->metaLine() }}

@endif

{{ $project->title }}

@elseif ($project->header_style === 'editorial') {{-- Éditorial: light header, framed cover below --}}
@if ($project->metaLine() !== '')

{{ $project->metaLine() }}

@endif

{{ $project->title }}

@if ($project->cover)
{{ $project->title }}
@endif
@else {{-- Immersif: full-bleed cover, title over it. Without a cover yet (fiche just created), fall back to the clean dark banner look. --}} @php($coverUrl = media_url($project->cover))
@if ($coverUrl !== '')
@endif
@if ($project->metaLine() !== '')

{{ $project->metaLine() }}

@endif

{{ $project->title }}

@endif
@if (trim((string) $project->excerpt) !== '')

{{ $project->excerpt }}

@endif @if ($project->bodyParagraphs() !== [])
@foreach ($project->bodyParagraphs() as $paragraph)

{!! nl2br(e($paragraph)) !!}

@endforeach
@endif @if (trim((string) $project->quote) !== '')
« {{ $project->quote }} »
@if (trim((string) $project->quote_author) !== '') {{ $project->quote_author }} @endif
@endif @if ($project->detailRows() !== [])
@foreach ($project->detailRows() as $row)
{{ $row['label'] }}
{{ $row['value'] }}
@endforeach
@endif @php($orderedPhotos = $project->orderedPhotos()) @if ($orderedPhotos->isNotEmpty()) @php($layout = in_array($project->photo_layout, ['columns', 'full'], true) ? $project->photo_layout : 'mosaic')
@foreach ($orderedPhotos as $photo)
{{ $photo->caption ?: $project->title }} @if ($photo->caption)
{{ $photo->caption }}
@endif
@endforeach
@endif
All achievements A project? Write to the Atelier
@if ($prev || $next) @endif
{{-- Lightbox: click a photo to view it full screen (Esc / arrows / click to close) --}} @include('public.partials.footer')