@foreach (LaravelLocalization::getSupportedLanguagesKeys() as $localeCode) @if (!$loop->first) / @endif @php $url = \App\Helpers\RouteHelper::getLocalizedUrl($localeCode); @endphp {{ strtoupper($localeCode) }} @endforeach
@if (isset($pageNousConnaitre))
@php $sections = [ 'list_section_key_figures', 'list_section_our_history', 'list_section_our_project', 'list_section_our_values', 'list_section_our_governance', 'list_section_our_organization', ]; @endphp
    @if(array_intersect($sections, array_keys($pageNousConnaitre->content))) @foreach ($sections as $key => $item) @if (array_key_exists($item, $pageNousConnaitre->content)) @php $title = $pageNousConnaitre->content[$item][0]['string_title']; @endphp
  • {{ $title }}
  • @endif @endforeach @endif @php $nousConnaitreChildPages = $pageNousConnaitre->childPages->where('status', \App\Enums\DynamicPages\PageStatusEnum::published); @endphp @if ($nousConnaitreChildPages->count()) @foreach ($nousConnaitreChildPages as $key => $nousConnaitreChildPage)
  • {{ $nousConnaitreChildPage->title }}
  • @endforeach @endif
@endif @if (isset($pageNosEngagements))
@php $sections = [ 'list_section_our_commitments', 'list_section_our_strategy', 'list_section_our_ecosystem', 'list_section_our_governance', 'list_section_business_ethics', ]; @endphp
    @if(array_intersect($sections, array_keys($pageNosEngagements->content))) @foreach ($sections as $key => $item) @if (array_key_exists($item, array_keys($pageNosEngagements->content))) @php $title = $pageNosEngagements->content[$item][0]['string_title']; @endphp
  • {{ $title }}
  • @endif @endforeach @endif @php $nosEngagementsChildPages = $pageNosEngagements->childPages->where('status', \App\Enums\DynamicPages\PageStatusEnum::published); @endphp @if ($nosEngagementsChildPages->count()) @foreach ($nosEngagementsChildPages as $key => $nosEngagementsChildPage)
  • {{ $nosEngagementsChildPage->title }}
  • @endforeach @endif
@endif @if (isset($pageNousRejoindre))
@php $pageNousRejoindreName = sprintf('front.dynamic-pages.%s', $pageNousRejoindre->id_key); $sections = [ 'list_our_jobs', 'list_your_career', 'list_our_politics', 'list_your_well_being', 'list_our_events', 'list_schools', 'list_breeders', ]; @endphp
    @foreach ($sections as $key => $item) @php $pageNousRejoindreSection = $pageNousRejoindre->content[$item]; @endphp @if ($pageNousRejoindreSection) @php $title = $pageNousRejoindreSection[0]['string_title']; $subtitle = $pageNousRejoindreSection[0]['string_subtitle']; @endphp
  • {{ Str::ucfirst(Str::lower($title) . ' ' . Str::lower($subtitle)) }}
  • @endif @endforeach
@endif
@if (isset($pageFinance))
@php $pageFinanceName = sprintf('front.dynamic-pages.%s', $pageFinance->id_key); $sections = [ 'list_agir_avec_territoires', 'list_action_ldc', 'list_shareholders_area', 'list_investissor_presentation', 'list_key_numbers', 'list_publication_information', 'list_assemble', ]; @endphp
@endif