From a85b63b58a3c864f71b19dfea02b4ae09a3bf00c Mon Sep 17 00:00:00 2001 From: Beau Findlay Date: Wed, 24 Apr 2024 14:50:21 +0100 Subject: [PATCH] Render social icons from array --- src/Client/src/components/Footer.tsx | 2 +- src/Client/src/components/SocialIcons.tsx | 49 +++++++++++++---------- 2 files changed, 29 insertions(+), 22 deletions(-) diff --git a/src/Client/src/components/Footer.tsx b/src/Client/src/components/Footer.tsx index 706a944..a56079f 100644 --- a/src/Client/src/components/Footer.tsx +++ b/src/Client/src/components/Footer.tsx @@ -8,7 +8,7 @@ export default function Footer() {
-

+

© {currentYear} Beau Findlay. All rights reserved.

diff --git a/src/Client/src/components/SocialIcons.tsx b/src/Client/src/components/SocialIcons.tsx index 5f86245..c816a76 100644 --- a/src/Client/src/components/SocialIcons.tsx +++ b/src/Client/src/components/SocialIcons.tsx @@ -5,29 +5,36 @@ interface Props { } export default function SocialIcons({ size = 20 }: Props) { + const socialIcons = [ + { + name: "GitHub", + href: "https://github.com/bdfin", + icon: , + }, + { + name: "LinkedIn", + href: "https://www.linkedin.com/in/beau-findlay/", + icon: , + }, + { + name: "Email", + href: "mailto:me@beaufindlay.com", + icon: , + }, + ]; + return ( ); }