@extends('fo.layout') @section('title', $staticPageModel->seo_title) @section('description', $staticPageModel->seo_description) @section('breadcrumb', request()->route()->getName()) @section('banner') @include('fo.layouts.banner', [ 'h1' => __($staticPageModel->title), 'asset' => asset($staticPageModel->picture), 'title' => __($staticPageModel->picture_title), 'alt' => __($staticPageModel->picture_alt), 'displayArrow' => true, 'buttonLink' => '#introduction', ]) @endsection @section('content')
@if ($navLinks->count()) @endif {{-- AMBITION --}}

{{ $ambitionSection->h2_title }}

@if ($ambitionSection->text)
{!! clean($ambitionSection->text) !!}
@endif
{{-- BREEDING --}}

{{ $breedingSection->h2_title }}

@if ($breedingSection->text)
{!! clean($breedingSection->text) !!}
@endif
@include('fo.partials.key-number', [ 'color' => 'tertiary', 'value' => sprintf('%d%%', $breedingSection->data['bloc_key_nombre']['value']), 'text' => clean($breedingSection->data['bloc_text_accompagnant_le_nombre_content']['value']), 'wysiwyg' => true, 'position' => 'top', ])
{!! clean($breedingSection->data['bloc_images_content']['value']) !!} @if ($breedingSection->data['bloc_button_on_temoigne_engagements']['value']) {{ __('On témoigne') }} @endif
{{ __('Illustration représentant un éleveur et ses volailles') }}

{{ __('Faîtes vous votre avis vous-même') }}

{{-- LIFE --}}

{{ $lifeSection->h2_title }}

{{ __('Illustration représentant la communacation dasn un groupe') }}
@if ($lifeSection->text)
{!! clean($lifeSection->text) !!}
@endif
@include('fo.partials.key-number', [ 'color' => 'quad', 'value' => sprintf('%d%%', $lifeSection->data['bloc_key_nombre_n1']['value']), 'text' => clean($lifeSection->data['bloc_text_accompagnant_le_nombre_n1_content']['value']), 'wysiwyg' => true, 'position' => 'top', ])
@include('fo.partials.key-number', [ 'color' => 'quad', 'value' => sprintf('%d%%', $lifeSection->data['bloc_key_nombre_n2']['value']), 'text' => clean($lifeSection->data['bloc_text_accompagnant_le_nombre_n2_content']['value']), 'wysiwyg' => true, 'position' => 'top', ])
@if ($lifeSection->data['bloc_button_on_temoigne_engagements']['value']) @endif
{!! clean($lifeSection->data['bloc_numero2_content']['value']) !!}
@foreach ($slideLifeModels as $slide)
{{ $slide->picture_alt }}
@endforeach
@if ($lifeSection->data['bloc_button_on_bouge']['value']) @endif
{{-- EARTH --}}

{{ $earthSection->h2_title }}

@if ($earthSection->text)
{!! clean($earthSection->text) !!}
@endif
@include('fo.partials.key-number', [ 'color' => 'quint', 'value' => sprintf('%d%%', $earthSection->data['bloc_key_nombre_n1']['value']), 'text' => clean($earthSection->data['bloc_text_accompagnant_le_nombre_n1_content']['value']), 'wysiwyg' => true, 'position' => 'top', ])
@include('fo.partials.key-number', [ 'color' => 'quint', 'value' => sprintf('%d%%', $earthSection->data['bloc_key_nombre_n2']['value']), 'text' => clean($earthSection->data['bloc_text_accompagnant_le_nombre_n2_content']['value']), 'wysiwyg' => true, 'position' => 'top', ])
@if ($earthSection->data['bloc_button_on_temoigne_engagements']['value']) @endif
{{ __('Illustration représentant la nature avec des arbres et des champs') }}
@foreach ($slideEarthModels as $slide)
{{ $slide->picture_alt }}
@endforeach
{{ $earthSection->data['bloc_image']['alt'] }}
{!! clean($earthSection->data['bloc_numero2_content']['value']) !!}
{{-- FEED --}}

{{ $feedSection->h2_title }}

{{ __('Illustration d\'une femme et d\'un enfant mangeant un délicieux repas') }}
@if ($feedSection->text)
{!! clean($feedSection->text) !!}
@endif
@include('fo.partials.key-number', [ 'color' => 'sixt', 'value' => sprintf('%d%%', $feedSection->data['bloc_key_nombre_n1']['value']), 'text' => clean($feedSection->data['bloc_text_accompagnant_le_nombre_n1_content']['value']), 'wysiwyg' => true, 'position' => 'top', ])
@include('fo.partials.key-number', [ 'color' => 'sixt', 'value' => sprintf('%d%%', $feedSection->data['bloc_key_nombre_n2']['value']), 'text' => clean($feedSection->data['bloc_text_accompagnant_le_nombre_n2_content']['value']), 'wysiwyg' => true, 'position' => 'top', ])
@if ($feedSection->data['bloc_button_on_temoigne_engagements']['value']) @endif
{!! clean($feedSection->data['bloc_numero2_content']['value']) !!}
{!! clean($feedSection->data['bloc_numero3_content']['value']) !!}
@if ($feedSection->data['bloc_button_on_produit']['value']) @endif
{{-- TESTIMONIALS --}}

{{ $testimonialsSection->h2_title }}

{{ $testimonialsSection->data['bloc_string_titre_h3_de_la_section_numero1']['value'] }}

{{-- SLIDER TESTIMONIALS --}}
@foreach ($testimonialModels as $testimonial)
@include('fo.partials.testimonials.card', [ 'picture' => [ 'path' => $testimonial->picture, 'alt' => $testimonial->picture_alt, 'title' => $testimonial->picture_title, ], 'job' => $testimonial->job, 'name' => $testimonial->name, 'speach' => $testimonial->content, 'bgClass' => 'bg-' . $testimonial->type->color(), 'jobClass' => 'text-white', 'nameClass' => 'text-white', 'speachClass' => 'text-white', ])
@endforeach

{{ $testimonialsSection->data['bloc_string_titre_h3_de_la_section_numero2']['value'] }}

@if ($testimonialsSection->text)
{!! clean($testimonialsSection->text) !!}
@endif
@endsection