import { Progress } from '@/components/ui/Progress' import { formatElectionNumber } from '@/lib/electionFormat' import type { CampaignHomeSummaryView } from '@/utilities/campaignDashboardData' import { formatGoalCoverageRatioLabel, goalCoverageProgressPercent, } from '@/utilities/municipality/goalCoverage' export const CampaignHomeSummary = ({ view }: { view: CampaignHomeSummaryView }) => (

Votos estimados

{formatElectionNumber(view.staffVoteTotalCentral)}

Cobertura por lideranças {formatGoalCoverageRatioLabel(view.goalCoverage)}
{view.goalCoverage.coverageRatio != null ? ( ) : null}
)