diff --git a/src/app/components/TopNavBar.tsx b/src/app/components/TopNavBar.tsx index a3aa5c7..d41fa3a 100644 --- a/src/app/components/TopNavBar.tsx +++ b/src/app/components/TopNavBar.tsx @@ -1,4 +1,5 @@ "use client"; +import { useState } from "react"; import { usePathname } from "next/navigation"; import Link from "next/link"; import Image from "next/image"; @@ -8,17 +9,24 @@ import { cx } from "lib/cx"; export const TopNavBar = () => { const pathName = usePathname(); const isHomePage = pathName === "/"; + const [isMenuOpen, setIsMenuOpen] = useState(false); + + const navItems = [ + ["/resume-builder", "Builder"], + ["/resume-parser", "Parser"], + ]; return (
-
- +
+ {/* Logo */} + setIsMenuOpen(false)}> OpenResume { priority /> + + {/* Desktop Navigation */}
+ + {/* Hamburger Button (Mobile/Tablet) */} +
+ + {/* Mobile Navigation Menu */} + {isMenuOpen && ( +