From 5f10b1bba3e7496a40910d9deb9e568fdbb988cd Mon Sep 17 00:00:00 2001 From: Pragati more Date: Sat, 30 May 2026 14:15:27 +0530 Subject: [PATCH] Add smooth section scroll navigation --- src/components/Hero.tsx | 2 +- src/components/Navbar.tsx | 44 +++++++++++++++++++++++++++++---------- src/index.css | 7 +++++++ 3 files changed, 41 insertions(+), 12 deletions(-) diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index a606d777..38572c54 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -6,7 +6,7 @@ const MATRIX_CELLS = Array.from({ length: 21 }, (_, i) => i); const Hero = () => { return ( -
+
{/* 1. Cyber Grid Overlay */}
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index fd5eac86..5bb2117b 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -41,10 +41,16 @@ const Navbar: React.FC = () => { {/* Desktop Navigation */}
- - Home - - + + Home + + + Features + + + + How It Works + Tracker @@ -107,13 +113,29 @@ const Navbar: React.FC = () => {