|
|
@ -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', { |
|
|
|
const projectsSwiper = new Swiper('.projects-swiper', { |
|
|
|
direction: 'horizontal', |
|
|
|
direction: 'horizontal', |
|
|
|
breakpoints: { |
|
|
|
breakpoints: { |
|
|
@ -284,6 +298,8 @@ phoneInputs.forEach(phoneInput => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// masks end
|
|
|
|
|
|
|
|
|
|
|
|
// pc menu
|
|
|
|
// pc menu
|
|
|
|
|
|
|
|
|
|
|
|
let blocksMenu = document.querySelectorAll('.header-menu-list-next__block'); |
|
|
|
let blocksMenu = document.querySelectorAll('.header-menu-list-next__block'); |
|
|
@ -332,6 +348,8 @@ blocksMenu.forEach(block =>{ |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// pc menu end
|
|
|
|
|
|
|
|
|
|
|
|
// resize
|
|
|
|
// resize
|
|
|
|
window.addEventListener('resize', () => { |
|
|
|
window.addEventListener('resize', () => { |
|
|
|
let screenWidth = window.screen.width; |
|
|
|
let screenWidth = window.screen.width; |
|
|
|