File size: 1,496 Bytes
c5603a9
0635eda
c5603a9
0635eda
c5603a9
 
 
 
 
 
 
 
 
 
 
0635eda
 
 
 
 
 
 
 
 
 
c5603a9
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import Link from 'next/link';
import { Github, Cpu, HelpCircle } from 'lucide-react';

export default function Header({ onOpenHelp }) {
  return (
    <header className="h-[64px] bg-panel/80 backdrop-blur-md border-b border-border flex items-center justify-between px-6 z-50 relative">
      <div className="flex items-center gap-3">
        <div className="w-8 h-8 bg-gradient-to-br from-primary to-accent rounded-md flex items-center justify-center text-white font-bold text-lg shadow-lg shadow-primary/20">
          <Cpu size={20} />
        </div>
        <h1 className="text-xl font-bold tracking-tight bg-gradient-to-r from-primary to-accent bg-clip-text text-transparent">
          NeuroArch Studio
        </h1>
      </div>

      <div className="flex items-center gap-4">
        <button 
          onClick={onOpenHelp}
          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"
          title="Open Tutorial"
        >
          <HelpCircle size={16} />
          <span className="hidden sm:inline">Tutorial</span>
        </button>

        <Link 
          href="https://huggingface.co/spaces/akhaliq/anycoder" 
          target="_blank"
          className="flex items-center gap-2 text-muted hover:text-primary transition-colors text-sm font-medium"
        >
          <span>Built with anycoder</span>
          <Github size={14} />
        </Link>
      </div>
    </header>
  );
}