21 lines
379 B
Svelte
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>
|