39 lines
2.2 KiB
PHP
39 lines
2.2 KiB
PHP
<section id="commitments-other" class="bg-white">
|
|
<div class="container">
|
|
<div class="row w-100 mx-auto py-5">
|
|
<div class="col-12 col-xl-6 text-center mx-auto">
|
|
<h3>{{ $title }}</h3>
|
|
<p>{!! $text !!}</p>
|
|
</div>
|
|
<div class="col-12 position-relative mt-3">
|
|
<div class="swiper swiper-cards-commitments px-md-4" id="swiper-cards-commitments">
|
|
<div class="swiper-wrapper w-fit">
|
|
@foreach ($collection as $item)
|
|
<div class="swiper-slide">
|
|
@include('fo.partials.breeding-card', [
|
|
'picture' => [
|
|
'src' => $item->picture,
|
|
'alt' => $item->picture_alt,
|
|
'title' => $item->picture_title,
|
|
],
|
|
'title' => $item->title,
|
|
'link' => $item->link,
|
|
])
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
<button
|
|
class="swiper-button swiper-button-prev-custom swiper-cards-commitments-button-prev d-flex justify-content-center align-items-center position-absolute top-50 z-1 rounded-pill border-0 bg-white">
|
|
<img src="{{ Vite::asset('resources/assets/images/common/arrow-brown.svg') }}"
|
|
title="{{ __('Navigation du slider (gauche)') }}" alt="{{ __('flèche vers la gauche') }}">
|
|
</button>
|
|
<button
|
|
class="swiper-button swiper-button-next-custom swiper-cards-commitments-button-next d-flex justify-content-center align-items-center position-absolute top-50 z-1 rounded-pill border-0 bg-white">
|
|
<img src="{{ Vite::asset('resources/assets/images/common/arrow-brown.svg') }}"
|
|
title="{{ __('Navigation du slider (droite)') }}" alt="{{ __('flèche vers la droite') }}">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|