"use client"

import Link from "next/link"
import { MonitorPlay } from "lucide-react"

export function NavHeader() {
    return (
        <header className="border-b bg-muted/40">
            <div className="flex h-14 items-center gap-4 px-6 lg:h-[60px] max-w-7xl mx-auto">
                <Link className="flex items-center gap-2 font-semibold" href="/">
                    <MonitorPlay className="h-6 w-6" />
                    <span className="">股票分析 AI</span>
                </Link>
                <nav className="ml-auto flex items-center gap-4 sm:gap-6">
                    <Link className="text-sm font-medium hover:underline underline-offset-4" href="/">
                        主页
                    </Link>
                    <Link className="text-sm font-medium hover:underline underline-offset-4" href="/config">
                        配置
                    </Link>
                </nav>
            </div>
        </header>
    )
}
