feat: add dashboard page with Nuxt UI components and verified middleware
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user