import { GearIcon, GlobeIcon, LockIcon, PeopleIcon, PersonIcon, ServerIcon, } from '@primer/octicons-react'; import { CircleUser, PlaneTakeoff } from 'lucide-react'; import { Form, NavLink } from 'react-router'; import type { ReactNode } from 'react'; import { cn } from '~/utils/cn'; import type { HeadplaneContext } from '~/utils/config/headplane'; import type { SessionData } from '~/utils/sessions.server'; import Menu from './Menu'; interface Props { config: HeadplaneContext['config']; user?: SessionData['user']; } interface LinkProps { href: string; text: string; } interface TabLinkProps { name: string; to: string; icon: ReactNode; } function TabLink({ name, to, icon }: TabLinkProps) { return (