Basically done with home page

This commit is contained in:
KoenDR06 2025-04-13 17:12:08 +02:00
parent 3da46b8e0e
commit e57305123d
16 changed files with 303 additions and 49 deletions

7
src/static/floater.js Normal file
View file

@ -0,0 +1,7 @@
window.addEventListener("scroll", function(){
const floaters = document.querySelectorAll(".floater");
const yPos = 0 - window.scrollY;
for (const floater of floaters) {
floater.style.top = -yPos/20 + "%";
}
});