zenno: create sveltekit website
This commit is contained in:
27
zenno/src/routes/+layout.svelte
Normal file
27
zenno/src/routes/+layout.svelte
Normal file
@@ -0,0 +1,27 @@
|
||||
<script lang="ts">
|
||||
import './layout.css';
|
||||
import favicon from '$lib/assets/favicon.svg';
|
||||
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
<svelte:head><link rel="icon" href={favicon} /></svelte:head>
|
||||
|
||||
<nav class="flex min-w-full p-4 mb-4 shadow-md">
|
||||
<span class="flex-1">
|
||||
<a href="/" class="text-7xl">Zenno Rob Roy</a>
|
||||
</span>
|
||||
<span class="flex-1 text-right">
|
||||
<a href="/inherit" class="mx-8">Inheritance Chance</a>
|
||||
<a href="/spark" class="mx-8">Spark Generation Chance</a>
|
||||
<a href="/vet" class="mx-8">My Veterans</a>
|
||||
<a href="/convo" class="mx-8">Lobby Conversations</a>
|
||||
</span>
|
||||
</nav>
|
||||
<div class="min-w-7xl max-w-7xl m-auto">
|
||||
{@render children()}
|
||||
</div>
|
||||
<footer class="absolute p-4 inset-x-0 bottom-0 border-t text-center text-[14px]">
|
||||
Umamusume: Pretty Derby tools by <a href="https://zephyrtronium.date/">zephyrtronium</a>.<br>
|
||||
All data is generated from the game's local database.
|
||||
</footer>
|
||||
Reference in New Issue
Block a user