import { useState } from "react"; import { Button } from "./ui/button"; import LogoIcon from "../assets/logo.png"; import { buttonVariants } from "./ui/button"; import { NavigationMenu, NavigationMenuItem, NavigationMenuList, } from "@/components/ui/navigation-menu"; import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger, } from "@/components/ui/sheet"; import { Menu } from "lucide-react"; import { ModeToggle } from "./mode-toggle"; interface RouteProps { href: string; label: string; } interface FeatureProps { image: string; } const features: FeatureProps[] = [ { image: LogoIcon, }, ]; const routeList: RouteProps[] = [ { href: "#features", label: "Features", }, { href: "#upload", label: "Upload", }, ]; export const Navbar = () => { const [isOpen, setIsOpen] = useState(false); return (
{features.map(({ image }: FeatureProps) => ( logo.png ))}DocVerifyRAG {/* mobile */} setIsOpen(true)} > Menu Icon DocVerifyRAG {/* desktop */}
); };