Add background color and title attribute to social images (#4192)

* Make social links wrap

* Add background to social links

* add title to social link

* fix lint attempt

* css lint fix attempt

* scss prettier

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
Germaine Lee
2025-02-07 21:56:24 -05:00
committed by GitHub
parent 7eb415112b
commit 9be8fa56c2
2 changed files with 10 additions and 2 deletions

View File

@@ -30,7 +30,8 @@ export const SocialLinks: FC<SocialLinksProps> = ({ links }) => {
<a
key={link.platform}
href={link.url}
className={styles.link}
className={styles.linkBackground}
title={link.platform}
target="_blank"
// eslint-disable-next-line react/no-invalid-html-attribute
rel="noreferrer me"