forked from fahrPool/fahrPool
feat: restyle dashboard page
This commit is contained in:
parent
133308adf8
commit
1c1699c5f7
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue