Spaces:
Build error
Build error
Upload components/Header.js with huggingface_hub
Browse files- components/Header.js +30 -0
components/Header.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Link from 'next/link'
|
| 2 |
+
|
| 3 |
+
export default function Header() {
|
| 4 |
+
return (
|
| 5 |
+
<header className="bg-white shadow-sm">
|
| 6 |
+
<div className="container mx-auto px-4 py-4 flex justify-between items-center">
|
| 7 |
+
<div className="flex items-center space-x-2">
|
| 8 |
+
<FiTool className="text-primary" size={24} />
|
| 9 |
+
<Link href="/" className="text-xl font-bold text-gray-900">
|
| 10 |
+
ToolSentry
|
| 11 |
+
</Link>
|
| 12 |
+
</div>
|
| 13 |
+
<nav className="hidden md:flex space-x-6">
|
| 14 |
+
<Link href="/" className="text-gray-600 hover:text-primary transition">
|
| 15 |
+
Home
|
| 16 |
+
</Link>
|
| 17 |
+
<Link href="/" className="text-gray-600 hover:text-primary transition">
|
| 18 |
+
Tools
|
| 19 |
+
</Link>
|
| 20 |
+
<Link href="/" className="text-gray-600 hover:text-primary transition">
|
| 21 |
+
About
|
| 22 |
+
</Link>
|
| 23 |
+
</nav>
|
| 24 |
+
<button className="bg-primary text-white px-4 py-2 rounded-md hover:bg-blue-600 transition">
|
| 25 |
+
Sign In
|
| 26 |
+
</button>
|
| 27 |
+
</div>
|
| 28 |
+
</header>
|
| 29 |
+
)
|
| 30 |
+
}
|