feat: add link to homepage to header

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

View file

@ -35,7 +35,10 @@ const App: Component = () => {
<>
<ColorModeScript storageType={storageManager.type} />
<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 />
</header>
<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)) {
// @ts-ignore
window.umami = {