сделал swiper-reviews-img
This commit is contained in:
@@ -40,6 +40,20 @@ const reviewsSwiper = new Swiper('.reviews-swiper', {
|
||||
}
|
||||
})
|
||||
|
||||
let reviewsSwiperImg = new Swiper(".swiper-reviews-img", {
|
||||
autoplay: {
|
||||
delay: 2500,
|
||||
disableOnInteraction: false,
|
||||
},
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
clickable: true,
|
||||
renderBullet: function (index, className) {
|
||||
return '<span class="' + className + '">' + "</span>";
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const projectsSwiper = new Swiper('.projects-swiper', {
|
||||
direction: 'horizontal',
|
||||
breakpoints: {
|
||||
@@ -284,6 +298,8 @@ phoneInputs.forEach(phoneInput => {
|
||||
});
|
||||
})
|
||||
|
||||
// masks end
|
||||
|
||||
// pc menu
|
||||
|
||||
let blocksMenu = document.querySelectorAll('.header-menu-list-next__block');
|
||||
@@ -332,6 +348,8 @@ blocksMenu.forEach(block =>{
|
||||
|
||||
})
|
||||
|
||||
// pc menu end
|
||||
|
||||
// resize
|
||||
window.addEventListener('resize', () => {
|
||||
let screenWidth = window.screen.width;
|
||||
|
||||
Reference in New Issue
Block a user