import { useI18n } from '@solid-primitives/i18n' import { A, useLocation } from '@solidjs/router' import { IconFileStack, IconGlobe, IconHome, IconMenu, IconNetwork, IconPalette, IconRuler, IconSettings, } from '@tabler/icons-solidjs' import { For, ParentComponent, Show, createSignal } from 'solid-js' import { twMerge } from 'tailwind-merge' import { LogoText } from '~/components' import { ROUTES, themes } from '~/constants' import { setCurTheme } from '~/signals' const Nav: ParentComponent<{ href: string; tooltip: string }> = ({ href, tooltip, children, }) => (