"use client"

import { Button } from "@/components/ui/button"
import { Plus, FileText, TrendingUp } from "lucide-react"
import { useRouter } from "next/navigation"

export function BiddingsPageHeader() {
  const router = useRouter()

  return (
    <div className="flex items-center justify-between">
      {/* 좌측: 제목과 설명 */}
      <div className="space-y-1">
        <h1 className="text-3xl font-bold tracking-tight">입찰 목록 관리</h1>
        <p className="text-muted-foreground">
          입찰 공고를 생성하고 진행 상황을 관리할 수 있습니다.
        </p>
      </div>

      {/* 우측: 액션 버튼들 */}
      <div className="flex items-center gap-2">
        <Button
          variant="outline"
          onClick={() => router.push('/evcp/biddings/analytics')}
        >
          <TrendingUp className="mr-2 h-4 w-4" />
          분석 보기
        </Button>
        
        <Button
          variant="outline"
          onClick={() => router.push('/evcp/bidding-notice')}
        >
          <FileText className="mr-2 h-4 w-4" />
          공고문 템플릿
        </Button>

      </div>
    </div>
  )
}