import Link from "next/link";

export function Header() {
  return (
    <header className="sticky top-0 z-50 backdrop-blur-sm border-b border-border bg-background/80">
      <div className="max-w-5xl mx-auto px-6 h-14 flex justify-between items-center">
        <Link href="/" className="font-semibold hover:opacity-70 transition-opacity">
          json-render
        </Link>
        <nav className="flex gap-6 items-center text-sm">
          <Link
            href="/docs"
            className="text-muted-foreground hover:text-foreground transition-colors"
          >
            Docs
          </Link>
          <a
            href="https://github.com/vercel-labs/json-render"
            target="_blank"
            rel="noopener noreferrer"
            className="text-muted-foreground hover:text-foreground transition-colors"
          >
            GitHub
          </a>
        </nav>
      </div>
    </header>
  );
}
