Initial commit: Setup Astro website with blog, projects, work experience and search functionality

This commit is contained in:
Spaghet committed 2025-08-13 00:29:17 -04:00
1 parent 8546ac140d
commit 1f1bf6e08b
85 files changed
+23712 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
function onScroll() {
const header = document.getElementById("header")
if (window.scrollY > 0) {
header.classList.add("scrolled")
} else {
header.classList.remove("scrolled")
}
}
document.addEventListener("scroll", onScroll)