Spaces:
Sleeping
Sleeping
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +14 -0
components/Header.jsx
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Link from 'next/link'
|
| 2 |
+
|
| 3 |
+
export default function Header() {
|
| 4 |
+
return (
|
| 5 |
+
<header className="bg-gray-800 text-white p-4">
|
| 6 |
+
<div className="container mx-auto flex justify-between items-center">
|
| 7 |
+
<h1 className="text-xl font-bold">RTS Nations Simulator</h1>
|
| 8 |
+
<Link href="https://huggingface.co/spaces/akhaliq/anycoder" className="text-sm hover:underline">
|
| 9 |
+
Built with anycoder
|
| 10 |
+
</Link>
|
| 11 |
+
</div>
|
| 12 |
+
</header>
|
| 13 |
+
)
|
| 14 |
+
}
|