home > slideshow : working
All checks were successful
Deploy / Deploy to Production (push) Successful in 2s

This commit is contained in:
isUnknown 2026-05-26 14:00:45 +02:00
parent 13040a9df3
commit 47e30e8d61
8 changed files with 118 additions and 63 deletions

View file

@ -1,7 +1,7 @@
const slideshow = document.getElementById('home-slideshow');
if (slideshow) {
const items = [...slideshow.querySelectorAll('picture, video')];
const items = [...slideshow.querySelectorAll('.slide')];
const prev = slideshow.querySelector('.prev');
const next = slideshow.querySelector('.next');
let current = 0;