🚀
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
  3. Footer

FooterSection

The FooterSection component organizes a group of related links under a section title, making it easier to categorize and present navigational or informational links within the footer.

Props

Prop
Type
Description

title

string

The title of the footer section, displayed above the links.

links

Link[]

An array of link objects, each with a title and link (URL).

Link Object Structure

Field
Type
Description

title

string

The text displayed for the link.

link

string

The URL the link points to.

Dependencies

The FooterSection component does not have any external dependencies.

Key Style Classes

  • Container Styles:

    • flex flex-col gap-1 items-center md:items-start: Centers the content on smaller screens and aligns it to the left on larger screens for a clean, organized appearance.

  • Title Styles:

    • tracking-wider text-xs font-semibold text-neutral-600 uppercase: Styles the section title with uppercase text, spacing between letters, and a subtle color to differentiate it from the links.

  • Link Styles:

    • text-neutral-300 hover:underline text-xs font-extralight: Sets the link text color and weight, adding an underline on hover for a subtle interactive effect.

Usage Example

// Example usage of FooterSection component within the Footer
<FooterSection
  title="Resources"
  links={[
    { title: "Blog", link: "/blog" },
    { title: "Docs", link: "/docs" },
    { title: "Contact Us", link: "/contact" }
  ]}
/>

Additional Notes

  • Customizable Links: The links array can hold any number of links, making this component flexible for various footer content needs.

  • Responsive Alignment: The alignment adjusts based on screen size, making the links easy to read on all devices.


This documentation should cover all aspects of the FooterSection component.

PreviousFooterNextLogin

Last updated 6 months ago

📦