1
0
Fork 0

feat: restyle dashboard page

This commit is contained in:
Jonny 2026-07-06 12:09:23 +02:00
parent 133308adf8
commit 1c1699c5f7
1 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,5 @@
import { loadProfile } from "@/lib/auth/profile";
import { Card } from "@/components/ui/Card";
export default async function DashboardPage() {
const result = await loadProfile();
@ -8,11 +9,13 @@ export default async function DashboardPage() {
}
return (
<div>
<h1>Dashboard</h1>
<p>
Eingeloggt als {result.profile.name} ({result.profile.role})
</p>
<div className="mx-auto max-w-2xl p-4 md:p-8">
<Card>
<h1 className="text-xl font-semibold text-asphalt-grey">Dashboard</h1>
<p className="mt-2 text-asphalt-grey">
Eingeloggt als {result.profile.name} ({result.profile.role})
</p>
</Card>
</div>
);
}