import { ReactNode } from "react"; import { Eye, MessageCircleCode } from "lucide-react"; import { BRAND_LOGO_SRC, BRAND_NAME } from "@/lib/branding"; import { Button } from "@/components/ui/button"; import classNames from "classnames"; import Image from "next/image"; const TABS = [ { value: "chat", label: "Chat", icon: MessageCircleCode, }, { value: "preview", label: "Preview", icon: Eye, }, ]; export function Header({ tab, onNewTab, children, }: { tab: string; onNewTab: (tab: string) => void; children?: ReactNode; }) { return (

{`${BRAND_NAME}

{BRAND_NAME} {" "} v1

{TABS.map((item) => ( ))}
{children}
); }