--- import Badge from '@/components/primitives/Badge.astro'; import Card from '@/components/primitives/Card.astro'; import Cluster from '@/components/primitives/Cluster.astro'; import Container from '@/components/primitives/Container.astro'; import Headline from '@/components/content/Headline.astro'; import HeroDashboard from '@/components/content/HeroDashboard.astro'; import Lead from '@/components/content/Lead.astro'; import Metric from '@/components/content/Metric.astro'; import PrimaryCTA from '@/components/content/PrimaryCTA.astro'; import SecondaryCTA from '@/components/content/SecondaryCTA.astro'; import type { HeroContent, MetricItem } from '@/types/site'; interface Props { calloutDescription?: string; calloutTitle?: string; hero: HeroContent; metrics?: MetricItem[]; } const { calloutDescription, calloutTitle, hero, metrics = [] } = Astro.props; const isHomepageHero = Astro.url.pathname === '/'; const heroHeadlineSize = isHomepageHero ? 'page' : 'display'; const heroLeadSize = isHomepageHero ? 'body' : 'lead'; const heroPrimaryAnchor = hero.primaryAnchor ?? 'headline'; ---
{isHomepageHero ? (
{hero.eyebrow}
{hero.titleHtml ? : hero.title}
{hero.description}
{(hero.primaryCta || hero.secondaryCta) && (
{hero.secondaryCta && ( )}
)}
{hero.visualFocus && (

{hero.visualFocus.eyebrow}

{hero.visualFocus.title}

    {hero.visualFocus.points.map((point) => (
  • {point}
  • ))}
)}
{hero.trustSubclaims && hero.trustSubclaims.length > 0 && (
    {hero.trustSubclaims.map((claim) => (
  • {claim}
  • ))}
)}
) : (
{hero.eyebrow}
{hero.titleHtml ? : hero.title}
{hero.description}
{(hero.primaryCta || hero.secondaryCta) && (
{hero.secondaryCta && ( )}
)} {hero.highlights && hero.highlights.length > 0 && !hero.trustSubclaims?.length && (
    {hero.highlights.map((highlight) => (
  • {highlight}
  • ))}
)}
{hero.productVisual && ( {hero.productVisual.alt} )} {hero.trustSubclaims && hero.trustSubclaims.length > 0 && (

Early trust

    {hero.trustSubclaims.map((claim) => (
  • {claim}
  • ))}
)} {!hero.productVisual && (calloutTitle || calloutDescription) && (

Trust-first launch surface

{calloutTitle && (

{calloutTitle}

)} {calloutDescription && (

{calloutDescription}

)}
)} {metrics.length > 0 && (
{metrics.map((metric) => )}
)}
)}