Spaces:
Build error
Build error
Download components/Header.jsx from ActuallyCookie/anycoder-6a1e4b3a: direct link, hf CLI and curl.
- Browser
- Download file 2.13 kB
-
https://huggingface.co/spaces/ActuallyCookie/anycoder-6a1e4b3a/resolve/main/components/Header.jsx
- Command line
-
hf download hf://spaces/ActuallyCookie/anycoder-6a1e4b3a/components/Header.jsx
-
curl -L -o Header.jsx https://huggingface.co/spaces/ActuallyCookie/anycoder-6a1e4b3a/resolve/main/components/Header.jsx
2.13 kB
| import { Bell, Github, ExternalLink, Sparkles } from 'lucide-react'; | |
| export default function Header() { | |
| return ( | |
| <header className="sticky top-0 z-50 border-b border-white/[0.06] bg-zinc-950/75 backdrop-blur-xl"> | |
| <div className="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8"> | |
| <div className="flex h-16 items-center justify-between"> | |
| <div className="flex items-center gap-3"> | |
| <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"> | |
| <Bell className="h-4 w-4 text-white" /> | |
| <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" /> | |
| </div> | |
| <div className="flex flex-col"> | |
| <span className="text-sm font-bold tracking-tight text-white"> | |
| AlertPlayground | |
| </span> | |
| <span className="text-[10px] font-medium tracking-widest uppercase text-zinc-500"> | |
| Animation Engine | |
| </span> | |
| </div> | |
| </div> | |
| <div className="flex items-center gap-3"> | |
| <a | |
| href="https://huggingface.co/spaces/akhaliq/anycoder" | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| 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" | |
| > | |
| <Sparkles className="h-3.5 w-3.5" /> | |
| Built with anycoder | |
| </a> | |
| <div className="h-4 w-px bg-white/[0.08]" /> | |
| <a | |
| href="https://github.com" | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| 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" | |
| aria-label="GitHub" | |
| > | |
| <Github className="h-4 w-4" /> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| ); | |
| } |