mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
rework routes
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import App from '$lib/components/App.svelte';
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<App />
|
|
@@ -4,7 +4,9 @@
|
|||||||
import { locale } from 'svelte-i18n';
|
import { locale } from 'svelte-i18n';
|
||||||
import { page } from '$app/stores';
|
import { page } from '$app/stores';
|
||||||
|
|
||||||
|
if ($page.params.language) {
|
||||||
locale.set($page.params.language);
|
locale.set($page.params.language);
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<App />
|
<App />
|
0
website/src/routes/[...language]/about/+page.svelte
Normal file
0
website/src/routes/[...language]/about/+page.svelte
Normal file
Reference in New Issue
Block a user