"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { ThemeToggle } from "./theme-toggle"; import { cn } from "@/lib/utils"; export function Header() { const pathname = usePathname(); const isActive = (href: string) => { if (href === "/playground") { return pathname === "/playground"; } if (href === "/docs") { return pathname.startsWith("/docs"); } return false; }; return (
json-render
); }