From 0a44b8363dce9a5f50c1d6d78d6f76d6d73b1dda Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 30 Apr 2023 15:37:54 -0400 Subject: [PATCH] Use homepage as xpin app --- web-frontend/src/routes/+layout.svelte | 1 - web-frontend/src/routes/+page.svelte | 230 ++++++++++++++++- .../routes/{app => }/CoordinateInfo.svelte | 0 .../src/routes/{app => }/Error.svelte | 0 .../src/routes/{app => }/TabSelector.svelte | 0 web-frontend/src/routes/app/+page.svelte | 233 +----------------- 6 files changed, 230 insertions(+), 234 deletions(-) rename web-frontend/src/routes/{app => }/CoordinateInfo.svelte (100%) rename web-frontend/src/routes/{app => }/Error.svelte (100%) rename web-frontend/src/routes/{app => }/TabSelector.svelte (100%) diff --git a/web-frontend/src/routes/+layout.svelte b/web-frontend/src/routes/+layout.svelte index 9874417..9a2cb39 100644 --- a/web-frontend/src/routes/+layout.svelte +++ b/web-frontend/src/routes/+layout.svelte @@ -60,7 +60,6 @@ Home Docs - App diff --git a/web-frontend/src/routes/+page.svelte b/web-frontend/src/routes/+page.svelte index ebd11c4..c932909 100644 --- a/web-frontend/src/routes/+page.svelte +++ b/web-frontend/src/routes/+page.svelte @@ -1,4 +1,232 @@ -

Home

+ + +

{outputValue}

+ +{#await init()} +

Loading WebAssembly module...

+{:then} + + + {#if $url && $url.hash} + Permalink + + {/if} + + + + + + {#if tabInfo.selected === 1} + + {/if} +{:catch message} + Could not start core module +{/await} + + diff --git a/web-frontend/src/routes/app/CoordinateInfo.svelte b/web-frontend/src/routes/CoordinateInfo.svelte similarity index 100% rename from web-frontend/src/routes/app/CoordinateInfo.svelte rename to web-frontend/src/routes/CoordinateInfo.svelte diff --git a/web-frontend/src/routes/app/Error.svelte b/web-frontend/src/routes/Error.svelte similarity index 100% rename from web-frontend/src/routes/app/Error.svelte rename to web-frontend/src/routes/Error.svelte diff --git a/web-frontend/src/routes/app/TabSelector.svelte b/web-frontend/src/routes/TabSelector.svelte similarity index 100% rename from web-frontend/src/routes/app/TabSelector.svelte rename to web-frontend/src/routes/TabSelector.svelte diff --git a/web-frontend/src/routes/app/+page.svelte b/web-frontend/src/routes/app/+page.svelte index c932909..5fce808 100644 --- a/web-frontend/src/routes/app/+page.svelte +++ b/web-frontend/src/routes/app/+page.svelte @@ -1,232 +1 @@ - - - - -

{outputValue}

- -{#await init()} -

Loading WebAssembly module...

-{:then} - - - {#if $url && $url.hash} - Permalink - - {/if} - - - - - - {#if tabInfo.selected === 1} - - {/if} -{:catch message} - Could not start core module -{/await} - - +

This page was moved here