Spaces:
Build error
Build error
Upload components/Header.js with huggingface_hub
Browse files- components/Header.js +26 -0
components/Header.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { ExternalLink } from 'lucide-react';
|
| 2 |
+
|
| 3 |
+
export default function Header() {
|
| 4 |
+
return (
|
| 5 |
+
<header className="border-b border-slate-800 bg-slate-900/50 backdrop-blur-sm sticky top-0 z-50">
|
| 6 |
+
<div className="max-w-7xl mx-auto px-6 py-4 flex justify-between items-center">
|
| 7 |
+
<div className="flex items-center gap-2">
|
| 8 |
+
<div className="bg-blue-600 p-2 rounded-lg">
|
| 9 |
+
<Database size={20} className="text-white" />
|
| 10 |
+
</div>
|
| 11 |
+
<span className="text-xl font-bold text-white tracking-tight">Perplexity<span className="text-blue-500">Export</span></span>
|
| 12 |
+
</div>
|
| 13 |
+
|
| 14 |
+
<a
|
| 15 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 16 |
+
target="_blank"
|
| 17 |
+
rel="noopener noreferrer"
|
| 18 |
+
className="text-sm text-slate-400 hover:text-white transition-colors flex items-center gap-1 bg-slate-800 px-3 py-1.5 rounded-full border border-slate-700 hover:border-slate-500"
|
| 19 |
+
>
|
| 20 |
+
Built with anycoder
|
| 21 |
+
<ExternalLink size={14} />
|
| 22 |
+
</a>
|
| 23 |
+
</div>
|
| 24 |
+
</header>
|
| 25 |
+
);
|
| 26 |
+
}
|