-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update team page with new members; update events section
- Loading branch information
Showing
4 changed files
with
236 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react'; | ||
import { FaLinkedinIn, FaRegEnvelope } from 'react-icons/fa'; | ||
|
||
const SmallerProfile = (props) => { | ||
const { imagePath, name, title, email, linkedin } = props; | ||
return ( | ||
<div className="w-24 lg:w-36 "> | ||
<div className="flex flex-col items-center h-fit"> | ||
<div className="bg-gradient-to-b from-stardust to-old-gold w-full h-full"> | ||
<div className="m-1 bg-dusk"> | ||
<img className={`w-36 lg:w-48 mx-auto`} src={imagePath} alt="Profile Image" /> | ||
</div> | ||
</div> | ||
<div className="flex flex-col items-center bg-dusk w-full "> | ||
<h2 className="font-display2-bold text-white text-md mb-1 mt-3">{name}</h2> | ||
<h3 className="font-display2 text-sm md:text-md text-white mb-1">{title}</h3> | ||
<div className="flex flex-row items-center gap-2 mb-2"> | ||
{email ? | ||
<a href={`mailto:${email}`} target="_blank" rel="noopener noreferrer"> | ||
<FaRegEnvelope className="email-icon fill-white hover:fill-stardust" /> | ||
</a> : | ||
<span></span>} | ||
{linkedin ? | ||
<a href={`mailto:${email}`} target="_blank" rel="noopener noreferrer"> | ||
<FaLinkedinIn className="email-icon fill-white hover:fill-stardust" /> | ||
</a> : | ||
<span></span>} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SmallerProfile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,143 +1,13 @@ | ||
import Banner from '../components/shared/banner/Banner'; | ||
import PageWrapper from '../components/shared/PageWrapper'; | ||
import Profile from '../components/team/Profile'; | ||
import SmallerProfile from '../components/team/SmallerProfile.js'; | ||
|
||
function Team() { | ||
import teamData from '../static/TeamData.js'; | ||
|
||
function Team() { | ||
const data = teamData; | ||
const tempProfilePic = "/images/team/pattern_1.jpg"; | ||
const imagePath = "/images/team/headshots/original/"; | ||
const data = { | ||
major_exec: [ | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Kamon Blong", | ||
title: "Co-President", | ||
image1: "DSC03351.jpg", // serious | ||
image2: "DSC03352.jpg", // smiling | ||
//email: "[email protected]", | ||
//linkedin: "https://linkedin.com/johndoe" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Madeline Taylor", | ||
title: "Co-President", | ||
image1: "DSC03317.jpg", | ||
image2: "DSC03319.jpg", | ||
// email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Parth Karande", | ||
title: "Treasurer", | ||
image1: "DSC03341.jpg", | ||
image2: "DSC03337.jpg", | ||
//email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Alejandro Diaz Contreras", | ||
title: "Project Director", | ||
image1: "DSC03294.jpg", | ||
image2: "DSC03293.jpg", | ||
// email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Jonah Nobel", | ||
title: "Test Stand Director", | ||
image1: "DSC03301.jpg", | ||
image2: "DSC03297.jpg", | ||
//email: "[email protected]" | ||
} | ||
], | ||
admin_exec: [ | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Jack Bolster", | ||
title: "Marketing Chair", | ||
// email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Alina Li", | ||
title: "Webmaster", | ||
image1: "DSC03309.jpg", | ||
image2: "DSC03308.jpg", | ||
// email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "James Nida", | ||
title: "IT Chair", | ||
image1: "DSC03289.jpg", | ||
image2: "DSC03287.jpg", | ||
//email: "[email protected]" | ||
}, | ||
], | ||
project_leads: [ | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Kamon Blong", | ||
title: "Turbopump Co-Lead", | ||
image1: "DSC03351.jpg", | ||
image2: "DSC03352.jpg", | ||
//email: "[email protected]" | ||
}, { | ||
imagePath: tempProfilePic, | ||
name: "Forrest Lim", | ||
title: "Turbopump Co-Lead", | ||
//email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Josh Hyatt", | ||
title: "Turbojet Lead", | ||
image1: "DSC03305.jpg", | ||
image2: "DSC03304.jpg", | ||
//email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Indrajeet Nair", | ||
title: "Electric Propulsion Lead", | ||
image1: "DSC03331.jpg", | ||
image2: "DSC03329.jpg", | ||
//email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Dominik Sloup", | ||
title: "Testbed Co-Lead", | ||
image1: "DSC03285.jpg", | ||
image2: "DSC03283.jpg", | ||
//email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "James Nida", | ||
title: "Testbed Co-Lead", | ||
image1: "DSC03289.jpg", | ||
image2: "DSC03287.jpg", | ||
//email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Vincent Fazio", | ||
title: "Teeny-K Lead", | ||
image1: "DSC03335.jpg", | ||
image2: "DSC03334.jpg", | ||
//email: "[email protected]" | ||
}, | ||
{ | ||
imagePath: tempProfilePic, | ||
name: "Alejandro Diaz Contreras", | ||
title: "HMB Lead", | ||
image1: "DSC03294.jpg", | ||
image2: "DSC03293.jpg", | ||
//email: "[email protected]" | ||
}, | ||
] | ||
} | ||
|
||
return ( | ||
<PageWrapper> | ||
|
@@ -162,7 +32,7 @@ function Team() { | |
{data.major_exec.map((profile, index) => ( | ||
<Profile | ||
key={index} | ||
imagePath={profile.image2 ? (imagePath + profile.image2) : tempProfilePic} | ||
imagePath={profile.image2 ? (profile.image2) : tempProfilePic} | ||
name={profile.name} | ||
title={profile.title} | ||
email={profile.email} | ||
|
@@ -173,9 +43,9 @@ function Team() { | |
<p className="text-white font-display-bold text-2xl mt-12 md:mt-16 mb-4">Project Leads</p> | ||
<div className="flex flex-row mx-auto w-full flex-wrap gap-x-4 md:gap-x-8 md:gap-y-8 justify-center"> | ||
{data.project_leads.map((profile, index) => ( | ||
<Profile | ||
<SmallerProfile | ||
key={index} | ||
imagePath={profile.image2 ? (imagePath + profile.image2) : tempProfilePic} | ||
imagePath={profile.image2 ? (profile.image2) : tempProfilePic} | ||
name={profile.name} | ||
title={profile.title} | ||
email={profile.email} | ||
|
@@ -186,9 +56,9 @@ function Team() { | |
<p className="text-white font-display-bold text-2xl mt-12 md:mt-16 mb-4">Administrative Board</p> | ||
<div className="flex flex-row mx-auto w-full flex-wrap gap-x-4 md:gap-x-8 md:gap-y-8 justify-center"> | ||
{data.admin_exec.map((profile, index) => ( | ||
<Profile | ||
<SmallerProfile | ||
key={index} | ||
imagePath={profile.image2 ? (imagePath + profile.image2) : tempProfilePic} | ||
imagePath={profile.image2 ? (profile.image2) : tempProfilePic} | ||
name={profile.name} | ||
title={profile.title} | ||
email={profile.email} | ||
|
Oops, something went wrong.