import React from 'react'; import Link from '@docusaurus/Link'; import styles from './styles.module.css'; interface CtaLink { label: string; href: string; primary?: boolean; } interface HeroSectionProps { title: string; subtitle: string; cta?: CtaLink[]; } export default function HeroSection({ title, subtitle, cta, }: HeroSectionProps): React.ReactElement { return (

{title}

{subtitle}

{cta && cta.length > 0 && (
{cta.map((link) => ( {link.label} ))}
)}
); }