@php global $chirkashi; $borders = []; @endphp @if (empty($textBlock['hide_block']))
!empty($textBlock['bg']) && $textBlock['bg'] == 1, $custom_class ?? '', $addclass ?? '', ])>
@if (!empty($textBlock['title']) || !empty($textBlock['subtitle']['text'])) @endif @if (!empty($textBlock['description']) || !empty($textBlock['description']['text']))

{!! $textBlock['description']['text'] !!}

@if (!empty($textBlock['description']['button']) || empty($textBlock['description']['button']['url'])) @endif
@endif @if (!empty($textBlock['list'])) @foreach ($textBlock['list'] as $l)
$l['swap_position'] == 1, 'textblock__container_row' => $l['in_row'] == 1, 'textblock__container_floated' => $l['floated'] == 1, 'textblock__container_ac' => $l['align_center'] == 1, 'textblock__container_side' => $l['swap_position'] != 1 && $l['in_row'] != 1 ])> @if (!empty($l['image']) || !empty($l['video']))
@if (!empty($l['video'])) @endif @if (!empty($l['image'])) @foreach ($l['image'] as $i)
@php $borders['desktop'] = $l['borders_desktop']; $borders['mobile'] = $l['borders_mobile']; @endphp {{ !empty($l['title']) ? $l['title'] : (!empty($textBlock['title']) ? $textBlock['title'] : '') }}
@endforeach @endif @if (!empty($l['image_description']))
{{ $l['image_description'] }}
@endif @if ( !empty($l['button']['url']) && ($l['button']['title'] == 'Nous Rejoindre' || (!empty($custom_class) ? $custom_class : null) == 'notre-politique')) @endif
@endif
@if (!empty($l['title']))

{{ $l['title'] }}

@endif @if (!empty($l['text']))
$l['quote'] == 1, ])> @if ($l['quote'] == 1) {{ strip_tags($l['text']) }} @else {!! $l['text'] !!} @endif
@endif @if (!empty($l['quote_author']) && $l['quote'] == 1)
{{ $l['quote_author'] }}
@endif @if ( !empty($l['button']['url']) && $l['button']['title'] != 'Nous Rejoindre' && (!empty($custom_class) ? $custom_class : null) != 'notre-politique') @endif
@endforeach @endif
@endif