diff options
Diffstat (limited to 'src/components/Navbar.tsx')
| -rw-r--r-- | src/components/Navbar.tsx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx deleted file mode 100644 index 720274b..0000000 --- a/src/components/Navbar.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import { Button } from "./ui/button"; -import ThemeToggle from "./ThemeToggle"; - -const navItems = [ - { label: "Home", href: "/" }, - { label: "Blog", href: "/blog" }, -]; - -export default function Navbar() { - return ( - <nav className="sticky top-0 z-50 w-full backdrop-blur"> - <div className="max-w-2xl mx-auto flex items-center justify-between px-4 py-4"> - <div className="flex gap-4 justify-center flex-1"> - {navItems.map(({ label, href }) => ( - <Button key={label} variant="ghost" asChild> - <a href={href}>{label}</a> - </Button> - ))} - </div> - <ThemeToggle /> - </div> - </nav> - ); -} |
