Spaces:
Running
Running
Upload components/Header.js with huggingface_hub
Browse files- components/Header.js +25 -0
components/Header.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Link from 'next/link';
|
| 2 |
+
import { MessageSquare } from 'lucide-react';
|
| 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-glassBorder">
|
| 7 |
+
<div className="container mx-auto px-4 py-3 flex justify-between items-center">
|
| 8 |
+
<div className="flex items-center gap-2">
|
| 9 |
+
<div className="bg-primary/20 p-2 rounded-lg">
|
| 10 |
+
<MessageSquare className="text-primary w-6 h-6" />
|
| 11 |
+
</div>
|
| 12 |
+
<h1 className="text-xl font-bold text-white tracking-tight">چتروم مینیمال</h1>
|
| 13 |
+
</div>
|
| 14 |
+
<Link
|
| 15 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 16 |
+
target="_blank"
|
| 17 |
+
rel="noopener noreferrer"
|
| 18 |
+
className="text-xs text-white/60 hover:text-primary transition-colors duration-200 font-medium"
|
| 19 |
+
>
|
| 20 |
+
Built with anycoder
|
| 21 |
+
</Link>
|
| 22 |
+
</div>
|
| 23 |
+
</header>
|
| 24 |
+
);
|
| 25 |
+
}
|