@extends('partials.components.section', ['header' => false, 'ctaAfter' => false, 'sectionClass' => 'z-100 ' . ($index == 1 && is_front_page() ? 'md:!-mt-40' : '!mt-0')])
@section('section')
@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
@if (($section['section_fields_buttons'] ?? false) && ($ctaAfter ?? true))
@include('partials.components.ctas', [
'ctas' => $section['section_fields_buttons'],
'btnClass' =>
$section['section_settings_white_text'] ?? false
? 'bg-primary hover:bg-white text-white hover:text-dark'
: 'bg-dark hover:bg-primary text-white hover:border-white border-primary border-1',
])
@endif
@if ($section['section_fields_image'] ?? false)
{!! ResponsivePics::get_image(
$section['section_fields_image'],
'xs:600, md:1024',
9 / 16,
'w-full',
false,
true,
) !!}
@endif
@include('partials.svg.pattern-' . ($section['section_settings_pattern_color'] ?? 'primary'))
@overwrite