templates/frontend/member/_member.html.twig line 1
{% if members | length > 0 %}
<h5 class="border-b-4 border-gray-200 py-2 font-bold">{{ title }}</h5>
<div class="owl-carousel owl-theme">
{% for member in members %}
<div class="item">
<div class="text-sm px-3">{{ member.translate(app.request.locale).content | raw}}</div>
</div>
{% endfor %}
</div>
<script>
$('.owl-carousel').owlCarousel({
loop: true,
autoplay: true,
margin: 10,
responsive: {
0: {
items: 2
},
600: {
items: 2
},
1000: {
items: 2
}
}
});
</script>
{% endif %}