+
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index d4d58db..8c04f52 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,4 +1,4 @@
-import { A, useNavigate } from '@solidjs/router'
+import { A, useLocation, useNavigate } from '@solidjs/router'
import {
IconFileStack,
IconGlobe,
@@ -8,62 +8,105 @@ import {
IconRuler,
IconSettings,
} from '@tabler/icons-solidjs'
-import { setSelectedEndpoint } from '~/signals'
+import { For, Show } from 'solid-js'
+import { themes } from '~/constants'
+import { setCurTheme, setSelectedEndpoint } from '~/signals'
export const Header = () => {
+ const location = useLocation()
const navigate = useNavigate()
return (
-