feat: add dashboard page with Nuxt UI components and verified middleware

This commit is contained in:
2026-03-19 23:15:23 +01:00
parent a096704b0b
commit 4ea87c0cf7
6 changed files with 186 additions and 2 deletions

View File

@@ -20,6 +20,9 @@ function logout() {
<div class="min-h-screen flex flex-col bg-gray-100 dark:bg-gray-900">
<header class="flex items-center justify-end gap-4 p-4">
<template v-if="isAuthenticated">
<UButton to="/dashboard" variant="ghost">
Dashboard
</UButton>
<span class="text-sm text-gray-600 dark:text-gray-400">
{{ user?.full_name }}
</span>