Add footer with link to sourcecode
This commit is contained in:
parent
75a79c89bf
commit
47bd0c59d6
1 changed files with 32 additions and 17 deletions
|
@ -35,23 +35,38 @@
|
||||||
|
|
||||||
<ModeWatcher />
|
<ModeWatcher />
|
||||||
|
|
||||||
<header class="container flex w-full items-center justify-between px-8 py-6">
|
<div class="grid min-h-screen grid-rows-[auto_1fr_auto]">
|
||||||
<a href="/">
|
<header class="container flex w-full items-center justify-between px-8 py-6">
|
||||||
<img src="/favicon.svg" alt="Mihkel Martin Kasterpalu logo" class="h-9" />
|
<a href="/">
|
||||||
</a>
|
<img src="/favicon.svg" alt="Mihkel Martin Kasterpalu logo" class="h-9" />
|
||||||
<Button onclick={() => cycleTheme()} variant="ghost" size="icon" class="h-12 w-12">
|
</a>
|
||||||
{#if theme === 'dark'}
|
<Button onclick={() => cycleTheme()} variant="ghost" size="icon" class="h-12 w-12">
|
||||||
<Moon class="!h-6 !w-6" />
|
{#if theme === 'dark'}
|
||||||
{:else if theme === 'light'}
|
<Moon class="!h-6 !w-6" />
|
||||||
<Sun class="!h-6 !w-6" />
|
{:else if theme === 'light'}
|
||||||
{:else}
|
<Sun class="!h-6 !w-6" />
|
||||||
<LaptopMinimal class="!h-6 !w-6" />
|
{:else}
|
||||||
{/if}
|
<LaptopMinimal class="!h-6 !w-6" />
|
||||||
|
{/if}
|
||||||
|
|
||||||
<span class="sr-only">Toggle theme</span>
|
<span class="sr-only">Toggle theme</span>
|
||||||
</Button>
|
</Button>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="container flex flex-col items-center">
|
<div class="container flex flex-col items-center">
|
||||||
{@render children()}
|
{@render children()}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="container flex w-full justify-center px-8 py-6 text-center">
|
||||||
|
<p class="text-muted-foreground">
|
||||||
|
Vaata
|
||||||
|
<a
|
||||||
|
href="https://koodi.lenn.uk/mihkelmk/minigames"
|
||||||
|
target="_blank"
|
||||||
|
class=" underline underline-offset-4"
|
||||||
|
>
|
||||||
|
saidi koodi
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue