fix: Updated anchor links in banners

This commit is contained in:
Noah Lancien 2024-07-26 10:41:29 +02:00
parent 5ddbae8889
commit 374f84c0d3
2 changed files with 57 additions and 57 deletions

View file

@ -11,7 +11,7 @@
'title' => __('Paysage d\'un champs de blé au soleil couchant avec une lisière en fond de tableau'),
'alt' => __('Image de fond'),
'displayArrow' => true,
'buttonLink' => '#listen',
'buttonLink' => '#local',
])
@endsection
@ -51,20 +51,20 @@
{!! clean($gmsSection->text) !!}
</div>
</div> --}}
{{-- PART 1 --}}
{{-- @include('fo.pages.produce.banner-elements', [
{{-- PART 1 --}}
{{-- @include('fo.pages.produce.banner-elements', [
'partName' => 'de_la_partie1',
'data' => $gmsSection->data,
'itemMax' => 3,
]) --}}
{{-- PART 2 --}}
{{-- @include('fo.pages.produce.banner-elements', [
{{-- PART 2 --}}
{{-- @include('fo.pages.produce.banner-elements', [
'partName' => 'de_la_partie2',
'data' => $gmsSection->data,
'itemMax' => 3,
]) --}}
{{-- PART 3 --}}
{{-- @include('fo.pages.produce.banner-elements', [
{{-- PART 3 --}}
{{-- @include('fo.pages.produce.banner-elements', [
'partName' => 'de_la_partie3',
'data' => $gmsSection->data,
'itemMax' => 1,
@ -79,8 +79,8 @@
<div class="container text-center">
<h2 class="fw-bold text-primary mb-3">{{ $rhdSection->h2_title }}</h2>
<div class="row justify-content-center"> --}}
{{-- PART 1 --}}
{{-- @include('fo.pages.produce.banner-elements', [
{{-- PART 1 --}}
{{-- @include('fo.pages.produce.banner-elements', [
'partName' => 'de_la_partie1',
'data' => $rhdSection->data,
'itemMax' => 10,
@ -93,8 +93,8 @@
<div class="col-md-8 mb-3">
<button class="btn btn-primary rounded-pill">{{ __('LDC restauration') }}</button>
</div> --}}
{{-- PART 2 --}}
{{-- <div class="col-md-8 mb-3">
{{-- PART 2 --}}
{{-- <div class="col-md-8 mb-3">
<div class="row w-100 bg-nine rounded-4 mx-auto p-4">
<div class="col-4 d-none d-md-flex flex-column justify-content-center align-items-start">
<h3 class="h3 text-primary fw-bold text-uppercase m-0">{{ __('le saviez-vous ?') }}</h3>
@ -134,12 +134,12 @@
</section> --}}
{{-- QUALITY --}}
{{-- <section class="border-top-curved-upper-primary"> --}}
<div class="overflow-hidden bg-white pb-5">
<div class="container">
<div class="row justify-content-center gx-5">
<div class="col-md-8 mb-3 text-center">
<h2 class="fw-bold mb-3">{{ $qualitySection->h2_title }}</h2>
{{-- @include('fo.pages.produce.banner-elements', [
<div class="overflow-hidden bg-white pb-5">
<div class="container">
<div class="row justify-content-center gx-5">
<div class="col-md-8 mb-3 text-center">
<h2 class="fw-bold mb-3">{{ $qualitySection->h2_title }}</h2>
{{-- @include('fo.pages.produce.banner-elements', [
'partName' => 'de_la_partie1',
'data' => $qualitySection->data,
'itemMax' => 1,
@ -149,49 +149,49 @@
<a class="btn btn-primary rounded-pill mt-3" href="https://www.etiquettebienetreanimal.fr/"
target="_blank">{{ __('On vous explique comment lire cette étiquette') }}</a>
@endif --}}
</div>
<div class="col-md-8 mb-3 text-center">
<div class="bg-tertiary-light rounded-4 my-3 p-4">
<div class="ck-content">{!! clean($qualitySection->data['bloc_text_de_la_partie2_content']['value']) !!}</div>
<div class="d-flex justify-content-center align-items-center mt-3">
<img class="img-fluid" src="{{ $qualitySection->data['bloc_image_de_la_partie2_content']['value'] }}"
title="{{ $qualitySection->data['bloc_image_de_la_partie2_content']['title'] }}"
alt="{{ $qualitySection->data['bloc_image_de_la_partie2_content']['alt'] }}">
</div>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-4 my-3">
<div class="bg-sixt-light rounded-2 h-100 d-flex flex-column justify-content-between px-3 py-4 text-center">
<div class="ck-content">
{!! $qualitySection->data['bloc_accompagnant_le_bouton_on_vousecoute_content']['value'] !!}
</div>
@if ($qualitySection->data['bloc_button__on_vousecoute']['value'])
<div>
<a class="btn btn-primary rounded-pill rounded-2 mt-3" href="{{ route('fo.listen.show') }}">
{{ __('On vous écoute') }}
</a>
</div>
@endif
</div>
</div>
<div class="col-md-4 my-3">
<div class="bg-quint-light rounded-2 h-100 d-flex flex-column justify-content-between px-3 py-4 text-center">
<div class="ck-content">
{!! $qualitySection->data['bloc_accompagnant_le_bouton_on_se_devoile_content']['value'] !!}
</div>
@if ($qualitySection->data['bloc_button__on_se_devoile']['value'])
<div>
<a class="btn btn-primary rounded-pill rounded-2 mt-3" href="{{ route('fo.unveil.show') }}">
{{ __('On se dévoile') }}
</a>
</div>
@endif
<div class="col-md-8 mb-3 text-center">
<div class="bg-tertiary-light rounded-4 my-3 p-4">
<div class="ck-content">{!! clean($qualitySection->data['bloc_text_de_la_partie2_content']['value']) !!}</div>
<div class="d-flex justify-content-center align-items-center mt-3">
<img class="img-fluid" src="{{ $qualitySection->data['bloc_image_de_la_partie2_content']['value'] }}"
title="{{ $qualitySection->data['bloc_image_de_la_partie2_content']['title'] }}"
alt="{{ $qualitySection->data['bloc_image_de_la_partie2_content']['alt'] }}">
</div>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-4 my-3">
<div class="bg-sixt-light rounded-2 h-100 d-flex flex-column justify-content-between px-3 py-4 text-center">
<div class="ck-content">
{!! $qualitySection->data['bloc_accompagnant_le_bouton_on_vousecoute_content']['value'] !!}
</div>
@if ($qualitySection->data['bloc_button__on_vousecoute']['value'])
<div>
<a class="btn btn-primary rounded-pill rounded-2 mt-3" href="{{ route('fo.listen.show') }}">
{{ __('On vous écoute') }}
</a>
</div>
@endif
</div>
</div>
<div class="col-md-4 my-3">
<div class="bg-quint-light rounded-2 h-100 d-flex flex-column justify-content-between px-3 py-4 text-center">
<div class="ck-content">
{!! $qualitySection->data['bloc_accompagnant_le_bouton_on_se_devoile_content']['value'] !!}
</div>
@if ($qualitySection->data['bloc_button__on_se_devoile']['value'])
<div>
<a class="btn btn-primary rounded-pill rounded-2 mt-3" href="{{ route('fo.unveil.show') }}">
{{ __('On se dévoile') }}
</a>
</div>
@endif
</div>
</div>
</div>
</div>
</div>
{{-- </section> --}}
@endsection

View file

@ -11,14 +11,14 @@
'title' => __('Paysage d\'un champs de blé au soleil couchant avec une lisière en fond de tableau'),
'alt' => __('Image de fond'),
'displayArrow' => true,
'buttonLink' => '#missions',
'buttonLink' => '#key-numbers',
])
@endsection
@section('content')
<section class="unveil">
{{-- KEY NUMBERS --}}
<section class="key-numbers my-5">
<section class="key-numbers my-5" id="key-numbers">
<div class="container">
<div class="row">
<div class="col-12">