@php $output = !empty($page->seo_description) ? $page->seo_description : $page->capture_block; @endphp @extends('layouts.frontend' , [ 'seo_image' => !empty($page->cover) ? Voyager::image($page->cover) : asset('images/pages/default.jpg') ]) @section('page.seo') {{!empty($page->seo_title) ? $page->seo_title : $page->getTranslatedAttribute('title', app()->getLocale(), 'fr')}} @endsection @section('content') {{-- @auth Edit @endauth --}} @php $breadcrumbs = collect(); $breadcrumbs->add([ 'name' => $page->getTranslatedAttribute('title', app()->getLocale(), 'fr') ]); @endphp @include('partials.page-title', [ $breadcrumbs, 'data_banner' => [ 'image' => !empty($page->cover) ? Voyager::image($page->cover) : Vite::asset('resources/images/tax-slide.jpg'), 'title' => $page->getTranslatedAttribute('title_block', app()->getLocale(), 'fr'), 'subtitle' => '', ] ]) @php $sections = $page->sections()->active()->orderBy('order')->get(); @endphp @foreach ($sections as $section)
{{-- @if(!empty($section->title))

{{ $section->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}

@endif --}}
@if ($loop->first)

Accueil > {{ $page->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}

@endif @if($section->type == 'img-left')
{{ $section->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}
{{--
{{ $section->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}
--}}
@endif
@if ($loop->first)

Accueil > {{ $page->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}

@endif

{{ $section->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}

@php $output = filterStyleAttributes($section->getTranslatedAttribute('content', app()->getLocale(), 'fr')); @endphp {!! $output !!}
@if($section->type == 'img-right')
{{ $section->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}
{{--
{{ $section->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}
--}}
@endif
@endforeach @if ($page->type == "actualite")

Insights

@include('frontend.actualite.index', [ 'type' => "" ]) {{--

Insights / Nos événements

--}} {{-- @include('frontend.actualite.index', [ 'type' => "" ]) --}} {{-- @include('frontend.evenements.index', [ 'type' => "prochains_seminaires" ]) --}} @endif @if ($page->type == "carrieres")

Nos dernières offres d'emploi

{{--
Dans le cadre de notre stratégie de développement, nous recrutons les profils suivants :
--}}
@include('frontend.carrieres.index') {{--

Candidature spontanée

Rejoignez-nous
@include('frontend.carrieres.form') --}}
{{--

Candidature spontanée

--}}
@endif @if ($page->type == "institute")

Prochains séminaires de formation

@include('frontend.evenements.index', [ 'type' => "prochains_seminaires" ])

Précédents séminaires de formation

@include('frontend.evenements.index', [ 'type' => "seminaires" ]) @endif @endsection @push('scripts') @endpush