diff --git a/src/App.css b/src/App.css index 26396b8..5b78d57 100644 --- a/src/App.css +++ b/src/App.css @@ -68,6 +68,6 @@ h2 { } .team { - height: 600px; - background-color:darkkhaki; + /*height: 600px;*/ + /*background-color:darkkhaki;*/ } \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index bfc9edb..f8f4afb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -9,6 +9,7 @@ import Schedule from "./components/Schedule"; import InfoPage from './components/InfoPage'; import Carousel from "./components/Carousel"; import background from './images/background.png'; +import Team from "./components/Team"; function App() { const home = useRef(null); @@ -71,7 +72,7 @@ function App() {
-

TEAM

+

diff --git a/src/components/Team.tsx b/src/components/Team.tsx new file mode 100644 index 0000000..1dd416f --- /dev/null +++ b/src/components/Team.tsx @@ -0,0 +1,173 @@ +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"; + +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 = [ + addPerson('Alexandra Markova', 'https://i.imgur.com/BBWqwhs.jpeg', 'Director', 'https://github.com/kitkatmia','Github'), + addPerson('Saahiti Bondalapati', 'https://i.imgur.com/16sqDdo.png', 'Outreach Director', 'saahiti@mvhacks.io','Email'), + addPerson('Arthur Cheong', blank, 'Emcee', 'arthurc@mvhacks.io','Email'), + addPerson('Emily Markova', 'https://i.imgur.com/wTrB5jy.jpeg', 'Tech Director', 'https://github.com/emilymarkova','Github'), + addPerson('Yhali Matot', blank, 'Sponsorship Director', 'alexm@mvhacks.io','Email') +]; + +const tech = [ + addPerson('Noam Kassoff', 'https://i.imgur.com/YZLuaM4.png', 'Member', 'https://github.com/noamkassoff','Github'), + addPerson('Milo Lin', 'https://i.imgur.com/QvoGuW5.jpeg', 'Member', 'milo@mvhacks.io','Email'), + addPerson('Emily Markova', 'https://i.imgur.com/wTrB5jy.jpeg', 'Director', 'emily@mvhacks.io','Email'), + addPerson('Mia Ravishankar', blank, 'Member', 'miar@mvhacks.io','Email'), + addPerson('Evelyn Yang', 'https://i.imgur.com/5b927dF.png', 'Member', 'evelyny@mvhacks.io','Email'), + addPerson('Jeremy Yu', 'https://i.imgur.com/VNapq9L.png', 'Member', 'https://github.com/jt31415','Github') +]; + +const outreach = [ + addPerson('Saahiti Bondalapati', 'https://i.imgur.com/16sqDdo.png', 'Director', 'saahiti@mvhacks.io', 'Email'), + addPerson('Rohin Gupta', blank, 'Member', 'alexm@mvhacks.io','Email'), + addPerson('Nikita Narrang', 'https://i.imgur.com/QC4s8O0.jpeg', 'Member', 'nikita@mvhacks.io','Email'), + addPerson('Ishaan Sharma', blank, 'Member', 'alexm@mvhacks.io','Email'), + addPerson('Mirabel Wang', blank, 'Member', 'mirabelw@mvhacks.io','Email') +]; + +const sponsorship = [ + addPerson('Kirati Bollineni', blank, 'Member', 'alexm@mvhacks.io','Email'), + addPerson('Ethan Chen', blank, 'Member', 'alexm@mvhacks.io','Email'), + addPerson('Owen Kim', blank, 'Member', 'alexm@mvhacks.io','Email'), + addPerson('Yhali Matot', blank, 'Director', 'alexm@mvhacks.io','Email'), + addPerson('Henry Shih', 'https://i.imgur.com/XSFwbkK.jpeg', 'Member', 'henry@mvhacks.io','Email'), + addPerson('Shankaran Srivatsa', blank, 'Member', 'alexm@mvhacks.io','Email'), + addPerson('Kevin Thompson', blank, 'Member', 'alexm@mvhacks.io','Email'), + addPerson('Ada Tulac', 'https://i.imgur.com/c26XLgw.jpeg', 'Member', 'adat@mvhacks.io','Email') +]; + +const teams = [ + { name: "Directors", members: directors }, + { name: "Tech", members: tech }, + { name: "Outreach", members: outreach }, + { name: "Sponsorship", members: sponsorship } +]; + +export default function Team() { + return ( +
+ + TEAM + + + {teams.map((team) => ( + + + + + + + + + + +
+ {team.name} +
+
+ + {team.members.map((member, i) => ( +
+ member-image +
+ {member.name} +
+
+ {member.role} +
+
+ +
+
+ ))} + +
+
+ + ))} + +
+ ); +} \ No newline at end of file diff --git a/src/images/Team/blank.jpeg b/src/images/Team/blank.jpeg new file mode 100644 index 0000000..d3e0bed Binary files /dev/null and b/src/images/Team/blank.jpeg differ diff --git a/src/images/email.png b/src/images/email.png new file mode 100644 index 0000000..1ac7d91 Binary files /dev/null and b/src/images/email.png differ diff --git a/src/images/github.png b/src/images/github.png new file mode 100644 index 0000000..b2f83db Binary files /dev/null and b/src/images/github.png differ