diff --git a/resources/views/fo/layouts/header-banner.blade.php b/resources/views/fo/layouts/header-banner.blade.php index f8127673..b2dc34ad 100644 --- a/resources/views/fo/layouts/header-banner.blade.php +++ b/resources/views/fo/layouts/header-banner.blade.php @@ -20,8 +20,10 @@ @endif
{!! clean($staticPageModel->content) !!}
+ @if (isset($content) && !empty($content)) +{!! clean($content) !!}
+ @else +{!! clean($staticPageModel->subtitle) !!}
@endif diff --git a/resources/views/fo/pages/commitments/brand.blade.php b/resources/views/fo/pages/commitments/brand.blade.php index 0bf5ef8e..e0bbd3ee 100644 --- a/resources/views/fo/pages/commitments/brand.blade.php +++ b/resources/views/fo/pages/commitments/brand.blade.php @@ -55,6 +55,7 @@ 'picto_alt' => __($staticPageModel->picture_alt), 'picto_title' => __($staticPageModel->picture_title), 'picto_baner' => $staticPageModel->data['picto_banner'], + 'content' => $staticPageModel->content ]) {{-- PARAGRAPH WITH PICTURE --}} @if ($section_2_model->visibility) diff --git a/resources/views/fo/pages/commitments/eat.blade.php b/resources/views/fo/pages/commitments/eat.blade.php index d8565bfc..61dd7591 100644 --- a/resources/views/fo/pages/commitments/eat.blade.php +++ b/resources/views/fo/pages/commitments/eat.blade.php @@ -65,6 +65,7 @@ 'picto_alt' => __($staticPageModel->picture_alt), 'picto_title' => __($staticPageModel->picture_title), 'picto_baner' => $staticPageModel->data['picto_banner'], + 'content' => $staticPageModel->content ]) {{-- TAB-TEXTS --}} @php diff --git a/resources/views/fo/pages/commitments/life.blade.php b/resources/views/fo/pages/commitments/life.blade.php index 45753140..d2b80713 100644 --- a/resources/views/fo/pages/commitments/life.blade.php +++ b/resources/views/fo/pages/commitments/life.blade.php @@ -34,6 +34,7 @@ 'picto_alt' => __($staticPageModel->picture_alt), 'picto_title' => __($staticPageModel->picture_title), 'picto_baner' => $staticPageModel->data['picto_banner'], + 'content' => $staticPageModel->content ]) {{-- PARAGRAPH WITH PICTURE --}} @if ($section_2_model->visibility) diff --git a/resources/views/fo/pages/commitments/raise.blade.php b/resources/views/fo/pages/commitments/raise.blade.php index 359028d7..c98166fa 100644 --- a/resources/views/fo/pages/commitments/raise.blade.php +++ b/resources/views/fo/pages/commitments/raise.blade.php @@ -65,6 +65,7 @@ 'picto_alt' => __($staticPageModel->picture_alt), 'picto_title' => __($staticPageModel->picture_title), 'picto_baner' => $staticPageModel->data['picto_banner'], + 'content' => $staticPageModel->content ]) {{-- PARAGRAPH WITH PICTURE --}} @if ($section_2_model->visibility) diff --git a/resources/views/fo/pages/commitments/respect.blade.php b/resources/views/fo/pages/commitments/respect.blade.php index 3b33811d..eed39c16 100644 --- a/resources/views/fo/pages/commitments/respect.blade.php +++ b/resources/views/fo/pages/commitments/respect.blade.php @@ -37,6 +37,7 @@ 'picto_alt' => __($staticPageModel->picture_alt), 'picto_title' => __($staticPageModel->picture_title), 'picto_baner' => $staticPageModel->data['picto_banner'], + 'content' => $staticPageModel->content ]) {{-- PARAGRAPH WITH VISUAL AND COMPLEX ITEMS --}}