diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index a606d77..38572c5 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 bf983b6..78dedd1 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -86,27 +86,24 @@ const Navbar: React.FC = () => { {/* Desktop Navigation */} -
- {/* Sliding pill */} - +
+ + Home + + + Features + + + + How It Works + + + Tracker + + + + Contributors + {navItems.map((item) => ( { {isOpen && (
- {navItems.map((item) => ( - - `px-4 py-2 rounded-xl text-sm font-semibold transition-all duration-300 ${ - isActive - ? "text-blue-600 bg-blue-100 dark:bg-blue-900/40 shadow-sm" - : "text-slate-700 dark:text-gray-300 hover:text-blue-500" - }` - } - > - {item.label} - - ))} + + + Home + + + + Features + + + + How It Works + + + + Tracker + + + + Contributors + + + + Login +
)} diff --git a/src/index.css b/src/index.css index 8603cbc..724c9fd 100644 --- a/src/index.css +++ b/src/index.css @@ -89,21 +89,10 @@ .icon-issue-closed { color: #cf222e; } +html { + scroll-behavior: smooth; +} -@layer utilities{ - @keyframes fade-in{ - from { - opacity:0; - transform: translateY(20px); - filter:blur(45px); - } - to{ - opacity:1; - transform: translateY(0); - filter:blur(0); - } - } - .ani-fade-in{ - animation: fade-in 0.8s ease-out both; - } +section { + scroll-margin-top: 90px; }