import Link from 'next/link' import React from 'react' import { Button, cn } from 'ui' import SectionContainer from '@/components/Layouts/SectionContainer' interface Props { id: string title: string | React.ReactNode subtitle?: string notice?: { title: string body: React.ReactNode } primaryCta?: { label: string url: string target?: string icon?: React.ReactNode } secondaryCta?: { label: string url: string } image?: { dark: string light: string } className?: string } const CtaSection = ({ id, title, subtitle, notice, primaryCta, secondaryCta, className, }: Props) => { return (

{title}

{subtitle &&

{subtitle}

} {notice && (

{notice.title}

{notice.body}

)} {(primaryCta || secondaryCta) && (
{primaryCta && ( )} {secondaryCta && ( )}
)}
) } export default CtaSection