About page, most of frontpage, news
Frontpage: - Implement initial pass of swipers, might look for something that doesn't require JS. - Implemented transitions - Added transitions / company logos to assets About page: - Basically duplicated layout from existing website News: - Renamed /blog -> /news, not too much in this section left to do, relatively straightforward for that
This commit is contained in:
@@ -33,4 +33,29 @@
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
// Swipers
|
||||
// ----------------------------------------
|
||||
const swipers = docuemnt.querySelectorAll(".swiper-slider");
|
||||
|
||||
swipers.forEach((swiper) => {
|
||||
console.log("ayy");
|
||||
new Swiper(swiper.id, {
|
||||
spaceBetween: 24,
|
||||
loop: true,
|
||||
pagination: {
|
||||
el: swiper.querySelector(".swiper-slider-pagination"),
|
||||
type: "bullets",
|
||||
clickable: true,
|
||||
},
|
||||
breakpoints: {
|
||||
768: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 3,
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user