Footer
The Footer
component provides a structured footer for the application, including branding, copyright information, and organized links for navigation and legal references. This component serves as the final section on the landing page.
Props
The Footer
component does not accept any props.
Dependencies
React Icons: Uses
IoIosApps
as the app icon within the branding area.Internal Components:
FooterSection
: Displays grouped links under a title, organizing the footer into different sections.
Key Style Classes
Container Styles:
w-full flex justify-center py-10 border-t border-neutral-900
: Creates a full-width footer with top border and padding for spacing.flex flex-col gap-10 md:flex-row
: Arranges content in a column on smaller screens and in a row on larger screens for a responsive layout.
Branding:
flex gap-2 justify-center items-center
: Centers the app icon and name in a compact layout.Text:
font-semibold text-lg
for the app name andtext-neutral-500 font-light text-sm
for the copyright.
Usage Example
// Usage of Footer component at the bottom of the main layout or page
<Footer />
Additional Notes
Responsive Layout:
The footer layout adapts for mobile and desktop views, positioning items in a column on mobile and row on desktop to optimize space.
Footer Sections:
The
FooterSection
component organizes links into categories such as "Links," "Legal," and "More" for intuitive navigation.Links are customizable and can be modified by changing the
links
array passed to eachFooterSection
.
Branding Icon:
The
appIcon
(an instance ofIoIosApps
) visually represents the application next to the app name, enhancing brand identity within the footer.
This documentation provides a comprehensive overview of the Footer
component.
Last updated