feat(frontend): Update nuxt-ui, add login, signup, logout

This commit is contained in:
2025-03-29 17:43:38 +01:00
parent cb12e29966
commit 99d3b28381
14 changed files with 2539 additions and 2275 deletions

View File

@@ -0,0 +1,16 @@
<template>
<div class="h-screen flex items-center justify-center overlay">
<UButton
icon="i-lucide-chevron-left"
to="/"
size="xl"
color="neutral"
variant="subtle"
class="absolute left-8 top-8 rounded-full"
/>
<UPageCard variant="subtle" class="max-w-sm w-full">
<slot />
</UPageCard>
</div>
</template>

View File

@@ -3,6 +3,7 @@
<UDashboardSearch />
<UDashboardSidebar
v-model:open="open"
collapsible
resizable
class="bg-(--ui-bg-elevated)/25"
@@ -21,15 +22,17 @@
<UNavigationMenu :collapsed="collapsed" :items="links[1]" orientation="vertical" class="mt-auto" />
</template>
<template #footer="{ collapsed }">
<UserMenu :collapsed="collapsed" />
</template>
</UDashboardSidebar>
<slot />
<!-- <HelpSlideover /> -->
<!-- <NotificationsSlideover /> -->
</UDashboardGroup>
</template>
<script setup lang="ts">
const links = [[], []]
const open = ref(false)
</script>