Spaces:
Build error
Build error
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +35 -0
components/Header.jsx
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const Header = () => (
|
| 2 |
+
<header className="bg-gradient-to-r from-blue-600 to-indigo-700 py-6 text-white shadow-md">
|
| 3 |
+
<div className="container mx-auto px-4">
|
| 4 |
+
<div className="flex items-center justify-between">
|
| 5 |
+
<div className="flex items-center space-x-3">
|
| 6 |
+
<div className="rounded-lg bg-white bg-opacity-20 p-2">
|
| 7 |
+
<svg
|
| 8 |
+
className="h-8 w-8 text-white"
|
| 9 |
+
fill="none"
|
| 10 |
+
stroke="currentColor"
|
| 11 |
+
viewBox="0 0 24 24"
|
| 12 |
+
xmlns="http://www.w3.org/2000/svg"
|
| 13 |
+
>
|
| 14 |
+
<path
|
| 15 |
+
strokeLinecap="round"
|
| 16 |
+
strokeLinejoin="round"
|
| 17 |
+
strokeWidth="2"
|
| 18 |
+
d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
|
| 19 |
+
/>
|
| 20 |
+
</svg>
|
| 21 |
+
</div>
|
| 22 |
+
<h1 className="text-2xl font-bold">Print Modal Demo</h1>
|
| 23 |
+
</div>
|
| 24 |
+
<a
|
| 25 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 26 |
+
target="_blank"
|
| 27 |
+
rel="noopener noreferrer"
|
| 28 |
+
className="rounded-md bg-white bg-opacity-20 px-3 py-1 text-sm font-medium text-white hover:bg-opacity-30"
|
| 29 |
+
>
|
| 30 |
+
Built with anycoder
|
| 31 |
+
</a>
|
| 32 |
+
</div>
|
| 33 |
+
</div>
|
| 34 |
+
</header>
|
| 35 |
+
);
|