--- import { Icon } from "astro-iconset/components"; interface Props { node: { _key?: string; headline?: string; subheadline?: string; features: Array<{ icon: string; title: string; description: string; }>; }; } const { node } = Astro.props; const { _key, headline, subheadline, features } = node; const iconMap: Record = { zap: "ph:lightning", shield: "ph:shield-check", users: "ph:users-three", chart: "ph:chart-bar", code: "ph:code", globe: "ph:globe", heart: "ph:heart", star: "ph:star", check: "ph:check-circle", lock: "ph:lock", clock: "ph:clock", cloud: "ph:cloud", }; ---
{(headline || subheadline) && (
{headline &&

{headline}

} {subheadline &&

{subheadline}

}
)}
{features.map((feature) => (

{feature.title}

{feature.description}

))}