Spaces:
Build error
Build error
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +48 -0
components/Header.jsx
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { Bell, Github, ExternalLink, Sparkles } from 'lucide-react';
|
| 2 |
+
|
| 3 |
+
export default function Header() {
|
| 4 |
+
return (
|
| 5 |
+
<header className="sticky top-0 z-50 border-b border-white/[0.06] bg-zinc-950/75 backdrop-blur-xl">
|
| 6 |
+
<div className="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8">
|
| 7 |
+
<div className="flex h-16 items-center justify-between">
|
| 8 |
+
<div className="flex items-center gap-3">
|
| 9 |
+
<div className="relative flex h-9 w-9 items-center justify-center rounded-xl bg-gradient-to-br from-indigo-500 to-purple-500 shadow-lg shadow-indigo-500/20">
|
| 10 |
+
<Bell className="h-4 w-4 text-white" />
|
| 11 |
+
<div className="absolute -top-0.5 -right-0.5 h-2.5 w-2.5 rounded-full bg-emerald-400 ring-2 ring-zinc-950" />
|
| 12 |
+
</div>
|
| 13 |
+
<div className="flex flex-col">
|
| 14 |
+
<span className="text-sm font-bold tracking-tight text-white">
|
| 15 |
+
AlertPlayground
|
| 16 |
+
</span>
|
| 17 |
+
<span className="text-[10px] font-medium tracking-widest uppercase text-zinc-500">
|
| 18 |
+
Animation Engine
|
| 19 |
+
</span>
|
| 20 |
+
</div>
|
| 21 |
+
</div>
|
| 22 |
+
|
| 23 |
+
<div className="flex items-center gap-3">
|
| 24 |
+
<a
|
| 25 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 26 |
+
target="_blank"
|
| 27 |
+
rel="noopener noreferrer"
|
| 28 |
+
className="hidden sm:inline-flex items-center gap-1.5 text-xs font-medium text-zinc-500 hover:text-indigo-400 transition-colors duration-300"
|
| 29 |
+
>
|
| 30 |
+
<Sparkles className="h-3.5 w-3.5" />
|
| 31 |
+
Built with anycoder
|
| 32 |
+
</a>
|
| 33 |
+
<div className="h-4 w-px bg-white/[0.08]" />
|
| 34 |
+
<a
|
| 35 |
+
href="https://github.com"
|
| 36 |
+
target="_blank"
|
| 37 |
+
rel="noopener noreferrer"
|
| 38 |
+
className="inline-flex h-8 w-8 items-center justify-center rounded-lg text-zinc-500 transition-all duration-300 hover:bg-white/[0.05] hover:text-white"
|
| 39 |
+
aria-label="GitHub"
|
| 40 |
+
>
|
| 41 |
+
<Github className="h-4 w-4" />
|
| 42 |
+
</a>
|
| 43 |
+
</div>
|
| 44 |
+
</div>
|
| 45 |
+
</div>
|
| 46 |
+
</header>
|
| 47 |
+
);
|
| 48 |
+
}
|