Initial Commit

This commit is contained in:
hoernschen 2021-02-25 22:23:58 +01:00
parent bdbb15e52e
commit c20d262f7c
26 changed files with 1006 additions and 0 deletions

10
static/js/totop.js Normal file
View file

@ -0,0 +1,10 @@
const scrollToTopButton = document.getElementById('totop');
const scrollToTopListener = () => {
if (window.scrollY > 0) {
scrollToTopButton.className = "totop show";
} else {
scrollToTopButton.className = "totop hide";
}
};
window.addEventListener("scroll", scrollToTopListener);