rework routes
This commit is contained in:
parent
1d1506058b
commit
bae8734f63
3 changed files with 3 additions and 6 deletions
|
@ -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 { page } from '$app/stores';
|
||||
|
||||
if ($page.params.language) {
|
||||
locale.set($page.params.language);
|
||||
}
|
||||
</script>
|
||||
|
||||
<App />
|
0
website/src/routes/[...language]/about/+page.svelte
Normal file
0
website/src/routes/[...language]/about/+page.svelte
Normal file
Loading…
Reference in a new issue