Spaces:
Build error
Build error
Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +45 -0
components/Header.jsx
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { Camera, Github, Sparkles } from 'lucide-react';
|
| 2 |
+
import Link from 'next/link';
|
| 3 |
+
|
| 4 |
+
export default function Header() {
|
| 5 |
+
return (
|
| 6 |
+
<header className="fixed top-0 left-0 right-0 z-50 glass-panel border-b border-slate-800">
|
| 7 |
+
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 8 |
+
<div className="flex items-center justify-between h-16">
|
| 9 |
+
<div className="flex items-center gap-3">
|
| 10 |
+
<div className="p-2 bg-indigo-600 rounded-lg">
|
| 11 |
+
<Camera className="w-5 h-5 text-white" />
|
| 12 |
+
</div>
|
| 13 |
+
<div>
|
| 14 |
+
<h1 className="text-xl font-bold bg-gradient-to-r from-indigo-400 to-cyan-400 bg-clip-text text-transparent">
|
| 15 |
+
Gaussian Worlds
|
| 16 |
+
</h1>
|
| 17 |
+
<p className="text-xs text-slate-400">360° Capture Viewer</p>
|
| 18 |
+
</div>
|
| 19 |
+
</div>
|
| 20 |
+
|
| 21 |
+
<div className="flex items-center gap-4">
|
| 22 |
+
<Link
|
| 23 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 24 |
+
target="_blank"
|
| 25 |
+
rel="noopener noreferrer"
|
| 26 |
+
className="flex items-center gap-2 px-4 py-2 text-sm font-medium text-indigo-300 hover:text-indigo-200 transition-colors group"
|
| 27 |
+
>
|
| 28 |
+
<Sparkles className="w-4 h-4 group-hover:animate-pulse" />
|
| 29 |
+
<span>Built with anycoder</span>
|
| 30 |
+
</Link>
|
| 31 |
+
|
| 32 |
+
<a
|
| 33 |
+
href="https://github.com"
|
| 34 |
+
target="_blank"
|
| 35 |
+
rel="noopener noreferrer"
|
| 36 |
+
className="p-2 text-slate-400 hover:text-white transition-colors"
|
| 37 |
+
>
|
| 38 |
+
<Github className="w-5 h-5" />
|
| 39 |
+
</a>
|
| 40 |
+
</div>
|
| 41 |
+
</div>
|
| 42 |
+
</div>
|
| 43 |
+
</header>
|
| 44 |
+
);
|
| 45 |
+
}
|