Files
acc-server-manager-web/src/routes/+layout.svelte
2025-06-26 00:52:10 +02:00

21 lines
379 B
Svelte

<script lang="ts">
import '../app.css';
import { user } from '$stores/user';
import type { LayoutData } from './$types';
let { data } = $props<LayoutData>();
// Set the user store with data from the server
$: $user = data.user;
</script>
<div class="layout">
{@render children()}
</div>
<svelte:head>
<title>ACC Server Manager</title>
</svelte:head>
<style></style>