@extends('partials.components.section', ['align' => 'center', 'header' => $section['display_type'] != 'full', 'sectionClass' => $index == 1 ? 'max-sm:!mt-0' : ''])
@section('section')
@if ($section['section_fields_figures'] ?? false)
{{-- Container with image when display_type is full --}}
@if ($section['display_type'] === 'full')
{{-- Figures section --}}
{{-- Partners Slider --}}
@if (!empty($section['section_fields_partners']) && $section['display_type'] === 'full')
@foreach ($section['section_fields_partners'] as $partner)
-
@endforeach
@endif
{{-- Section Image --}}
@if ($section['section_fields_image'] ?? false)
{!! ResponsivePics::get_image(
$section['section_fields_image'],
'xs:600, md:1024',
0,
'h-full w-full absolute rounded-bl-xl rounded-tr-xl object-cover',
false,
true,
) !!}
@endif
@else
{{-- Simple figures display without image --}}