feat(web): add dashboard layout with sidebar and header

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Consultoria AS
2026-01-22 02:25:35 +00:00
parent 9d49f8a833
commit 06e9f3eba7
4 changed files with 187 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { Sidebar } from './sidebar';
import { Header } from './header';
interface DashboardShellProps {
children: React.ReactNode;
title: string;
}
export function DashboardShell({ children, title }: DashboardShellProps) {
return (
<div className="min-h-screen bg-background">
<Sidebar />
<div className="pl-64">
<Header title={title} />
<main className="p-6">{children}</main>
</div>
</div>
);
}