Copied a lot of stuff from my template repo

This commit is contained in:
Andre Beging
2020-02-11 22:55:29 +01:00
parent 94d14ed717
commit fe926d1898
43 changed files with 13609 additions and 3 deletions

View File

@@ -1 +1,9 @@
console.log(1);
// Scroll Listener
if (document.body.classList.contains("hero")) {
window.addEventListener("scroll", function () {
if (window.scrollY > 10)
document.body.classList.add("scroll");
else
document.body.classList.remove("scroll");
});
}