feat: add link to homepage to header
This commit is contained in:
parent
9749787655
commit
7d5a5d99ef
2 changed files with 5 additions and 1 deletions
|
@ -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}>
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue