import { A, useLocation, useNavigate } from '@solidjs/router' import { IconFileStack, IconGlobe, IconHome, IconNetwork, IconNetworkOff, IconPalette, IconRuler, IconSettings, } from '@tabler/icons-solidjs' import { For, ParentComponent, Show } from 'solid-js' import { themes } from '~/constants' import { setCurTheme, setSelectedEndpoint } from '~/signals' const Nav: ParentComponent<{ href: string; tooltip: string }> = ({ href, tooltip, children, }) => (
  • {children}
  • ) export const Header = () => { const location = useLocation() const navigate = useNavigate() return ( ) }