From 80f4b0cd2efa303e0e2d5838d3b245318d964710 Mon Sep 17 00:00:00 2001 From: Nolan <77746688+Sha-dos@users.noreply.github.com> Date: Sat, 24 Feb 2024 23:44:08 -0600 Subject: [PATCH] show navbar items on smaller screen --- components/navbar.tsx | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/components/navbar.tsx b/components/navbar.tsx index dcf3646..15937f0 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -16,11 +16,13 @@ import { Navbar as NextUINavbar, NavbarBrand, NavbarContent, - NavbarItem + NavbarItem, NavbarMenu, NavbarMenuItem, NavbarMenuToggle } from "@nextui-org/react"; -import {Station} from "@/components/data"; +import {Link} from "@nextui-org/link"; export const Navbar = () => { + const [isOpen, setIsOpen] = useState(false); + return ( @@ -35,22 +37,18 @@ export const Navbar = () => {

Talon Robotics

- + {siteConfig.navItems.map((item, index) => ( + + + {item.label} + + + ))}
);