Spaces:
Sleeping
Sleeping
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +41 -0
components/Header.jsx
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Link from 'next/link';
|
| 2 |
+
|
| 3 |
+
export default function Header() {
|
| 4 |
+
return (
|
| 5 |
+
<header className="bg-white shadow-sm sticky top-0 z-50">
|
| 6 |
+
<nav className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 7 |
+
<div className="flex justify-between items-center h-16">
|
| 8 |
+
<div className="flex items-center">
|
| 9 |
+
<Link href="/" className="text-2xl font-bold text-primary-600">
|
| 10 |
+
ChromaVector
|
| 11 |
+
</Link>
|
| 12 |
+
</div>
|
| 13 |
+
<div className="hidden md:flex items-center space-x-8">
|
| 14 |
+
<Link href="#services" className="text-gray-700 hover:text-primary-600 transition-colors">
|
| 15 |
+
Services
|
| 16 |
+
</Link>
|
| 17 |
+
<Link href="#advantages" className="text-gray-700 hover:text-primary-600 transition-colors">
|
| 18 |
+
Advantages
|
| 19 |
+
</Link>
|
| 20 |
+
<Link href="#demo" className="text-gray-700 hover:text-primary-600 transition-colors">
|
| 21 |
+
Demo
|
| 22 |
+
</Link>
|
| 23 |
+
<Link href="#contact" className="text-gray-700 hover:text-primary-600 transition-colors">
|
| 24 |
+
Contact
|
| 25 |
+
</Link>
|
| 26 |
+
</div>
|
| 27 |
+
<div className="flex items-center">
|
| 28 |
+
<a
|
| 29 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 30 |
+
target="_blank"
|
| 31 |
+
rel="noopener noreferrer"
|
| 32 |
+
className="text-sm text-gray-500 hover:text-primary-600 transition-colors"
|
| 33 |
+
>
|
| 34 |
+
Built with anycoder
|
| 35 |
+
</a>
|
| 36 |
+
</div>
|
| 37 |
+
</div>
|
| 38 |
+
</nav>
|
| 39 |
+
</header>
|
| 40 |
+
);
|
| 41 |
+
}
|