@if ($section) @php $sectionClass = $sectionClass ?? ''; $sectionClass .= ' bg-' . $section['section_settings_background']; $sectionClass .= ($section['section_settings_background'] ?? 'transparent') == 'transparent' ? ' ' . $marginSection : ' ' . $paddingSection; $sectionClass .= $section['section_settings_background'] != 'dark' && $section['section_settings_background'] != 'darkPrimary' ? ' text-body' : ' text-white'; $sectionClass .= ' [.bg-white+&.bg-white]:!pt-0'; @endphp
@if ($header ?? true) @if ( (!empty($section['section_fields_title']) ?? false) || (!empty($section['section_fields_suptitle']) ?? false) || (!empty($section['section_fields_introduction']) ?? false))
@include('partials.components.section-header')
@endif @endif @yield('section') @if (($section['section_fields_buttons'] ?? false) && ($ctaAfter ?? true))
@include('partials.components.ctas', [ 'ctas' => $section['section_fields_buttons'], 'class' => $margeBefore, 'align' => $align, ])
@endif
@endif