--- import { Icon } from 'astro-icon/components'; const { title = await Astro.slots.render('title'), subtitle = await Astro.slots.render('subtitle'), tagline, content = await Astro.slots.render('content'), callToAction = await Astro.slots.render('callToAction'), callToAction2 = await Astro.slots.render('callToAction2'), } = Astro.props; ---
{tagline && (

)} { title && (

) }
{subtitle &&

}

{ callToAction && (
{typeof callToAction === 'string' ? ( ) : ( {callToAction?.icon && ( <> )} {callToAction?.text} )}
) } { callToAction2 && (
{typeof callToAction2 === 'string' ? ( ) : ( {callToAction2?.icon && ( <>   )} {callToAction2.text} )}
) }
{content && }