Spaces:
Sleeping
Sleeping
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +21 -0
components/Header.jsx
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Link from 'next/link';
|
| 2 |
+
|
| 3 |
+
export default function Header() {
|
| 4 |
+
return (
|
| 5 |
+
<header className="w-full bg-white shadow-sm border-b border-gray-100">
|
| 6 |
+
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between">
|
| 7 |
+
<div className="text-xl font-bold text-gray-900">
|
| 8 |
+
Hi App
|
| 9 |
+
</div>
|
| 10 |
+
<Link
|
| 11 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 12 |
+
target="_blank"
|
| 13 |
+
rel="noopener noreferrer"
|
| 14 |
+
className="text-sm text-blue-600 hover:text-blue-800 hover:underline transition-colors"
|
| 15 |
+
>
|
| 16 |
+
Built with anycoder
|
| 17 |
+
</Link>
|
| 18 |
+
</div>
|
| 19 |
+
</header>
|
| 20 |
+
);
|
| 21 |
+
}
|