feat: add link to homepage to header

This commit is contained in:
Samuel 2025-01-23 21:22:51 +01:00
parent 86a79600e6
commit 7ceac45f45
2 changed files with 5 additions and 1 deletions

View file

@ -35,7 +35,10 @@ const App: Component = () => {
<> <>
<ColorModeScript storageType={storageManager.type} /> <ColorModeScript storageType={storageManager.type} />
<ColorModeProvider storageManager={storageManager}> <ColorModeProvider storageManager={storageManager}>
<header class="flex justify-end bg-accent p-4"> <header class="flex justify-between bg-accent p-4">
<A class="text-2xl text-content" href="/">
Signalstats
</A>
<ModeToggle /> <ModeToggle />
</header> </header>
<Show when={!wasmSupport}> <Show when={!wasmSupport}>

View file

@ -9,6 +9,7 @@ if (import.meta.env.DEV && !(root instanceof HTMLElement)) {
); );
} }
// polyfill umami track function for development
if (import.meta.env.DEV && !("umami" in window)) { if (import.meta.env.DEV && !("umami" in window)) {
// @ts-ignore // @ts-ignore
window.umami = { window.umami = {