Spaces:
Sleeping
Sleeping
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +29 -0
components/Header.jsx
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function Header() {
|
| 2 |
+
return (
|
| 3 |
+
<header className="bg-white shadow-sm border-b border-slate-200">
|
| 4 |
+
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
|
| 5 |
+
<div className="flex items-center justify-between">
|
| 6 |
+
<div className="flex items-center gap-3">
|
| 7 |
+
<div className="w-10 h-10 bg-gradient-to-br from-primary-500 to-primary-700 rounded-xl flex items-center justify-center shadow-lg">
|
| 8 |
+
<svg className="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 9 |
+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
|
| 10 |
+
</svg>
|
| 11 |
+
</div>
|
| 12 |
+
<div>
|
| 13 |
+
<h1 className="text-2xl font-bold text-slate-800">Calendario de Eventos</h1>
|
| 14 |
+
<p className="text-sm text-slate-500">Organiza tus eventos fácilmente</p>
|
| 15 |
+
</div>
|
| 16 |
+
</div>
|
| 17 |
+
<a
|
| 18 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 19 |
+
target="_blank"
|
| 20 |
+
rel="noopener noreferrer"
|
| 21 |
+
className="text-sm text-primary-600 hover:text-primary-700 font-medium transition-colors duration-200 hover:underline"
|
| 22 |
+
>
|
| 23 |
+
Built with anycoder
|
| 24 |
+
</a>
|
| 25 |
+
</div>
|
| 26 |
+
</div>
|
| 27 |
+
</header>
|
| 28 |
+
);
|
| 29 |
+
}
|