File size: 952 Bytes
a8d792f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import { ThemeToggle } from "./theme-toggle"

export function Header() {
  return (
    <header className="w-full border-b">
      <div className="container mx-auto flex h-16 items-center justify-between px-4 md:px-6">
        <div className="flex items-center gap-6">
          <h1 className="text-2xl font-bold">LeRobot.js</h1>
          <div className="flex items-center gap-2 text-primary font-mono text-sm">
            <span className="text-xs text-muted-foreground font-mono">
              interact with your robot in JS, inspired by{" "}
              <a
                href="https://huggingface.co/docs/lerobot"
                target="_blank"
                rel="noopener noreferrer"
                className="text-primary hover:text-accent transition-colors underline"
              >
                LeRobot
              </a>
            </span>
          </div>
        </div>
        <ThemeToggle />
      </div>
    </header>
  )
}