Overview
TheFooter component provides the bottom section of the Product Builders landing page. It features a vibrant gradient background, the company logo, copyright notice with dynamic year, and social media links to LinkedIn and Behance.
The footer uses a responsive layout that stacks vertically on mobile and displays horizontally on desktop.
Component Structure
Usage Example
Fromsrc/app/page.tsx:63:
Props
This component does not accept any props.Features
- Gradient Background: Eye-catching sky-to-cyan gradient (
bg-gradient-to-r from-sky-500 to-cyan-500) - Dynamic Copyright Year: Automatically displays the current year
- Responsive Layout: Vertical stack on mobile, horizontal on desktop
- Social Media Links: LinkedIn and Behance icons with hover effects
- Accessibility: Includes screen reader labels and aria-labels
Social Media Links
The footer includes two social media links:https://www.linkedin.com/in/ajsantana/
Behance
https://www.behance.net/alvaprog
BehanceIcon Component
The footer includes a custom SVG icon for Behance:currentColor for the fill, allowing it to inherit text color.
Customization
Adding More Social Links
To add additional social media links, extend the social links container:Changing the Copyright Text
The copyright notice is on line 24-26:Modifying the Gradient
To change the gradient colors, modify thebg-gradient-to-r classes:
Styling
- Background: Sky to cyan gradient for brand identity
- Text Color: White text with gray-200 for secondary text
- Icon Sizing: 6x6 (24px) for social icons
- Spacing:
gap-x-4between social icons,py-6vertical padding - Responsive Margins:
mt-4 md:mt-0to remove top margin on desktop - Hover Effects: Icons transition from gray-200 to white on hover
- Layout: Flexbox with
justify-betweenfor even distribution on desktop