add membership and permissions

This commit is contained in:
Fran Jurmanović
2025-06-26 00:52:10 +02:00
parent 47a72c82f4
commit 53c023ca4d
11 changed files with 156 additions and 17 deletions

View File

@@ -1,6 +1,12 @@
<script>
<script lang="ts">
import '../app.css';
let { children } = $props();
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">