2025-05-17 19:33:52 +02:00
|
|
|
"use client";
|
2025-05-17 17:38:03 +02:00
|
|
|
|
2025-05-17 19:33:52 +02:00
|
|
|
import Sidebar from "@/components/Sidebar";
|
2025-05-17 17:38:03 +02:00
|
|
|
|
2025-05-17 19:33:52 +02:00
|
|
|
interface DashboardPageProps {
|
|
|
|
|
username: string;
|
|
|
|
|
name: string;
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-17 19:51:32 +02:00
|
|
|
export default function DashboardPage({ username, name }: DashboardPageProps) {
|
2025-05-17 17:38:03 +02:00
|
|
|
return (
|
|
|
|
|
<div>
|
2025-05-17 19:51:32 +02:00
|
|
|
<Sidebar
|
|
|
|
|
username={username}
|
|
|
|
|
fullName={name}
|
2025-05-17 20:17:39 +02:00
|
|
|
breadcrumbPath={['/', 'Dashboard']}
|
2025-05-17 19:51:32 +02:00
|
|
|
>
|
2025-05-17 20:17:39 +02:00
|
|
|
<main>
|
2025-05-17 19:33:52 +02:00
|
|
|
<h1>Dashboard</h1>
|
|
|
|
|
</main>
|
|
|
|
|
</Sidebar>
|
2025-05-17 17:38:03 +02:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|