import { Link } from "@tanstack/react-router"; import { useState } from "react"; import { Menu, X } from "lucide-react"; const nav = [ { to: "/", label: "Home" }, { to: "/platform", label: "Platform" }, { to: "/hardware", label: "Hardware" }, { to: "/about", label: "About" }, { to: "/contact", label: "Contact" }, ] as const; export function SiteHeader() { const [open, setOpen] = useState(false); return (
setOpen(false)}> ACEHAZMAT Request Demo
{open && (
{nav.map((item) => ( setOpen(false)} className="border-b border-border/50 py-3 font-mono text-sm uppercase tracking-widest text-muted-foreground hover:text-primary" activeProps={{ className: "border-b border-border/50 py-3 font-mono text-sm uppercase tracking-widest text-primary" }} > {item.label} ))}
)}
); }