diff --git a/lang/fr/front.php b/lang/fr/front.php index ee14ef42..5ad68cbd 100644 --- a/lang/fr/front.php +++ b/lang/fr/front.php @@ -11,5 +11,6 @@ return [ "elever-durablement" => "élever durablement", "mieux-vivre-ensemble" => "mieux vivre ensemble", "respecter-la-terre" => "respecter la terre", - "bien-nourrir" => "bien nourrir" + "bien-nourrir" => "bien nourrir", + "actualites.index" => "actualités" ]; diff --git a/resources/views/components/front/sections/news.blade.php b/resources/views/components/front/sections/news.blade.php new file mode 100644 index 00000000..9cc811ff --- /dev/null +++ b/resources/views/components/front/sections/news.blade.php @@ -0,0 +1,27 @@ +@if(!empty($post)) +
+
+ {{ isset($post['alt']) ? $post['alt'] : '' }} + @include('front.partials.borders', [ + 'borders' => !empty($post['image_borders']) ? $post['image_borders'] : [], + ]) +
+
+ @if (isset($post['tag'])) +
+
{{ $post['tag'] }}
+
+ @endif +
{{ $post['subtitle'] }}
+
{{ $post['date'] }}
+
+ @if (isset($post['type_button'])) + + @else + + Lire l'article + + @endif +
+
+@endif diff --git a/resources/views/front/layouts/header.blade.php b/resources/views/front/layouts/header.blade.php index f47e9242..bb4ba8a3 100644 --- a/resources/views/front/layouts/header.blade.php +++ b/resources/views/front/layouts/header.blade.php @@ -313,7 +313,7 @@