add theme button to layout

This commit is contained in:
2025-03-15 11:04:01 +01:00
parent f860f25e56
commit ced4e1b89c

View File

@@ -3,8 +3,12 @@
import { i18n } from '$lib/i18n';
import { ParaglideJS } from '@inlang/paraglide-sveltekit';
let { children } = $props();
import ThemeButton from '$lib/theme-select.svelte';
</script>
<ParaglideJS {i18n}>
{@render children()}
<div class="absolute top-2 right-2">
<ThemeButton />
</div>
</ParaglideJS>