Skip to content

CTA

CTA Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<CTA heading={data.cta.heading} content={data.cta.content}>
<Button variant="contained">CTA button</Button>
</CTA>

API Reference

The following are the props that can be passed to the page block.

Prop Type Default
align
"left" | "center" "left"
heading
string
content
string

Examples

Center aligned, with an onclick event (see console)

CTA 2 Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<CTA align="center" heading={data.cta_2.heading} content={data.cta_2.content}>
<Button variant="outlined" onclick='console.log("this works")'>CTA button 2</Button>
</CTA>