import type { AssembledProposal } from "@/lib/proposal/assemble"; import type { ProposalContent } from "@/lib/proposal/schema"; type Props = { vision: ProposalContent["vision"]; header: AssembledProposal["header"]; }; export function VisionSection({ vision, header }: Props) { const words = vision.headline.split(" "); const mid = Math.floor(words.length / 2); return (

Dove andiamo

{words.slice(0, mid).join(" ")}{" "} {words.slice(mid).join(" ")}

{vision.body}

{header.clientName} × {header.consultantName}

); }