@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 --}}
@if ($section['section_fields_title'] ?? false) @include('partials.components.big-title', [ 'title' => $section['section_fields_title'], 'class' => 'text-white', 'balise' => 'h2', ]) @endif
    @foreach ($section['section_fields_figures'] as $figure)
  • @if ($figure['number'] ?? false)
    {{ $figure['number'] }}
    @endif @if ($figure['label'] ?? false) {!! $figure['label'] !!} @endif @if ($figure['description'] ?? false)
    {!! $figure['description'] !!}
    @endif
  • @endforeach
{{-- Partners Slider --}} @if (!empty($section['section_fields_partners']) && $section['display_type'] === 'full')
@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 --}}
@endif @endif @overwrite