ldc-groupe/resources/views/front/pages/join-us.blade.php
2026-01-12 09:36:05 +01:00

60 lines
1.5 KiB
PHP

@extends('front.layouts.layout')
@section('title', $dynamicPageModel->content['string_seo_title'])
@section('description', $dynamicPageModel->content['string_description_seo'])
@section('content')
@php
$content = $dynamicPageModel->content;
$getSection = fn($key) => $content[$key][0] ?? null;
@endphp
@php $section = $getSection('list_our_jobs'); @endphp
@if($section)
<x-front.pages.join-us.our-professions
:professions="$section"
/>
@endif
@php $section = $getSection('list_your_career'); @endphp
@if($section)
<x-front.pages.join-us.your-career
:career="$section"
/>
@endif
@php $section = $getSection('list_our_politics'); @endphp
@if($section)
<x-front.pages.join-us.our-politics
:politics="$section"
/>
@endif
@php $section = $getSection('list_your_well_being'); @endphp
@if($section)
<x-front.pages.join-us.your-well-being
:wellBeing="$section"
/>
@endif
@php $section = $getSection('list_our_events'); @endphp
@if($section)
<x-front.pages.join-us.our-events
:events="$section"
/>
@endif
@php $section = $getSection('list_schools'); @endphp
@if($section)
<x-front.pages.join-us.visit-us
:visitUs="$section"
/>
@endif
@php $section = $getSection('list_breeders'); @endphp
@if($section)
<x-front.pages.join-us.join-us
:joinUs="$section"
/>
@endif
@endsection