Skip to content

Commit

Permalink
Merge pull request #325 from Pratibha666/feature/hover-socialmedia-icons
Browse files Browse the repository at this point in the history
hover effect on social media icons
  • Loading branch information
Mujtabaa07 authored Jan 14, 2025
2 parents 242c2a3 + 1a975a4 commit 02a2c20
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion src/componets/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,45 @@ const SocialIcons = styled.div`

const SocialIcon = styled(motion.a)`
color: #fffbeb;
font-size: 1.5rem;
font-size: 1.8rem;
text-decoration: none;
padding: 0.5rem;
border-radius: 50%;
transition: color 0.3s ease, transform 0.3s ease;
&:hover {
transform: scale(1.2);
transition: all 0.3s ease;
&:hover {
color: #fbbf24;
}
&[href*="facebook.com"]:hover {
color: #3b5998; /* Facebook Blue */
}
&[href*="twitter.com"]:hover {
color: #1da1f2; /* Twitter Blue */
}
&[href*="instagram.com"]:hover {
color: #e4405f; /* Instagram Pink */
}
&[href*="linkedin.com"]:hover {
color: #0077b5; /* LinkedIn Blue */
}
@media (max-width: 768px) {
font-size: 1.3rem;
}
`;



const Divider = styled.hr`
border: none;
height: 2px;
Expand All @@ -108,6 +132,7 @@ const Divider = styled.hr`
width: 80%;
`;


function Footer() {
return (
<FooterContainer>
Expand All @@ -131,7 +156,11 @@ function Footer() {
aria-label="LinkedIn"
role="link"
>

<i className="fab fa-twitter"></i> {/* Updated Twitter icon */}

<i className="fab fa-linkedin-in"></i> {/* LinkedIn icon */}

</SocialIcon>
<SocialIcon
href="https://instagram.com"
Expand Down

0 comments on commit 02a2c20

Please sign in to comment.