Spaces:
Build error
Build error
Upload components/Layout.js with huggingface_hub
Browse files- components/Layout.js +14 -0
components/Layout.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Header from './Header'
|
| 2 |
+
import Footer from './Footer'
|
| 3 |
+
|
| 4 |
+
export default function Layout({ children }) {
|
| 5 |
+
return (
|
| 6 |
+
<div className="min-h-screen bg-gray-50 flex flex-col">
|
| 7 |
+
<Header />
|
| 8 |
+
<div className="flex-grow">
|
| 9 |
+
{children}
|
| 10 |
+
</div>
|
| 11 |
+
<Footer />
|
| 12 |
+
</div>
|
| 13 |
+
)
|
| 14 |
+
}
|