Overview
The Footer component provides a clean, simple footer with social media links to connect with the developer on LinkedIn and GitHub.Purpose
- Provide social media connection points
- Complete the page layout
- Encourage visitor engagement
- Display professional social profiles
Component Structure
footer.ts
The Footer component is presentational only with no TypeScript logic.
HTML Template
Social Links
GitHub
Profile URL: https://github.com/JhonnyDiaz4753Link Card Structure
Card Styling
Layout
flex flex-col- Vertical stack (icon above label)items-center justify-center- Center alignmentw-24- Fixed width (96px)gap-2- Spacing between icon and label
Visual Design
rounded-lg- Rounded cornersp-3- Internal paddingborder- Border outline- Theme-aware backgrounds and borders
Hover State
- Border changes to primary color on hover
transition-colorsfor smooth animation
Call-to-Action Text
- Friendly invitation to connect
- Muted color to not overpower the links
- Bottom padding separates from link cards
Accessibility
target="_blank"opens links in new tabs- Clear, descriptive labels
- Adequate touch target sizes (96px wide)
- SVG icons with proper viewBox and sizing
- High contrast text colors
Consider adding
rel="noopener noreferrer" to external links for security:Dark Mode Support
- Background:
dark:bg-background-dark - Border:
dark:border-primary/20 - Hover border:
dark:hover:border-primary - Text:
dark:text-gray-300 - Icon maintains primary color in both themes
Layout Behavior
- Links displayed horizontally with
gap-4spacing - Responsive: Maintains horizontal layout on all screen sizes
- Centered icon and text in each card
Icon Details
Icons use Phosphor icon set with:- 24px × 24px size
- 256 × 256 viewBox
currentColorfill (inherits from parent’stext-primary)- Consistent visual weight