{{-- Content Slider (Left) --}} @if (!empty($slides))
    @foreach ($slides as $index => $slide)
  • @if ($slide['header_title'] ?? false) @include('partials.components.huge-title', [ 'title' => $slide['header_title'], 'class' => 'mt-5 mb-0! max-md:bg-white max-md:rounded-tr-lg max-md:!text-xl max-md:p-5 max-md:text-center', 'balise' => $index === 0 ? 'h1' : 'h2', ]) @endif @if ($slide['header_subtitle'] ?? false)
    {!! $slide['header_subtitle'] !!}
    @endif @if ($slide['header_intro'] ?? false) @include('partials.components.introduction', [ 'introduction' => $slide['header_intro'], 'class' => 'text-xl leading-tight mt-0 ', ]) @endif @if (!empty($slide['header_ctas'])) @include('partials.components.ctas', [ 'ctas' => $slide['header_ctas'], 'btnClass' => 'bg-white/10 backdrop-blur border border-primary/10 hover:bg-primary transition-colors', ]) @endif
  • @endforeach
{{-- Slider Navigation --}} @if (count($slides) > 1)
@include('partials.components.swiper-nav')
@endif
@endif {{-- Contact Form (Right) --}} @if ($form)

@include('partials.svg.phone')
{{ $formTitle ?? __('Contactez-nous', 'constatimmo') }}

@if ($formBtnLabel)
{{ $formBtnLabel }}
{!! do_shortcode('[contact-form-7 id="' . $form . '" html_class="form"]') !!}
{!! do_shortcode('[contact-form-7 id="' . $form . '" html_class="form"]') !!}
@else {!! do_shortcode('[contact-form-7 id="' . $form . '" html_class="form"]') !!} @endif {{-- Extra button --}} @if ($extraCta ?? false) @include('partials.components.cta', [ 'cta' => $extraCta, 'btnClass' => 'mt-5 w-full bg-primary border-none text-white', ]) @endif
@endif
{{-- Background Images from Slides --}} @if (!empty($slides))
@foreach ($slides as $index => $slide) @if ($slide['header_image'] ?? false) @php $imageData = ResponsivePics::get_image_data( $slide['header_image'], 'xs:300, sm:768, md:1024, lg:1440, xl:1920', 0, '', false, false, ); @endphp
@endif @endforeach
@endif