Last updated
Last updated
All available props for the Cta1 component are defined and handled within Component usage path file. This allows for easy modifications to the content of the cta section.
Component path: src/blocks/cta/Cta1.tsx
Component usage path: src/app/blocks/cta/cta1/page.tsx
Preview link:
bgImage
BgImageProps
(Optional)
URL of the background image for the GraphicsCard
. Optional.
Sets the background image of the card.
heading
string
Main heading text displayed in the card. Required.
Displays the primary message in the card.
primaryBtn
ButtonProps
Properties for the primary button, such as text, style, and click handlers. Required.
Renders a button for user interaction or action.
The Cta1 renders a call-to-action section featuring a background image with a gradient overlay, a heading, and a primary button, all within a responsive layout provided by Material-UI components.