@extends('front.layouts.layout') @section('title', data_get($dynamicPageModel->content, 'string_seo_title')) @section('description', data_get($dynamicPageModel->content, 'textarea_seo_description')) @section('content') @php $content = $dynamicPageModel->content; $getSection = fn($key) => $content[$key][0] ?? null; $getAnchor = fn($section) => Str::slug($section['string_title'] ?? ''); @endphp {{-- KEY FIGURES --}} @php $section = $getSection('list_section_key_figures'); @endphp @if($section) @endif {{-- HISTORICAL --}} @php $section = $getSection('list_section_our_history'); @endphp @if($section) @endif {{-- PROJECT --}} @php $section = $getSection('list_section_our_project'); $ourProject = $section ? [ 'title' => $section['string_title'], 'subtitle' => $section['string_subtitle'], 'text' => $section['wysiwyg_content'], ] : null; @endphp @if($section) @endif {{-- VALUES --}} @php $section = $getSection('list_section_our_values'); @endphp @if($section) @endif {{-- GOVERNANCE --}} @php $section = $getSection('list_section_our_governance'); @endphp @if($section) @endif {{-- ORGANIZATION --}} @php $section = $getSection('list_section_our_organization'); @endphp @if($section) @endif {{-- IMPLANTATIONS --}} @php $section = $getSection('list_section_our_implantations'); @endphp @if($section) @endif @endsection