diff --git a/components/Boardmembercard.jsx b/components/Boardmembercard.jsx index 095f243..37e0480 100644 --- a/components/Boardmembercard.jsx +++ b/components/Boardmembercard.jsx @@ -1,22 +1,56 @@ +import React from "react"; import Image from "next/future/image"; +import { FaGithub, FaLinkedin } from "react-icons/fa"; /* eslint-disable */ -const BoardMemberCard = ({ givenName, img, role, color }) => { +const ReactIcon = (props) => { return ( -
+ <> + + {props?.Icon} + + + ); +}; + +const BoardMemberCard = ({ + givenName, + img, + role, + color, + desc, + github, + linkedIn, +}) => { + return ( +
-
-

{givenName}

-

+ +

+

{givenName}

+

{role}

+

"{desc}"

+
+ +
+ } link={github} /> + } link={linkedIn} />
); diff --git a/components/Boardmembers.jsx b/components/Boardmembers.jsx index 97b7e5c..c872f51 100644 --- a/components/Boardmembers.jsx +++ b/components/Boardmembers.jsx @@ -12,8 +12,11 @@ const BoardMembers = () => { const { width } = useWindowDimensions(); return ( -
+

The Board

2022-23

@@ -35,19 +38,23 @@ const BoardMembers = () => { modules={[Navigation]} className="mySwiper" > - {data.map(({ name, image, description, role, color }) => { - return ( - - - - ); - })} + {data.map( + ({ name, image, description, role, color, linkedIn, github }) => { + return ( + + + + ); + } + )} {/* Card */}