feat: added hover effect in footer's social media icons #2087
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2085 — Adds interactive hover effects to the footer social media icons. When a user hovers over an icon the UI now swaps the outlined icon to a filled version with a subtle scale-up and soft glow. This improves visual feedback and makes the footer feel more dynamic.
What I changed
Implemented icon swap markup so each social link contains both an outlined and a filled element (stacked), then toggled visibility with CSS on hover for a smooth transition.
Added hover animations: opacity/scale transitions, color change to the theme color, and a subtle drop-shadow glow.
Ensured keyboard accessibility by adding focus styles and using semantic link attributes (target="_blank" + rel="noopener noreferrer").
Files modified
Footer.jsx — added social links (YouTube, GitHub, Twitter, LinkedIn). Uses react-icons for outline/fill icons and the repo's NewTwitterLogo for Twitter.
footer.module.css — new styles for .footer__social_wrap, .footer__social, .social__item, .icon_outline, .icon_fill, hover/focus behaviors.