From 6de59a12451c282bddcec5cf099514ef9f6f1a00 Mon Sep 17 00:00:00 2001 From: Olaleye Blessing Date: Fri, 14 Apr 2023 11:18:11 +0100 Subject: [PATCH] feat: open TSC members social links in a new tab (#1506) Co-authored-by: Akshat Nema <76521428+akshatnema@users.noreply.github.com> --- pages/community/tsc.js | 56 +++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/pages/community/tsc.js b/pages/community/tsc.js index 96d22912aab2..57238ec48e19 100644 --- a/pages/community/tsc.js +++ b/pages/community/tsc.js @@ -139,6 +139,28 @@ export default function TSC() { ); } +const socials = { + "Github": , + "Twitter": , + "Linkedin": , +} + +function SocialLink({ href, social }) { + return ( +
  • + + {social} + {socials[social]} + +
  • + ) +} + function UserInfo({ user }) { return (
  • {user.name}