diff --git a/web-frontend/src/routes/+layout.svelte b/web-frontend/src/routes/+layout.svelte index 2e511e0..438e620 100644 --- a/web-frontend/src/routes/+layout.svelte +++ b/web-frontend/src/routes/+layout.svelte @@ -2,4 +2,31 @@ import '../app.css'; +
+ +
+ diff --git a/web-frontend/src/routes/+page.svelte b/web-frontend/src/routes/+page.svelte index d1f9c4b..b32d4db 100644 --- a/web-frontend/src/routes/+page.svelte +++ b/web-frontend/src/routes/+page.svelte @@ -1,96 +1,4 @@ -

Encoding

- -{#if wasmStatus == WasmStatus.Loaded || wasmStatus == WasmStatus.NotLoaded} -

Current cursor: {addr} => ({latlng.lat}, {latlng.lng})

- -
-
-
-{:else if wasmStatus == WasmStatus.Errored} -
-
- -
-
-

Could not start core module

-

Error: {wasmError}.

-
-
-{/if} - - +

Home

diff --git a/web-frontend/src/routes/decode/+page.svelte b/web-frontend/src/routes/decode/+page.svelte new file mode 100644 index 0000000..eb28667 --- /dev/null +++ b/web-frontend/src/routes/decode/+page.svelte @@ -0,0 +1,4 @@ + + +

Decode

diff --git a/web-frontend/src/routes/encode/+page.svelte b/web-frontend/src/routes/encode/+page.svelte new file mode 100644 index 0000000..8fbdbe2 --- /dev/null +++ b/web-frontend/src/routes/encode/+page.svelte @@ -0,0 +1,94 @@ + + + + +

Encode

+ +{#if wasmStatus == WasmStatus.Loaded || wasmStatus == WasmStatus.NotLoaded} +

Current cursor: {addr} => ({latlng.lat}, {latlng.lng})

+ +
+
+
+{:else if wasmStatus == WasmStatus.Errored} +
+
+ +
+
+

Could not start core module

+

Error: {wasmError}.

+
+
+{/if}