--- /** * Shared CTA (Call to Action) Section component */ import Container from '../atoms/Container.astro'; import Button from '../atoms/Button.astro'; interface CTA { text: string; href: string; variant?: 'primary' | 'secondary' | 'outline' | 'ghost'; } interface Props { title: string; subtitle?: string; primaryCta?: CTA; secondaryCta?: CTA; variant?: 'default' | 'highlighted' | 'minimal'; class?: string; id?: string; } const { title, subtitle, primaryCta, secondaryCta, variant = 'default', class: className = '', id, } = Astro.props; const variantStyles = { default: 'bg-[var(--color-background-page)]', highlighted: 'bg-[var(--color-primary)]/10 border-y border-[var(--color-primary)]/20', minimal: '', }; ---

{title}

{ subtitle && (

{subtitle}

) } { (primaryCta || secondaryCta) && (
{primaryCta && ( )} {secondaryCta && ( )}
) }