Upload components/Header.jsx with huggingface_hub
Browse files- components/Header.jsx +12 -3
components/Header.jsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import Link from 'next/link';
|
| 2 |
-
import { Github, Cpu } from 'lucide-react';
|
| 3 |
|
| 4 |
-
export default function Header() {
|
| 5 |
return (
|
| 6 |
<header className="h-[64px] bg-panel/80 backdrop-blur-md border-b border-border flex items-center justify-between px-6 z-50 relative">
|
| 7 |
<div className="flex items-center gap-3">
|
|
@@ -13,7 +13,16 @@ export default function Header() {
|
|
| 13 |
</h1>
|
| 14 |
</div>
|
| 15 |
|
| 16 |
-
<div className="flex items-center gap-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
<Link
|
| 18 |
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 19 |
target="_blank"
|
|
|
|
| 1 |
import Link from 'next/link';
|
| 2 |
+
import { Github, Cpu, HelpCircle } from 'lucide-react';
|
| 3 |
|
| 4 |
+
export default function Header({ onOpenHelp }) {
|
| 5 |
return (
|
| 6 |
<header className="h-[64px] bg-panel/80 backdrop-blur-md border-b border-border flex items-center justify-between px-6 z-50 relative">
|
| 7 |
<div className="flex items-center gap-3">
|
|
|
|
| 13 |
</h1>
|
| 14 |
</div>
|
| 15 |
|
| 16 |
+
<div className="flex items-center gap-4">
|
| 17 |
+
<button
|
| 18 |
+
onClick={onOpenHelp}
|
| 19 |
+
className="flex items-center gap-2 text-muted hover:text-primary transition-colors text-sm font-medium px-3 py-1.5 rounded hover:bg-surface/50"
|
| 20 |
+
title="Open Tutorial"
|
| 21 |
+
>
|
| 22 |
+
<HelpCircle size={16} />
|
| 23 |
+
<span className="hidden sm:inline">Tutorial</span>
|
| 24 |
+
</button>
|
| 25 |
+
|
| 26 |
<Link
|
| 27 |
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 28 |
target="_blank"
|