Spaces:
Build error
Build error
Upload components/Layout.js with huggingface_hub
Browse files- components/Layout.js +16 -0
components/Layout.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Sidebar from './Sidebar';
|
| 2 |
+
import Header from './Header';
|
| 3 |
+
|
| 4 |
+
export default function Layout({ children, title, subtitle }) {
|
| 5 |
+
return (
|
| 6 |
+
<div className="min-h-screen flex bg-brutal-white">
|
| 7 |
+
<Sidebar />
|
| 8 |
+
<main className="flex-1 min-w-0">
|
| 9 |
+
<Header title={title} subtitle={subtitle} />
|
| 10 |
+
<div className="p-6 max-w-7xl mx-auto">
|
| 11 |
+
{children}
|
| 12 |
+
</div>
|
| 13 |
+
</main>
|
| 14 |
+
</div>
|
| 15 |
+
);
|
| 16 |
+
}
|