ldc-groupe/resources/views/front/pages/news.blade.php
2026-01-13 11:14:47 +01:00

19 lines
727 B
PHP

@extends('front.layouts.layout')
@section('title', $dynamicPageModel->content['string_seo_title'])
@section('description', $dynamicPageModel->content['textarea_seo_description'])
@section('bodyClass', 'archive category category-news category-9')
@section('content')
@php
$postContainer = [
'secondaryClass' => 'fw-container no-bottom-padding',
'tertiaryClass' => 'tagged-posts',
'slug' => 'news',
'load_more' => ucfirst(__('front.buttons.see_more_news')),
'category' => \App\Models\NewsCategory::where('slug->fr', 'actualites')->first()?->slug ?? '',
];
@endphp
<x-front.posts.posts-index :postContainer="$postContainer" />
@endsection