"use client"; import * as React from "react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { Menu, X } from "lucide-react"; import { Logo } from "@/components/ui/logo"; import { Button } from "@/components/ui/button"; import { ThemeToggle } from "@/components/ui/theme"; import { cn } from "@/lib/utils"; const links = [ { href: "/#platform", label: "Platform" }, { href: "/pricing", label: "Access" }, { href: "/docs", label: "Docs" }, { href: "/changelog", label: "Changelog" }, { href: "/status", label: "Status" }, ]; export function MarketingNav({ signedIn }: { signedIn: boolean }) { const [open, setOpen] = React.useState(false); const pathname = usePathname(); return (
{signedIn ? ( ) : ( <> )}
{open ? (
) : null}
); }