update
This commit is contained in:
@@ -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
|
||||
// });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user