diff --git a/src/components/Navbar.svelte b/src/components/Navbar.svelte index 82ee5c5..4adf0b4 100644 --- a/src/components/Navbar.svelte +++ b/src/components/Navbar.svelte @@ -33,22 +33,22 @@ function handleScroll() { if (window.scrollY > 0) { - navbar.classList.add("scrolled"); + navbar.classList.add("before:scale-y-100"); } else { - navbar.classList.remove("scrolled"); + navbar.classList.remove("before:scale-y-100"); } } -