This commit is contained in:
Roshan476
2025-12-29 13:09:44 +05:45
parent 4e95fb021d
commit 2c0cf755dc
100 changed files with 124 additions and 125 deletions

View File

@@ -6,30 +6,45 @@
// Swiper
const swiper = new Swiper('.achievements-swiper', {
document.addEventListener("DOMContentLoaded", function () {
// Certifications Swiper
const certSwiper = new Swiper('.achievements-swiper', {
slidesPerView: 4,
spaceBetween: 30,
loop: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
nextEl: '.cert-next',
prevEl: '.cert-prev',
},
breakpoints: {
0: {
slidesPerView: 1,
},
576: {
slidesPerView: 2,
},
992: {
slidesPerView: 4,
}
0: { slidesPerView: 1 },
576: { slidesPerView: 2 },
992: { slidesPerView: 4 }
}
});
// Lightbox
const lightbox = GLightbox({
touchNavigation: true,
loop: true
// Video Swiper
const videoSwiper = new Swiper('.mySwiper-video', {
slidesPerView: 3,
spaceBetween: 30,
loop: true,
navigation: {
nextEl: '.video-next',
prevEl: '.video-prev',
},
breakpoints: {
0: { slidesPerView: 1 },
768: { slidesPerView: 2 },
992: { slidesPerView: 3 }
}
});
});
// Lightbox
// const lightbox = GLightbox({
// touchNavigation: true,
// loop: true
// });