From 374f84c0d3f90e427ddf0e4592d50a3a65abcfe2 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Fri, 26 Jul 2024 10:41:29 +0200 Subject: [PATCH] fix: Updated anchor links in banners --- .../views/fo/pages/produce/show.blade.php | 110 +++++++++--------- resources/views/fo/pages/unveil.blade.php | 4 +- 2 files changed, 57 insertions(+), 57 deletions(-) diff --git a/resources/views/fo/pages/produce/show.blade.php b/resources/views/fo/pages/produce/show.blade.php index 4ebe4b8..83c5937 100644 --- a/resources/views/fo/pages/produce/show.blade.php +++ b/resources/views/fo/pages/produce/show.blade.php @@ -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) !!} --}} - {{-- 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 @@

{{ $rhdSection->h2_title }}

--}} - {{-- 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 @@
--}} - {{-- PART 2 --}} - {{--
+ {{-- PART 2 --}} + {{--

{{ __('le saviez-vous ?') }}

@@ -134,12 +134,12 @@ --}} {{-- QUALITY --}} {{--
--}} -
-
-
-
-

{{ $qualitySection->h2_title }}

- {{-- @include('fo.pages.produce.banner-elements', [ +
+
+
+
+

{{ $qualitySection->h2_title }}

+ {{-- @include('fo.pages.produce.banner-elements', [ 'partName' => 'de_la_partie1', 'data' => $qualitySection->data, 'itemMax' => 1, @@ -149,49 +149,49 @@ {{ __('On vous explique comment lire cette étiquette') }} @endif --}} -
-
-
-
{!! clean($qualitySection->data['bloc_text_de_la_partie2_content']['value']) !!}
-
- {{ $qualitySection->data['bloc_image_de_la_partie2_content']['alt'] }} -
-
-
-
-
-
-
- {!! $qualitySection->data['bloc_accompagnant_le_bouton_on_vousecoute_content']['value'] !!} -
- @if ($qualitySection->data['bloc_button__on_vousecoute']['value']) - - @endif -
-
-
-
-
- {!! $qualitySection->data['bloc_accompagnant_le_bouton_on_se_devoile_content']['value'] !!} -
- @if ($qualitySection->data['bloc_button__on_se_devoile']['value']) - - @endif +
+
+
{!! clean($qualitySection->data['bloc_text_de_la_partie2_content']['value']) !!}
+
+ {{ $qualitySection->data['bloc_image_de_la_partie2_content']['alt'] }}
+
+
+
+
+ {!! $qualitySection->data['bloc_accompagnant_le_bouton_on_vousecoute_content']['value'] !!} +
+ @if ($qualitySection->data['bloc_button__on_vousecoute']['value']) + + @endif +
+
+
+
+
+ {!! $qualitySection->data['bloc_accompagnant_le_bouton_on_se_devoile_content']['value'] !!} +
+ @if ($qualitySection->data['bloc_button__on_se_devoile']['value']) + + @endif +
+
+
+
{{--
--}} @endsection diff --git a/resources/views/fo/pages/unveil.blade.php b/resources/views/fo/pages/unveil.blade.php index 476315d..b18fd96 100644 --- a/resources/views/fo/pages/unveil.blade.php +++ b/resources/views/fo/pages/unveil.blade.php @@ -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')
{{-- KEY NUMBERS --}} -
+