feat(ui): basic layout

This commit is contained in:
2025-12-07 21:27:23 +01:00
parent dc67c1c16a
commit 4e9b4a19b8
16 changed files with 198 additions and 187 deletions

22
app/layouts/default.vue Normal file
View File

@@ -0,0 +1,22 @@
<template>
<UDashboardGroup>
<UiSidebar />
<UDashboardPanel>
<template #header>
<UDashboardNavbar :title="pageName">
<template #right>
<UColorModeButton />
</template>
</UDashboardNavbar>
<div class="flex flex-row content-center justify-between w-full" />
</template>
<template #body>
<slot />
</template>
</UDashboardPanel>
</UDashboardGroup>
</template>
<script setup lang="ts">
const { pageName } = usePageTitle();
</script>