Overview
TheFooter component provides a structured footer layout with company information, navigation links, contact details, and social media integration. It features a responsive grid layout and automatic copyright year updating.
Features
- Responsive Grid Layout: 4-column layout on desktop, stacks on mobile
- Dynamic Copyright: Automatically displays the current year
- Social Media Integration: Direct links to Instagram and Facebook
- Contact Information: Complete business contact details
- Navigation Mirror: Includes all main navigation links
Component Structure
The Footer component is a server-side component that doesn’t accept any props.Layout Sections
The footer is divided into four main columns:1. Brand & Description
Displays the company name, mission statement, and regulatory information:2. Navigation
Provides quick access to all main site sections:- Inicio (
#inicio) - Servicios (
#servicios) - Planes (
#planes) - Contacto (
#contacto)
3. Contact Information
Displays complete business contact details:4. Social Media
Includes branded social media links with hover effects:- Instagram:
https://www.instagram.com/estudio_nag/ - Facebook:
https://www.facebook.com/share/1HTBwqNdy5/
Implementation
Basic Usage
Dynamic Copyright Year
The footer automatically displays the current year:Social Media Icons
The component uses React Icons for social media integration:Styling Features
Hover Effects
Navigation links use Tailwind’s arbitrary variants for hover states:Social Media Hover Colors
- Instagram: Transitions to
#E1306C(Instagram brand color) - Facebook: Transitions to
#1877F2(Facebook brand color)
Responsive Design
Desktop (md and up)
Mobile
All columns stack vertically with appropriate spacing.Design Tokens
Colors
- Background:
bg-gray-900(Dark gray) - Primary Text: White
- Secondary Text:
text-gray-400 - Tertiary Text:
text-gray-500 - Border:
border-gray-800 - Link Hover:
#163594(Brand blue)
Spacing
- Top Padding:
pt-12 - Bottom Padding:
pb-8 - Column Gap:
gap-10
Accessibility
- Semantic HTML with
<footer>element - External links open in new tabs with
target="_blank" - Clear visual hierarchy with heading sizes
- Adequate color contrast for readability
Dependencies
The component requires the
react-icons package for social media icons.Contact Information
The footer displays the following business information:- Location: Del Viso, Buenos Aires, Argentina
- Phone: +54 11 6412 9888
- Email: [email protected]
Source Code Location
/app/components/Footer.tsx