diff --git a/src/components/Team.tsx b/src/components/Team.tsx index e7d78a1..fcd9513 100644 --- a/src/components/Team.tsx +++ b/src/components/Team.tsx @@ -1,15 +1,13 @@ import Table from '@mui/joy/Table'; import Typography from '@mui/joy/Typography'; -import Button from "@mui/joy/Button"; -import blank from "../images/Team/blank.jpeg"; -import e from "../images/email.png"; -import g from "../images/github.png"; +import Button from '@mui/joy/Button'; +import blank from '../images/Team/blank.jpeg'; +import e from '../images/email.png'; +import g from '../images/github.png'; function addPerson(name: string, image: string, role: string, link: string, type: string) { - let typeImage = type === "Github" ? g : e; return { name, image, role, link, type, typeImage}; - } const directors = [ @@ -49,48 +47,118 @@ const sponsorship = [ ]; const teams = [ - { name: "Directors", members: directors }, - { name: "Tech", members: tech }, - { name: "Outreach", members: outreach }, - { name: "Sponsorship", members: sponsorship } + { name:"Directors", members: directors }, + { name:"Tech", members: tech }, + { name:"Outreach", members: outreach }, + { name:"Sponsorship", members: sponsorship } ]; export default function Team() { return ( -
{team.name} | @@ -98,18 +166,18 @@ export default function Team() {
{team.members.map((member, i) => (
@@ -164,10 +232,8 @@ export default function Team() {
|