CoreControl/app/dashboard/DashboardPage.tsx
2025-05-17 20:17:39 +02:00

24 lines
535 B
TypeScript

"use client";
import Sidebar from "@/components/Sidebar";
interface DashboardPageProps {
username: string;
name: string;
}
export default function DashboardPage({ username, name }: DashboardPageProps) {
return (
<div>
<Sidebar
username={username}
fullName={name}
breadcrumbPath={['/', 'Dashboard']}
>
<main>
<h1>Dashboard</h1>
</main>
</Sidebar>
</div>
);
}