"use client"; import { useState } from "react"; import Image from "next/image"; import Link from "next/link"; import { Menu } from "lucide-react"; import { Button } from "@/components/ui/button"; import { ScrollArea } from "@/components/ui/scroll-area"; import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger, } from "@/components/ui/sheet"; import { SidebarNav, SidebarFooter } from "./sidebar"; /** * Mobile navigation: a hamburger button (shown only below md, where the static * sidebar is hidden) that opens the full nav in a left Sheet drawer. Reuses the * desktop SidebarNav/SidebarFooter so the two never drift, and closes itself on * navigation so the drawer doesn't linger over the new page. */ export function MobileSidebar() { const [open, setOpen] = useState(false); const close = () => setOpen(false); return ( RoboCo RoboCo
); }