embedding progress

This commit is contained in:
vcoppe
2024-07-11 18:42:49 +02:00
parent 24cf98d68f
commit 030f08abfd
21 changed files with 760 additions and 251 deletions

View File

@@ -12,14 +12,14 @@
locale.set($page.params.language.replace('/', ''));
}
const appRoute = '/[...language]/app';
const appRoutes = ['/[...language]/app', '/[...language]/embed'];
</script>
<Head />
<ModeWatcher />
{#if !$isLoading}
{#if $page.route.id === appRoute}
{#if $page.route.id !== null && appRoutes.includes($page.route.id)}
<slot />
{:else}
<Nav />