Refactor frontend configuration and add optional Umami Analytics integration
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { browser } from '$app/environment';
|
||||
import { register, init, locale, waitLocale } from 'svelte-i18n';
|
||||
import { UmamiAnalyticsEnv } from '@lukulent/svelte-umami';
|
||||
export let data;
|
||||
|
||||
// Register your translations for each locale
|
||||
@@ -43,6 +44,8 @@
|
||||
<slot />
|
||||
{/await}
|
||||
|
||||
<UmamiAnalyticsEnv />
|
||||
|
||||
<svelte:head>
|
||||
<title>AdventureLog</title>
|
||||
<meta
|
||||
|
||||
Reference in New Issue
Block a user