Components
CTA
The CTA component is a reusable Angular component designed to highlight a call-to-action with engaging text and a checkout button.
Features
- Engaging Design: Features bold headings and a dynamic call-to-action message.
- Customizable Background: Includes a gradient overlay and background image for visual appeal.
- Responsive Layout: Adapts seamlessly to various screen sizes.
- Integrated Button: Includes a checkout button for immediate action.
Usage
Step 1: Import the Component
Add the CtaComponent to your Angular project by including it in your module or component imports array.
Step 2: Add the Template
Include the Cta component in your template:
Component Structure
HTML Template
The default structure includes:
- Heading: A bold, eye-catching title encouraging action.
- Subtext: A smaller paragraph reinforcing the call-to-action.
- Checkout Button: A central button for immediate engagement.
Example Template
Notes
- The Cta component is designed to grab user attention and drive conversions with a strong message and an integrated checkout button.
- The background image and text content can be easily customized for different use cases.