@foreach ($sections as $sectionKey) @if ($sectionKey === 'hero')
@if (($page['hero']['media_path'] ?? null) || ($settings['hero'] ?? null)) {{ $page['hero']['title'] }} @else @endif
@endif @if ($sectionKey === 'intro')

{{ $settings['copy']['home_company_kicker'] ?? 'L’entreprise' }}

{{ $page['intro']['title'] }}

{{ $page['intro']['body'] }}

{{ $settings['copy']['home_about_cta'] ?? 'En savoir plus' }}
@if ($page['intro']['media_path'] ?? null) {{ $page['intro']['title'] }} @else

{{ $settings['copy']['home_visual_notice'] ?? 'Visuels institutionnels officiels à venir.' }}

@endif
@endif @if ($sectionKey === 'products_section')
@foreach ($products as $product) @endforeach
@endif @if ($sectionKey === 'production')
@if ($page['production']['media_path'] ?? null) {{ $page['production']['title'] }} @else {{ $settings['copy']['home_production_visual_notice'] ?? 'Photographies officielles à venir' }} @endif

{{ $settings['copy']['home_activity_kicker'] ?? 'Notre activité' }}

{{ $page['production']['title'] }}

{{ $page['production']['body'] }}

{{ $settings['copy']['home_activity_cta'] ?? 'Découvrir l’entreprise' }}
@endif @if ($sectionKey === 'commitments' && count($page['commitments']['items']))
@foreach ($page['commitments']['items'] as $item)

{{ $item['title'] }}

{{ $item['body'] }}

@endforeach
@endif @if ($sectionKey === 'news_section')
@if ($articles->isEmpty()) @else
@foreach ($articles as $article) @endforeach
@endif
@endif @if ($sectionKey === 'gallery_section') @endif @if ($sectionKey === 'newsletter_section')
@endif @if ($sectionKey === 'contact_section')

{{ $page['contact_section']['title'] }}

{{ $page['contact_section']['intro'] }}

Nous contacter
@endif @endforeach