import { ReactNode } from 'react' import { GradientButton } from '../Buttons/GradientButton' import { Copy } from '../Text/Copy' import { GradientHeader } from '../Text/GradientHeader' import { Heading } from '../Text/Heading' import { block, blockCopy } from './HomeBlockCopy.css' interface HomeBlockCopyProps { subtitle: string title: string children: ReactNode cta?: { label: string href: string } } export const HomeBlockCopy = ({ subtitle, title, children, cta, }: HomeBlockCopyProps) => (
{subtitle} {title} {children} {cta ? {cta.label} : null}
)