diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-10-20 18:08:15 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-10-20 18:08:15 -0500 |
commit | 472c18a99851397939351dd4cfc50220c84dc4c2 (patch) | |
tree | 1fecdab0268a6734fa2c6c6a9551bf1ea06ff1ed /clients/www/src/routes | |
download | zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.gz zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.bz2 zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.lz zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.xz zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.zst zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.zip |
Initial skeleton (hehe) commit
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | clients/www/src/routes/+layout.svelte | 33 | ||||
-rw-r--r-- | clients/www/src/routes/+layout.ts | 1 | ||||
-rw-r--r-- | clients/www/src/routes/+page.svelte | 1 |
3 files changed, 35 insertions, 0 deletions
diff --git a/clients/www/src/routes/+layout.svelte b/clients/www/src/routes/+layout.svelte new file mode 100644 index 0000000..15780c3 --- /dev/null +++ b/clients/www/src/routes/+layout.svelte @@ -0,0 +1,33 @@ +<script lang="ts"> + import '../app.postcss'; + import { AppShell, AppBar, LightSwitch, initializeStores } from '@skeletonlabs/skeleton'; + + import { pwaInfo } from 'virtual:pwa-info'; + + $: webManifest = pwaInfo ? pwaInfo.webManifest.linkTag : ''; + + initializeStores(); +</script> + +<svelte:head> + <!-- eslint-disable-next-line svelte/no-at-html-tags VitePWA can probably be trusted --> + {@html webManifest} +</svelte:head> + +<!-- App Shell --> +<AppShell> + <svelte:fragment slot="header"> + <!-- App Bar --> + <AppBar gridColumns="grid-cols-3" slotDefault="place-self-center" slotTrail="place-content-end"> + <svelte:fragment slot="lead"> + <LightSwitch /> + </svelte:fragment> + <a href="#">Zelda: Oracle Password Generator</a> + <svelte:fragment slot="trail"> + <a href="#">TODO: SOURCE CODE</a> + </svelte:fragment> + </AppBar> + </svelte:fragment> + <!-- Page Route Content --> + <slot /> +</AppShell> diff --git a/clients/www/src/routes/+layout.ts b/clients/www/src/routes/+layout.ts new file mode 100644 index 0000000..c8cacf0 --- /dev/null +++ b/clients/www/src/routes/+layout.ts @@ -0,0 +1 @@ +export const prerender = true;
\ No newline at end of file diff --git a/clients/www/src/routes/+page.svelte b/clients/www/src/routes/+page.svelte new file mode 100644 index 0000000..2ea190a --- /dev/null +++ b/clients/www/src/routes/+page.svelte @@ -0,0 +1 @@ +TODO: Draw the rest of the owl
\ No newline at end of file |