πŸš€
eziSaas
Github Repository
  • Welcome
  • πŸ“•GUIDES
    • Getting Started
    • Environment Variables Setup
  • πŸ–₯️SERVER
    • Overview
    • /config/mail.js
    • /controllers/authController.js
    • /routes/payment.js
    • /routes/webhook.js
  • πŸ“¦Components & PAGES
    • Landing
      • Navbar
      • CheckoutButton
      • Hero
      • SellingPoints
        • SellingPoint
        • Filter
      • Title
        • OfferPill
      • Video
      • Pricing
        • PricingCard
      • Faq
        • Accordion
      • FinalMessage
      • Footer
        • FooterSection
    • Login
    • Success
    • Failure
    • Dashboard
      • ChangePassword
  • OTHER
    • Github Repository
Powered by GitBook
On this page
  1. Components & PAGES
  2. Landing

FinalMessage

PreviousAccordionNextFooter

Last updated 6 months ago

The FinalMessage component serves as a concluding section on the landing page, prompting users to take action with a call-to-action (CTA) button. It includes a title, subtitle, optional icon, and a CheckoutButton to encourage user engagement.

Props

Prop
Type
Description

title

string

Main title text, displayed prominently at the top of the component.

subtitle

string

Subtitle text, providing additional context or encouragement.

icon

any

Optional icon displayed above the title, adding visual emphasis.

Dependencies

  • React Icons: Uses IoIosApps as an optional icon within the .

  • Internal Components:

    • : The CTA button that initiates the checkout process.

Key Style Classes

  • Container Styles:

    • w-full flex justify-center items-center: Centers the FinalMessage content within the page.

    • w-fit h-fit flex flex-col gap-9: Ensures that the container adjusts to fit the content, with spacing (gap-9) for layout separation.

  • Icon Positioning:

    • absolute top-[-35px] right-2 rotate-[10deg]: Positions the optional icon with a slight rotation for a dynamic, angled effect.

  • Text Styling:

    • text-3xl md:text-5xl font-semibold text-center: Sizes the main title responsively and centers it within the component.

    • Subtitle: Styled with text-center for consistent alignment beneath the title.

Usage Example

// Example usage of FinalMessage component as a CTA section
<FinalMessage
  title="Let's get started now."
  subtitle="Take advantage of our exclusive offer and begin your journey with us."
  icon={<YourIconComponent />}
/>

Additional Notes

  • Checkout Button:

    • The button content is set to "Get Started" to align with the CTA theme.

  • Responsive Design:

    • The component's title and subtitle scale for different screen sizes, ensuring readability and visual appeal across devices.

  • Icon Customization: The icon prop allows flexibility in adding custom icons above the title, enhancing the component’s visual emphasis.


This documentation covers the FinalMessage component comprehensively.

The has containsIcon set to true, displaying an icon within the button for additional emphasis.

πŸ“¦
CheckoutButton
CheckoutButton
CheckoutButton