Footer component provides a feature-rich footer section with brand information, contact details, location listings, newsletter subscription, and social media links.
Features
- Responsive multi-column grid layout
- Brand description with logo
- Newsletter subscription form
- Contact information (email, phone)
- Multiple location support
- Social media icon links
- Legal links section
- Custom TikTok SVG icon
Usage
Component Props
The Footer component does not accept any props. It’s a self-contained component that reads data fromsiteContent.brand.
Data Structure
The Footer expects the following data structure fromsiteContent:
Layout Structure
The footer uses a responsive grid with 4 columns:- Brand & Newsletter (Column 1)
- Contact Information (Column 2)
- Locations (Column 3)
- Legal Links (Column 4)
Social Media Icons
The component includes a dynamic icon mapper function:Supported Icons
string
Facebook icon from lucide-react
string
LinkedIn icon from lucide-react
string
YouTube icon from lucide-react
string
Instagram icon from lucide-react
string
Custom TikTok SVG icon component
Newsletter Form
The newsletter section includes an email input and subscribe button:The form currently uses
type="button" and does not have submit functionality. You’ll need to add form handling logic.Contact Display
Contact information is displayed with icon prefixes:Locations Section
Multiple locations are mapped and displayed:Social Links
Social media links are rendered in the footer bottom:Copyright Notice
Dynamic copyright year with brand name:Custom TikTok Icon
The component includes a custom SVG component for TikTok:Styling
The footer uses these key classes:glass-panel: Glassmorphism effectborder-white/10: Subtle top bordertext-glass-muted: Muted text color for secondary contenttext-brand-green: Green accent for links and icons
Component Location
components/Footer.tsx:11