diff --git a/app/page.tsx b/app/page.tsx
index e972950..e7b0296 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,6 +1,22 @@
export default function Home() {
return (
-
+
+
Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
+ Test
);
}
diff --git a/components/custom/navbar.tsx b/components/custom/navbar.tsx
index a538a56..7ee06b1 100644
--- a/components/custom/navbar.tsx
+++ b/components/custom/navbar.tsx
@@ -9,49 +9,50 @@ export default function Navbar() {
useEffect(() => {
const onScroll = () => setScrolled(window.scrollY > 10)
+
+ onScroll()
+
window.addEventListener("scroll", onScroll)
return () => window.removeEventListener("scroll", onScroll)
}, [])
return (
-
-
+
+
)