deactivated unused plugins
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m42s
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m42s
This commit is contained in:
parent
547284157a
commit
99e790efa5
3 changed files with 32 additions and 34 deletions
|
|
@ -1,36 +1,34 @@
|
|||
// main script
|
||||
(function () {
|
||||
"use strict";
|
||||
;(function () {
|
||||
'use strict'
|
||||
|
||||
// Dropdown Menu Toggler For Mobile
|
||||
// ----------------------------------------
|
||||
const dropdownMenuToggler = document.querySelectorAll(
|
||||
".nav-dropdown > .nav-link",
|
||||
);
|
||||
const dropdownMenuToggler = document.querySelectorAll('.nav-dropdown > .nav-link')
|
||||
|
||||
dropdownMenuToggler.forEach((toggler) => {
|
||||
toggler?.addEventListener("click", (e) => {
|
||||
e.target.closest(".nav-item").classList.toggle("active");
|
||||
});
|
||||
});
|
||||
toggler?.addEventListener('click', (e) => {
|
||||
e.target.closest('.nav-item').classList.toggle('active')
|
||||
})
|
||||
})
|
||||
|
||||
// Testimonial Slider
|
||||
// ----------------------------------------
|
||||
new Swiper(".testimonial-slider", {
|
||||
spaceBetween: 24,
|
||||
loop: true,
|
||||
pagination: {
|
||||
el: ".testimonial-slider-pagination",
|
||||
type: "bullets",
|
||||
clickable: true,
|
||||
},
|
||||
breakpoints: {
|
||||
768: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 3,
|
||||
},
|
||||
},
|
||||
});
|
||||
})();
|
||||
// new Swiper(".testimonial-slider", {
|
||||
// spaceBetween: 24,
|
||||
// loop: true,
|
||||
// pagination: {
|
||||
// el: ".testimonial-slider-pagination",
|
||||
// type: "bullets",
|
||||
// clickable: true,
|
||||
// },
|
||||
// breakpoints: {
|
||||
// 768: {
|
||||
// slidesPerView: 2,
|
||||
// },
|
||||
// 992: {
|
||||
// slidesPerView: 3,
|
||||
// },
|
||||
// },
|
||||
// });
|
||||
})()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue