Spaces:
Build error
Build error
Upload components/Layout.jsx with huggingface_hub
Browse files- components/Layout.jsx +27 -0
components/Layout.jsx
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Head from 'next/head'
|
| 2 |
+
import Link from 'next/link'
|
| 3 |
+
|
| 4 |
+
export default function Layout({ children }) {
|
| 5 |
+
return (
|
| 6 |
+
<div className="min-h-screen bg-gray-100">
|
| 7 |
+
<Head>
|
| 8 |
+
<title>GFHGGFHGFH</title>
|
| 9 |
+
<meta name="description" content="Generated by create next app" />
|
| 10 |
+
<link rel="icon" href="/favicon.ico" />
|
| 11 |
+
</Head>
|
| 12 |
+
|
| 13 |
+
<header className="bg-white shadow-sm">
|
| 14 |
+
<div className="max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8 flex justify-between items-center">
|
| 15 |
+
<h1 className="text-2xl font-bold text-gray-900">GFHGGFHGFH</h1>
|
| 16 |
+
<Link href="https://huggingface.co/spaces/akhaliq/anycoder" className="text-blue-600 hover:text-blue-800">
|
| 17 |
+
Built with anycoder
|
| 18 |
+
</Link>
|
| 19 |
+
</div>
|
| 20 |
+
</header>
|
| 21 |
+
|
| 22 |
+
<main className="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
|
| 23 |
+
{children}
|
| 24 |
+
</main>
|
| 25 |
+
</div>
|
| 26 |
+
)
|
| 27 |
+
}
|