40 lines
1.3 KiB
PHP
40 lines
1.3 KiB
PHP
<div class="engagements-page-ecosystem-block" id="{{ $id ?? 'engagements_2' }}">
|
|
@php
|
|
$list = collect($ecosystem['list_block_content'])->map(function ($item) {
|
|
return [
|
|
'title' => null,
|
|
'text' => $item['wysiwyg_content'],
|
|
'quote' => 0,
|
|
'swap_position' => $item['boolean_visual_placement'],
|
|
'in_row' => 0,
|
|
'floated' => 0,
|
|
'align_center' => 0,
|
|
'borders_desktop' => [
|
|
'left' => true,
|
|
'right' => true,
|
|
'top' => true,
|
|
'bottom' => true,
|
|
],
|
|
'borders_mobile' => [
|
|
'left' => true,
|
|
'right' => true,
|
|
'top' => true,
|
|
'bottom' => true,
|
|
],
|
|
'image' => [
|
|
['url' => $item['file_visual']]
|
|
],
|
|
];
|
|
})->toArray();
|
|
@endphp
|
|
<x-front.text-block
|
|
:textBlock="[
|
|
'bg' => '1',
|
|
'title' => $ecosystem['string_title'],
|
|
'subtitle' => [
|
|
'text' => $ecosystem['string_subtitle'],
|
|
],
|
|
'list' => $list,
|
|
]"
|
|
/>
|
|
</div>
|