import { PageSection } from "@/components/section/PageSection";
import { MOCK_CLINIC_SNAPSHOT } from "@/features/report/constants/mock_clinic_snapshot";
import type { ClinicSnapshot } from "@/features/report/types/clinicSnapshot";
import { ClinicCertificationsBlock } from "@/features/report/ui/clinic/ClinicCertificationsBlock";
import { ClinicInfoStatGrid } from "@/features/report/ui/clinic/ClinicInfoStatGrid";
import { ClinicLeadDoctorPanel } from "@/features/report/ui/clinic/ClinicLeadDoctorPanel";

type ReportClinicSectionProps = {
  data?: ClinicSnapshot;
};

export function ReportClinicSection({ data = MOCK_CLINIC_SNAPSHOT }: ReportClinicSectionProps) {
  return (
    <PageSection id="clinic-snapshot" title="Clinic Overview" subtitle="병원 기본 정보">
      <ClinicInfoStatGrid data={data} />
      <ClinicLeadDoctorPanel data={data} />
      <ClinicCertificationsBlock tags={data.certifications} />
    </PageSection>
  );
}
