30 lines
1.3 KiB
PHP
30 lines
1.3 KiB
PHP
@php
|
|
$postContainer = [
|
|
'class' => 'posts',
|
|
'secondaryClass' => 'filter_doc',
|
|
'tertiaryClass' => 'fw-container no-top-padding',
|
|
'slug' => 'docs',
|
|
'category' => \App\Models\DocumentCategory::where('slug->fr', 'presentation-investisseurs')->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="presentation gray-bg">
|
|
<div class="textblock fw fw-container textblock_bg">
|
|
<div class="textblock__wrapper wrapper">
|
|
<x-front.sections.title :title="$data['string_title']" :subtitle="$data['string_subtitle']" />
|
|
@if (!empty($data['string_content']))
|
|
<div class="textblock__container">
|
|
<div class="textblock__info textblock__block">
|
|
<div class="textblock__info-description description">
|
|
<p>{{ $data['string_content'] }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
<x-front.posts.posts-index :postContainer="$postContainer" />
|
|
</div>
|
|
</div>
|