import Image from "next/image"; type VisualPlateProps = { title: string; eyebrow: string; index: string; asset: string; priority?: boolean; variant?: "hero" | "tile"; }; export function VisualPlate({ title, eyebrow, index, asset, priority = false, variant = "tile" }: VisualPlateProps) { const words = title.split(" "); const last = words.at(-1); const rest = words.slice(0, -1).join(" "); const isHero = variant === "hero"; return (
{index} {eyebrow}

{rest} {last}

); }