Skip to content

Conversation

@Atharva2093
Copy link

🚀 Add Production-Ready Footer with Modals, Theme Support & Accessibility

🎯 Summary
This PR adds a modern, responsive, and accessible Footer component to replace the existing inline footer.
It introduces legal modals, social media links, and full light/dark theme support while keeping the rest of the UI unchanged.

📦 Changes

➕ New

  • src/components/Layout/Footer.tsx
    A complete footer with:
    • Brand & tagline
    • Navigation links
    • Social media icons
    • Legal modals (Privacy, Terms, Code of Conduct)

✏️ Updated

  • src/App.tsx
    Integrated the new Footer and removed inline footer markup.

✨ Features

Footer Layout

  • Brand: Can I Try This? — “Real Skills, Real Growth”
  • Navigation: Home, Challenges, Projects, Blog, Community, Contact
  • Social links: Website, Instagram, Discord, GitHub
  • Bottom bar: © 2025 Code-Social + legal links

Legal Modals

  • Privacy Policy
  • Terms of Service
  • Code of Conduct
  • Click outside & Escape key to close
  • Scroll lock + smooth transitions

Theme Support

  • Fully supports Light & Dark mode
  • Uses Tailwind dark: classes
  • Matches existing Header & site colors

Accessibility

  • Semantic HTML (footer, nav)
  • ARIA labels for icons
  • Keyboard navigation support
  • Visible focus styles
  • Screen-reader friendly modals

Responsive

  • Mobile: stacked layout
  • Tablet: 4-column grid
  • Desktop: wide spacing
  • Modals adapt to all screen sizes

✅ Testing

  • npm run build passes
  • No TypeScript errors
  • Footer renders correctly in light & dark mode
  • All links and modals work
  • Keyboard and focus navigation works
  • No layout shifts or overlaps

⚠️ Notes

  • Footer includes a Contact link (route can be added later if needed)
  • No global styles or theme changes were made

🔗 Related Issue
Closes #53

📸 Screenshots
Before
image

After
image

- Create responsive Footer component with 4-column grid layout
- Implement modal system for Privacy, Terms, and Code of Conduct
- Add social media links (Website, Instagram, Discord, GitHub)
- Support full light/dark theme switching with Tailwind classes
- Include keyboard navigation and accessibility features
- Remove inline footer from App.tsx for cleaner architecture
- Fix unused React import in App.tsx
@Atharva2093
Copy link
Author

Hello @arushi2610 👋
I’ve completed the implementation for the Footer and related UI improvements as discussed in Issue #53.

The footer is now fully responsive, theme-safe (light & dark), and includes accessible navigation, social links, and legal modals (Privacy, Terms, Code of Conduct).

Please review the PR and let me know if any changes or refinements are needed.
Looking forward to your feedback. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design Contact Us Page and Add Footer Social Media Icons

1 participant