Spaces:
Build error
Build error
Upload components/Header.js with huggingface_hub
Browse files- components/Header.js +28 -0
components/Header.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function Header() {
|
| 2 |
+
return (
|
| 3 |
+
<header className="bg-white shadow-sm border-b border-gray-200">
|
| 4 |
+
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 5 |
+
<div className="flex justify-between items-center h-16">
|
| 6 |
+
<div className="flex items-center">
|
| 7 |
+
<h1 className="text-2xl font-bold text-gray-900">
|
| 8 |
+
Tech Stocks Dashboard
|
| 9 |
+
</h1>
|
| 10 |
+
</div>
|
| 11 |
+
<div className="flex items-center space-x-4">
|
| 12 |
+
<span className="text-sm text-gray-500">
|
| 13 |
+
Last updated: {new Date().toLocaleTimeString()}
|
| 14 |
+
</span>
|
| 15 |
+
<a
|
| 16 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 17 |
+
target="_blank"
|
| 18 |
+
rel="noopener noreferrer"
|
| 19 |
+
className="text-sm text-primary-600 hover:text-primary-700 font-medium"
|
| 20 |
+
>
|
| 21 |
+
Built with anycoder
|
| 22 |
+
</a>
|
| 23 |
+
</div>
|
| 24 |
+
</div>
|
| 25 |
+
</div>
|
| 26 |
+
</header>
|
| 27 |
+
)
|
| 28 |
+
}
|