"use client" import { useState } from "react" import { useRouter, usePathname } from "next/navigation" import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger, } from "@/components/ui/sheet" import { Button } from "@/components/ui/button" import { Menu, LayoutDashboard, ChevronRight, PlusCircle, FolderPlus, Package, MapPin, Map } from "lucide-react" interface NavItem { title: string description: string href: string icon: React.ElementType } const navItems: NavItem[] = [ { title: "Dashboard", description: "View analytics, statistics, and recent analyses", href: "/dashboard", icon: LayoutDashboard }, { title: "New Analysis", description: "Start a new road analysis project", href: "/new-analysis", icon: PlusCircle }, { title: "Create Project", description: "Create a new infrastructure project", href: "/create-project", icon: FolderPlus }, { title: "Create Package", description: "Add a package under an existing project", href: "/create-package", icon: Package }, { title: "Create Location", description: "Add a location under a project & package", href: "/create-location", icon: MapPin }, { title: "Show Map", description: "View all detections on an interactive map", href: "/map", icon: Map } ] export function NavigationMenu() { const [isOpen, setIsOpen] = useState(false) const router = useRouter() const pathname = usePathname() const handleNavigation = (href: string) => { setIsOpen(false) router.push(href) } return ( VisionRoad

AI-Powered Road Detection System

{/* Navigation Items */} {/* Footer */}

Sentient Geeks Pvt. Ltd.

) }