940
| <![CDATA[<script type="module">
//slides to news
var newsSlider = tns({
container: '.news-slider',
items: 1,
edgePadding: true,
responsive: {
"0": { "controls": false, "gutter": 16 }, "500": { "controls": true, "gutter": 16 }, "768": { "gutter": 0 }
},
gutter: 1,
autoWidth: false,
slideBy: 1,
center: true,
controlsText: ['<i class="fa-solid fa-angle-left"></i>', '<i class="fa-solid fa-angle-right"></i>'],
navPosition: 'bottom',
mouseDrag: true,
viewportMax: true,
autoplay: true,
autoplayButton: false,
autoplayButtonOutput: false
});
//slides to people
var teamSlider = tns({
container: '.people-slider',
items: 1,
edgePadding: false,
responsive: {
"0": { "controls": false, "gutter": 16 }, "500": { "controls": true, "gutter": 16 }, "768": { "gutter": 10, items: 8 }
},
autoHeight: true,
slideBy: 1,
center: false,
controlsText: ['<i class="fa-solid fa-angle-left"></i>', '<i class="fa-solid fa-angle-right"></i>'],
navPosition: 'bottom',
mouseDrag: true,
});
//other news
var otherNewsSlider = tns({
container: '.other-news-slider',
items: 1,
edgePadding: false,
gutter: 10,
responsive: {
"0": { "controls": false, "gutter": 16 }, "500": { "controls": true, "gutter": 16 }, "768": { "gutter": 20, items: 3 }
},
autoHeight: true,
slideBy: 1,
controlsText: ['<i class="fa-solid fa-angle-left"></i>', '<i class="fa-solid fa-angle-right"></i>'],
navPosition: 'bottom',
center: false,
})
</script>]]>
|