clove/allInOne
web/src/routes/admin/+layout.svelte
<!-- src/routes/admin/+layout.svelte
Copyright (c) 2026 Clove Nytrix Doughmination Twilight
Licensed under the DASL-1.0 Licence.
See LICENCE.md in the project root for full licence information.
-->
<script lang="ts">
import type { LayoutProps } from "./$types";
import Protected from "#lib/components/Protected.svelte";
let { children }: LayoutProps = $props();
</script>
<Protected admin>
{@render children()}
</Protected>