Breadcrumbs

This commit is contained in:
headlesdev
2025-05-17 19:51:32 +02:00
parent ec8c5ffc03
commit c37bf1d9f9
3 changed files with 39 additions and 5 deletions

View File

@@ -7,11 +7,15 @@ interface DashboardPageProps {
name: string;
}
export default function DashboardPage({ username, name }: DashboardPageProps) {
export default function DashboardPage({ username, name }: DashboardPageProps) {
return (
<div>
<Sidebar username={username} fullName={name}>
<main>
<Sidebar
username={username}
fullName={name}
breadcrumbPath={['Home', 'Dashboard']}
>
<main className="pl-4">
<h1>Dashboard</h1>
</main>
</Sidebar>