From 361d7dae6a1544de2af66e21a509c1a8d359143f Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 25 Feb 2024 11:32:39 +0100 Subject: [PATCH] New Backdrop --- src/components/Navbar.svelte | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) 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"); } } -