This commit is contained in:
Roshan476
2025-12-28 15:51:23 +05:45
parent 35771652ae
commit fbcee2d2c7
22 changed files with 358 additions and 696 deletions

View File

@@ -3,3 +3,33 @@
function changeVideo(videoId) {
document.getElementById("mainVideo").src = "https://www.youtube.com/embed/" + videoId;
}
// Swiper
const swiper = new Swiper('.achievements-swiper', {
slidesPerView: 4,
spaceBetween: 30,
loop: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
breakpoints: {
0: {
slidesPerView: 1,
},
576: {
slidesPerView: 2,
},
992: {
slidesPerView: 4,
}
}
});
// Lightbox
const lightbox = GLightbox({
touchNavigation: true,
loop: true
});