Overview
The Footer component provides a clean, minimal footer for the portfolio with branding elements and copyright information. It uses a simple design that complements the overall aesthetic without overwhelming the page.Features
- Dynamic copyright year (automatically updates)
- Minimal branding with accent dot
- Responsive layout
- Top border separation
- CSS Module styling
Implementation
The component is located atsrc/components/Footer/Footer.jsx:
Key Features
Dynamic Copyright Year
The footer automatically displays the current year using JavaScript:Minimal Design
The footer uses a simple layout with:- A colored accent dot matching the primary theme color
- Monospace typography for a technical aesthetic
- Subtle top border to separate from content
CSS Module Styling
Footer Container
Responsive Layout
Brand Elements
Link Styles (Optional)
The CSS includes styles for optional footer links:Customization
Change Copyright Text
Modify the brand name inFooter.jsx:
Add Footer Links
Extend the component to include navigation links:Change Accent Dot Color
The dot color comes from the CSS variable--color-primary. Update it in index.css:
Remove Accent Dot
To remove the dot entirely:Adjust Padding
Modify the footer padding inFooter.module.css:
Change Border Style
Update the top border:Add Social Icons
Extend the footer with social media icons:Usage in App
Import and place the Footer component at the end of your main layout:Accessibility
- Semantic
<footer>element - Sufficient color contrast for text
- Keyboard-navigable links (if added)
- ARIA labels recommended for icon-only links
CSS Variables Used
--color-bg-dark- Footer background color--color-primary- Accent dot color
Browser Support
- All modern browsers
- Flexbox support required
- CSS custom properties support required