Spaces:
Build error
Build error
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +44 -0
components/Header.jsx
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function Header() {
|
| 2 |
+
return (
|
| 3 |
+
<header className="bg-white dark:bg-gray-800 shadow-sm border-b border-gray-200 dark:border-gray-700">
|
| 4 |
+
<div className="max-w-5xl mx-auto px-4 py-4">
|
| 5 |
+
<div className="flex items-center justify-between">
|
| 6 |
+
<div className="flex items-center space-x-3">
|
| 7 |
+
<div className="w-10 h-10 bg-gradient-to-br from-primary-500 to-primary-600 rounded-xl flex items-center justify-center shadow-lg">
|
| 8 |
+
<svg
|
| 9 |
+
className="w-6 h-6 text-white"
|
| 10 |
+
fill="none"
|
| 11 |
+
stroke="currentColor"
|
| 12 |
+
viewBox="0 0 24 24"
|
| 13 |
+
>
|
| 14 |
+
<path
|
| 15 |
+
strokeLinecap="round"
|
| 16 |
+
strokeLinejoin="round"
|
| 17 |
+
strokeWidth={2}
|
| 18 |
+
d="M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"
|
| 19 |
+
/>
|
| 20 |
+
</svg>
|
| 21 |
+
</div>
|
| 22 |
+
<div>
|
| 23 |
+
<h1 className="text-xl font-bold text-gray-900 dark:text-white">
|
| 24 |
+
AI Chatbot
|
| 25 |
+
</h1>
|
| 26 |
+
<p className="text-sm text-gray-500 dark:text-gray-400">
|
| 27 |
+
Your intelligent assistant
|
| 28 |
+
</p>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
<a
|
| 33 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 34 |
+
target="_blank"
|
| 35 |
+
rel="noopener noreferrer"
|
| 36 |
+
className="text-sm text-primary-600 hover:text-primary-700 dark:text-primary-400 dark:hover:text-primary-300 font-medium transition-colors duration-200"
|
| 37 |
+
>
|
| 38 |
+
Built with anycoder
|
| 39 |
+
</a>
|
| 40 |
+
</div>
|
| 41 |
+
</div>
|
| 42 |
+
</header>
|
| 43 |
+
)
|
| 44 |
+
}
|