web/about: convert pages to translatable markdown

This commit is contained in:
dumbmoron
2024-09-17 18:54:28 +00:00
parent fdd5feac92
commit a1361e8462
11 changed files with 212 additions and 250 deletions

View File

@@ -0,0 +1,10 @@
<script>
import locale from '$lib/i18n/locale';
import { page } from '$app/stores';
const component = import(`$i18n/${$locale}/about/${$page.params.page}.md`);
</script>
{#await component then component}
<svelte:component this={component.default} />
{/await}