27 lines
1.2 KiB
PHP
27 lines
1.2 KiB
PHP
@php
|
|
$postContainer = [
|
|
'class' => 'posts',
|
|
'secondaryClass' => 'filter_doc',
|
|
'slug' => 'docs',
|
|
'category' => \App\Models\DocumentCategory::where('slug->fr', 'documents')->first()?->slug ?? '',
|
|
'load_more' => ucfirst(__('front.buttons.see_more_docs')),
|
|
];
|
|
@endphp
|
|
|
|
<div id="{{ data_get($data, 'string_title') ? Str::slug(data_get($data, 'string_title')) : '' }}">
|
|
<div class="publications fw fw-container gray-bg">
|
|
<div class="textblock fw fw-container no-top-padding no-bottom-padding">
|
|
<div class="textblock__wrapper wrapper">
|
|
<x-front.sections.title title="{{ $data['string_title'] }}" subtitle="{{ $data['string_subtitle'] }}" />
|
|
<div class="textblock__container">
|
|
<div class="textblock__info textblock__block">
|
|
<div class="textblock__info-description description">
|
|
<p>{{ $data['string_content'] }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<x-front.posts.posts-index :postContainer="$postContainer" />
|
|
</div>
|
|
</div>
|