From 77ba49ab1f8eb34dcdb272734152847e15cf82d7 Mon Sep 17 00:00:00 2001 From: Kuizuo Date: Thu, 23 Nov 2023 14:50:26 +0800 Subject: [PATCH] chore: change twitter logo --- src/components/SocialLinks/index.tsx | 19 +++++++++++-------- src/components/SocialLinks/styles.module.scss | 8 -------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/src/components/SocialLinks/index.tsx b/src/components/SocialLinks/index.tsx index 70fb28e7..3ae5cba9 100644 --- a/src/components/SocialLinks/index.tsx +++ b/src/components/SocialLinks/index.tsx @@ -9,13 +9,15 @@ import styles from './styles.module.scss' function SocialLink({ href, icon, + title, ...prop }: { href: string + title: string icon: string | JSX.Element }) { return ( - + {typeof icon === 'string' ? : icon} ) @@ -38,17 +40,18 @@ export default function SocialLinks({ ...prop }) { return (
- - } /> - - - - + + } /> + + + + - +
) } diff --git a/src/components/SocialLinks/styles.module.scss b/src/components/SocialLinks/styles.module.scss index deefd97e..1f3ce7a3 100644 --- a/src/components/SocialLinks/styles.module.scss +++ b/src/components/SocialLinks/styles.module.scss @@ -22,10 +22,6 @@ transition-property: all; transition-duration: 0.3s; transition-delay: 0s; - - &:hover { - background-color: #ecfeff; - } } .dropdown { @@ -46,10 +42,6 @@ } } -html[data-theme='dark'] .social__links a:hover { - background-color: #515967; -} - .social__links > *, .social__links svg, .social__links svg path {