1
0

feat: router, tab shell, setup and login pages

This commit is contained in:
2026-08-29 19:50:10 +02:00
parent fdf200a960
commit bda43ce237
10 changed files with 413 additions and 7 deletions

View File

@@ -0,0 +1,14 @@
import { useAuth } from '../auth'
export default function SettingsPage() {
const { user, onLogout } = useAuth()
return (
<section>
<h2 className="mb-2 text-sm font-semibold uppercase tracking-wide text-neutral-400">Settings</h2>
<p>Account</p>
<p className="text-neutral-400">
{user?.username} {user?.isAdmin ? '(admin)' : ''}
</p>
</section>
)
}