Skip to content

Commit

Permalink
Adding coop info
Browse files Browse the repository at this point in the history
I've added coop info
  • Loading branch information
TOMWANGZZ1236 committed Sep 27, 2024
1 parent 98d01a7 commit 6eff2ea
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 8 deletions.
4 changes: 3 additions & 1 deletion src/components/Team/Coop.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";

function Coop({ headshot, name }) {
function Coop({ headshot, name, position }) {
return (
<div className="group text-center">
<div className="relative inline-block mx-auto h-32 w-32 rounded-full overflow-hidden">
Expand All @@ -11,7 +11,9 @@ function Coop({ headshot, name }) {
<p className="title h5 text-lg font-medium text-emerald-600 mb-1">
{name}
</p>
<p className="text-slate-400">{position}</p>
</div>

</div>
);
}
Expand Down
27 changes: 21 additions & 6 deletions src/components/Team/Coops.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
import Ling from "/static/img/Coops/Ling.png";
import Nicole_C from "/static/img/Coops/Nicole_C.png";
import Omer_S from "/static/img/team_headshots/Omer_S.png";
import Alessandra from "/static/img/Coops/Alessandra.png";
import Simra_K from "/static/img/Coops/Simra_K.png";
import Tom_W from "/static/img/Coops/Tom_W.png";

export const coops = [
{
name: "Ling",
headshot: Ling,
name: "Omer Syed",
headshot: Omer_S,
position: 'Mechanical Engineering Co-op',
},
{
name: "Nicole Chung",
headshot: Nicole_C,
name: "Alessandra",
headshot: Alessandra,
position: 'Mechanical Engineering Co-op',
},
{
name: "Simra Khan",
headshot: Simra_K,
position: 'Firmware Engineering Co-op',
},

{
name: "Tom Wang",
headshot: Tom_W,
position: 'Web Dev Co-op',
},
];
2 changes: 1 addition & 1 deletion src/pages/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function Team() {

<div className="grid grid-cols-1 lg:grid-cols-3 md:grid-cols-2 mt-0 gap-[30px]">
{coops.map((lead, index) => (
<Coop headshot={lead.headshot} name={lead.name} />
<Coop headshot={lead.headshot} name={lead.name} position={lead.position} />
))}
</div>

Expand Down
Binary file added static/img/Coops/Alessandra.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/Coops/Simra_K.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/Coops/Tom_W.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6eff2ea

Please sign in to comment.