From 920e7901f46e9d8e8a09f5d184d66409a2f84141 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Thu, 29 Aug 2024 14:10:40 +0200 Subject: [PATCH] remove disclaimer --- website/src/lib/components/Welcome.svelte | 29 --- website/src/lib/db.ts | 1 - .../src/routes/[[language]]/app/+page.svelte | 209 +++++++++--------- 3 files changed, 106 insertions(+), 133 deletions(-) delete mode 100644 website/src/lib/components/Welcome.svelte diff --git a/website/src/lib/components/Welcome.svelte b/website/src/lib/components/Welcome.svelte deleted file mode 100644 index 4d3a344a..00000000 --- a/website/src/lib/components/Welcome.svelte +++ /dev/null @@ -1,29 +0,0 @@ - - - ($showWelcomeMessage = false)} -> - - - - - Welcome to the new version of gpx.studio! - - -

The website is still under development and may contain bugs.

-

Please report any issues you find by email or on GitHub.

-
-
- - Let's go! - -
-
diff --git a/website/src/lib/db.ts b/website/src/lib/db.ts index 6a39ef02..18ae02bb 100644 --- a/website/src/lib/db.ts +++ b/website/src/lib/db.ts @@ -111,7 +111,6 @@ export const settings = { defaultWeight: dexieSettingStore('defaultWeight', (browser && window.innerWidth < 600) ? 8 : 5), bottomPanelSize: dexieSettingStore('bottomPanelSize', 170), rightPanelSize: dexieSettingStore('rightPanelSize', 240), - showWelcomeMessage: dexieSettingStore('showWelcomeMessage', true, false), }; // Wrap Dexie live queries in a Svelte store to avoid triggering the query for every subscriber diff --git a/website/src/routes/[[language]]/app/+page.svelte b/website/src/routes/[[language]]/app/+page.svelte index 8f2a7769..f5d814ef 100644 --- a/website/src/routes/[[language]]/app/+page.svelte +++ b/website/src/routes/[[language]]/app/+page.svelte @@ -1,121 +1,124 @@
-
-
- -
- -
- - - - - - {#if !$verticalFileView} -
- -
- {/if} -
- {#if $elevationProfile} - - {/if} -
- - {#if $elevationProfile} - - {/if} -
-
- {#if $verticalFileView} - - - {/if} - +
+
+ +
+ +
+ + + + + + {#if !$verticalFileView} +
+ +
+ {/if} +
+ {#if $elevationProfile} + + {/if} +
+ + {#if $elevationProfile} + + {/if} +
+
+ {#if $verticalFileView} + + + {/if}