{/if}
diff --git a/website/src/lib/db.ts b/website/src/lib/db.ts
index d4746e6c..a51ba00e 100644
--- a/website/src/lib/db.ts
+++ b/website/src/lib/db.ts
@@ -82,9 +82,11 @@ function dexieUninitializedSettingStore(setting: string, initial: any): Writable
export const settings = {
distanceUnits: dexieSettingStore<'metric' | 'imperial'>('distanceUnits', 'metric'),
- velocityUnits: dexieSettingStore('velocityUnits', 'speed'),
- temperatureUnits: dexieSettingStore('temperatureUnits', 'celsius'),
+ velocityUnits: dexieSettingStore<'speed' | 'pace'>('velocityUnits', 'speed'),
+ temperatureUnits: dexieSettingStore<'celsius' | 'fahrenheit'>('temperatureUnits', 'celsius'),
elevationProfile: dexieSettingStore('elevationProfile', true),
+ additionalDatasets: dexieSettingStore('additionalDatasets', []),
+ elevationFill: dexieSettingStore<'slope' | 'surface' | undefined>('elevationFill', undefined),
verticalFileView: dexieSettingStore('fileView', false),
mode: dexieSettingStore('mode', (() => {
let currentMode: string | undefined = get(mode);
diff --git a/website/src/lib/docs/en/about/funding.md b/website/src/lib/docs/en/about/funding.md
index 3dbd30f7..f79e6c8d 100644
--- a/website/src/lib/docs/en/about/funding.md
+++ b/website/src/lib/docs/en/about/funding.md
@@ -1,7 +1,7 @@
# Help keep the website free (and ad-free) 🙏
-Each time you add or move a track point, we make a request to our servers to retrieve a route on the road network.
-We also rely on APIs from [Mapbox](https://mapbox.com) to load beautiful maps, retrieve elevation data and process geocoding requests (looking for a place in the search bar).
+Each time you add or move GPS points, we make a request to our servers to retrieve a route on the road network.
+We also rely on APIs from Mapbox to load beautiful maps, retrieve elevation data and process geocoding requests (looking for a place in the search bar).
Unfortunately this is very costly so if you like the tool and use it frequently, please consider making even a small donation so that this website can stay **free** and **ad-free**.
Thank you very much for your support! ❤️
\ No newline at end of file
diff --git a/website/src/lib/docs/en/about/mapbox.md b/website/src/lib/docs/en/about/mapbox.md
index 56a37279..22cd3a90 100644
--- a/website/src/lib/docs/en/about/mapbox.md
+++ b/website/src/lib/docs/en/about/mapbox.md
@@ -1,4 +1,5 @@
-[Mapbox](https://mapbox.com) is the company that provides some of the beautiful maps on this website.
-They also develop the [map engine](https://github.com/mapbox/mapbox-gl-js) which powers *gpx.studio*.
-We are incredibly lucky and grateful to have joined their [Community](https://www.mapbox.com/community) program, which supports nonprofits, educational institutions, and positive impact organizations.
+Mapbox is the company that provides some of the beautiful maps on this website.
+They also develop the map engine which powers *gpx.studio*.
+
+We are incredibly lucky and grateful to have joined their Community program, which supports nonprofits, educational institutions, and positive impact organizations.
This means that *gpx.studio* can benefit from Mapbox tools at discounted prices, which greatly contributes to the financial viability of the project and to offering the best possible user experience.
diff --git a/website/src/lib/docs/en/about/maps.md b/website/src/lib/docs/en/about/maps.md
new file mode 100644
index 00000000..44e89834
--- /dev/null
+++ b/website/src/lib/docs/en/about/maps.md
@@ -0,0 +1,3 @@
+# Global and local maps
+
+A large collection of basemaps and overlays to help you craft your next outdoor adventure, or visualize your latest achievement.
\ No newline at end of file
diff --git a/website/src/lib/docs/en/about/plot.md b/website/src/lib/docs/en/about/plot.md
new file mode 100644
index 00000000..a1b33f8f
--- /dev/null
+++ b/website/src/lib/docs/en/about/plot.md
@@ -0,0 +1,3 @@
+# Data visualization
+
+An interactive elevation profile with detailed statistics to analyze recorded activities and future objectives.
\ No newline at end of file
diff --git a/website/src/lib/docs/en/about/routing.md b/website/src/lib/docs/en/about/routing.md
new file mode 100644
index 00000000..0170c2af
--- /dev/null
+++ b/website/src/lib/docs/en/about/routing.md
@@ -0,0 +1,3 @@
+# Route planning
+
+An intuitive interface to create itineraries tailored to each sport, based on OpenStreetMap data.
\ No newline at end of file
diff --git a/website/src/lib/docs/en/about/tools.md b/website/src/lib/docs/en/about/tools.md
new file mode 100644
index 00000000..8865f469
--- /dev/null
+++ b/website/src/lib/docs/en/about/tools.md
@@ -0,0 +1,3 @@
+# Advanced file processing tools
+
+A suite of tools for performing all common file processing tasks, and which can be applied to multiple files at once.
\ No newline at end of file
diff --git a/website/src/lib/docs/en/about/translation.md b/website/src/lib/docs/en/about/translation.md
index 44286bbd..ec5b3ecc 100644
--- a/website/src/lib/docs/en/about/translation.md
+++ b/website/src/lib/docs/en/about/translation.md
@@ -1,6 +1,7 @@
# Translation 🗣
The website is translated by volunteers on a collaborative translation platform.
-You can help complete and improve the translations by joining the [Crowdin project](https://crowdin.com/project/gpxstudio).
+You can help complete and improve the translations by joining the Crowdin project.
[Get in touch](#contact) if you would like to start the translation in a new language.
+
Any help is greatly appreciated!
\ No newline at end of file
diff --git a/website/src/locales/en.json b/website/src/locales/en.json
index be74f214..28d64ae9 100644
--- a/website/src/locales/en.json
+++ b/website/src/locales/en.json
@@ -2,7 +2,7 @@
"metadata": {
"app_title": "the online GPX file editor",
"about_title": "about",
- "description": "View, edit and create GPX files online with advanced route planning capabilities, file processing tools and beautiful maps."
+ "description": "View, edit and create GPX files online with advanced route planning capabilities and file processing tools, beautiful maps and detailed data visualizations."
},
"menu": {
"new": "New",
diff --git a/website/src/routes/[...language]/about/+page.svelte b/website/src/routes/[...language]/about/+page.svelte
index 348da3f9..33a6fe8a 100644
--- a/website/src/routes/[...language]/about/+page.svelte
+++ b/website/src/routes/[...language]/about/+page.svelte
@@ -3,10 +3,34 @@
import { Button } from '$lib/components/ui/button';
import DocsLoader from '$lib/components/docs/DocsLoader.svelte';
import Logo from '$lib/components/Logo.svelte';
+ import ElevationProfile from '$lib/components/ElevationProfile.svelte';
+ import GPXStatistics from '$lib/components/GPXStatistics.svelte';
+ import Routing from '$lib/components/toolbar/tools/routing/Routing.svelte';
import { languages } from '$lib/languages';
- import { Heart } from 'lucide-svelte';
- import { mode } from 'mode-watcher';
+ import { settings } from '$lib/db';
+ import { BookOpenText, Heart, Map } from 'lucide-svelte';
import { _ } from 'svelte-i18n';
+
+ import { exampleGPXFile } from '$lib/assets/example';
+ import { writable } from 'svelte/store';
+ import Toolbar from '$lib/components/toolbar/Toolbar.svelte';
+ import { currentTool, Tool } from '$lib/stores';
+ import { onDestroy, onMount } from 'svelte';
+
+ let gpxStatistics = writable(exampleGPXFile.getStatistics());
+ let slicedGPXStatistics = writable(undefined);
+ let additionalDatasets = writable(['speed', 'atemp']);
+ let elevationFill = writable<'slope' | 'surface' | undefined>(undefined);
+
+ const { distanceUnits, velocityUnits, temperatureUnits } = settings;
+
+ onMount(() => {
+ currentTool.set(Tool.SCISSORS);
+ });
+
+ onDestroy(() => {
+ currentTool.set(null);
+ });
@@ -27,55 +51,145 @@
{/each}
-
-
TODO hero section
-
-
TODO show toolbar, advanced route planning and file editing tools