working on the frontend

This commit is contained in:
maxDorninger
2025-04-27 18:04:50 +02:00
parent 4fc2461d7f
commit 180771882d
111 changed files with 6187 additions and 151 deletions

View File

@@ -0,0 +1,12 @@
<script lang="ts">
import {getContext} from "svelte";
const user: () => App.User = getContext("user")
</script>
<span class="truncate font-semibold">{user().email}</span>
{#if user().is_superuser}
<span class="truncate text-xs">Administrator</span>
{:else }
<span class="truncate text-xs">User</span>
{/if}