<div class="container-fluid text-center justify-content-center p-3 mt-5">
<div class="row d-flex justify-content-center gap-3">
<div class="row justify-content-center">
<div class="col">
<div class="row justify-content-center p-3">
<div id="Références" class="col-sm-12 col-md-12 col-lg-6 noEffect">
<h2>Références</h2>
</div>
<svg class="swiper-button-prev-index noEffect" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>
</svg>
<svg class="swiper-button-next-index noEffect" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
</svg>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid text-center d-flex justify-content-center align-items-center">
<div class="col-md-10 swiper">
<div class="swiper-wrapper">
{% for reference in references %}
<div class="card swiper-slide align-content-between background-color-1">
<div class="div px-5 pt-3 pb-3">
<img src="{{ asset('/media/fullsize/' ~ reference.image.file)| imagine_filter('slider') }}" class="card-img-top imgborder" alt="{{ reference.image.alt }}" title="{{ reference.image.title }}">
</div>
<div class="card-body d-flex align-items-center justify-content-center px-2 noEffect background-color-1">
<div class="row noEffect">
<h3>{{ reference.title }}</h3>
</div>
</div>
<div class="card-footer pb-4 cardheight1 background-color-1">
<p class="p-1">{{ reference.text }}</p>
</div>
<div class="p-5">
<a href="{{ reference.link }}" target="_blank" class="btn3">{{ reference.button }}</a>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<script defer>
//creation du slide
var swiper = new Swiper(".swiper", {
autoplay:true,
grabCursor: true,
direction: 'horizontal',
slidesPerView: 3,
spaceBetween: 10,
loop:true,
centeredSlides:false,
navigation: {
nextEl: '.swiper-button-next-index',
prevEl: '.swiper-button-prev-index',
},
// And if we need scrollbar
//scrollbar: {
//el: '.swiper-scrollbar',
//draggable:true,
//},
//mousewheel:{
//enabled:true,
//},
// using "ratio" endpoints
breakpoints: {
'100': {
slidesPerView: 1,
spaceBetween: 10,
},
'320': {
slidesPerView: 1,
spaceBetween: 10,
},
'540': {
slidesPerView: 2,
spaceBetween: 10,
},
'800': {
slidesPerView: 3,
spaceBetween: 10,
},
}
});
</script>