From cf0706872e015904f6c77b2511115092d6036f93 Mon Sep 17 00:00:00 2001 From: Jack Misner Date: Fri, 25 Apr 2025 10:28:34 +0100 Subject: [PATCH] Made picture part of card be the link to github --- frontend/src/components/AboutUs.jsx | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/AboutUs.jsx b/frontend/src/components/AboutUs.jsx index e02f451..5b148a7 100644 --- a/frontend/src/components/AboutUs.jsx +++ b/frontend/src/components/AboutUs.jsx @@ -6,19 +6,11 @@ const AboutUs = ({ name, github, picture }) => {

{name}

- - {github.replace("https://github.com/", "@")} - + {github.replace("https://github.com/", "@")}

- {`${name}'s { - e.target.src = "/path/to/fallback-image.png"; - e.target.onerror = null; - }} - /> + + {`${name}'s +
); };