Skip to content

Commit

Permalink
Update Team page
Browse files Browse the repository at this point in the history
  • Loading branch information
ericyche committed Sep 8, 2023
1 parent feb0529 commit d3d238d
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 59 deletions.
115 changes: 58 additions & 57 deletions src/data/team/fa23.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,22 @@
[
{
"name": "Dun-Ming Huang",
"imgUrl": "https://drive.google.com/open?id=1A4IPltUaFnrOm8snbBMpheM-5UXkqzdz",
"position": "EECS 16A Co-ord",
"pronouns": "He/His/Him"
},
{
"name": "Christine Zhang",
"imgUrl": "https://drive.google.com/open?id=1vKB97905LwFOf9hFUHh-DHHJUic_YmsH",
"position": "CS 88 Co-ord",
"name": "Vibha Tantry",
"imgUrl": "https://drive.google.com/open?id=1Is2rkEQoKlfAgDRh4Y8iEhtS4UmVCVHy",
"position": "President",
"pronouns": "she/her"
},

{
"name": "Rebecca Dang",
"imgUrl": "https://drive.google.com/open?id=1b_HuoM5lZM5J9U5PZklsjnkT4ssYnvbd",
"position": "CS 88 Co-ord",
"pronouns": "she/her/hers"
},
{
"name": "Olivia Huang",
"imgUrl": "https://drive.google.com/open?id=1bM1uRyrQurQY6Pep_70-w_LZuFA3mHot",
"position": "EECS 16B Co-ord",
"name": "Abby Brooks-Ramirez",
"imgUrl": "https://drive.google.com/open?id=1Sw5y2uAkQtO4xBuN5dOjYtB_0jqnnmcK",
"position": "DE&I Chair",
"pronouns": "she/her"
},
{
"name": "Ekansh Agrawal",
"imgUrl": "https://drive.google.com/open?id=1BsMaTHX5CWyyihasy6QhgvN3_CsQ2-0X",
"position": "CS 61C Co-ord",
"pronouns": "he series"
"name": "Vy Ho",
"imgUrl": "",
"position": "Communications",
"pronouns": ""
},
{
"name": "SooHyuk Cho",
Expand All @@ -36,69 +25,81 @@
"pronouns": ""
},
{
"name": "Thomas Chen",
"imgUrl": "https://drive.google.com/open?id=1p4CTpsN9WcRwvrPEsacLtXAXuZCKDuGv",
"position": "CS 70 Co-ord",
"pronouns": "He/Him"
"name": "Elana Ho",
"imgUrl": "",
"position": "Media Chair",
"pronouns": ""
},
{
"name": "Christine Zhang",
"imgUrl": "https://drive.google.com/open?id=1vKB97905LwFOf9hFUHh-DHHJUic_YmsH",
"position": "CS 88 Coord",
"pronouns": "she/her"
},
{
"name": "Rebecca Dang",
"imgUrl": "https://drive.google.com/open?id=1b_HuoM5lZM5J9U5PZklsjnkT4ssYnvbd",
"position": "CS 88 Coord",
"pronouns": "she/her/hers"
},
{
"name": "Gabe Classon",
"imgUrl": "https://drive.google.com/open?id=165Qm10yDnglODKBxeyx9JRVn9vvBSgjO",
"position": "CS 61A Co-ord",
"position": "CS 61A Coord",
"pronouns": "he/him"
},
{
"name": "Vy Ho",
"imgUrl": "",
"position": "Communications Chair",
"pronouns": ""
},
{
"name": "Vibha Tantry",
"imgUrl": "https://drive.google.com/open?id=1Is2rkEQoKlfAgDRh4Y8iEhtS4UmVCVHy",
"position": "President",
"name": "Janani Sriram",
"imgUrl": "https://drive.google.com/open?id=1uzpnWa23h0Y33d_ca8A5hbFThYbe51Sa",
"position": "CS 61B Coord",
"pronouns": "she/her"
},
{
"name": "Andy Chen",
"imgUrl": "",
"position": "CS 61C Co-ord",
"position": "CS 61C Coord",
"pronouns": ""
},
{
"name": "Janani Sriram",
"imgUrl": "https://drive.google.com/open?id=1uzpnWa23h0Y33d_ca8A5hbFThYbe51Sa",
"position": "CS 61B Co-ord",
"pronouns": "she/her"
"name": "Ekansh Agrawal",
"imgUrl": "https://drive.google.com/open?id=1BsMaTHX5CWyyihasy6QhgvN3_CsQ2-0X",
"position": "CS 61C Coord",
"pronouns": "he series"
},
{
"name": "Abby Brooks-Ramirez",
"imgUrl": "https://drive.google.com/open?id=1Sw5y2uAkQtO4xBuN5dOjYtB_0jqnnmcK",
"position": "DE&I Chair",
"name": "Caroline Wu",
"imgUrl": "https://drive.google.com/open?id=16MBgJtO24dpUyP_B9-upsuHu5M0lqj9d",
"position": "CS 70 Coord",
"pronouns": "she/her"
},
{
"name": "Elana Ho",
"imgUrl": "",
"position": "Media Chair",
"pronouns": ""
"name": "Thomas Chen",
"imgUrl": "https://drive.google.com/open?id=1p4CTpsN9WcRwvrPEsacLtXAXuZCKDuGv",
"position": "CS 70 Coord",
"pronouns": "He/Him"
},
{
"name": "Caroline Wu",
"imgUrl": "https://drive.google.com/open?id=16MBgJtO24dpUyP_B9-upsuHu5M0lqj9d",
"position": "CS 70 Co-ord",
"pronouns": "she/her"
"name": "Suchir Agarwal",
"imgUrl": "https://drive.google.com/open?id=1qkfpMEbjJB-Yht8jWvmfJ3TcIPPFVYnG",
"position": "EECS 16A Coord",
"pronouns": "he/him"
},
{
"name": "Dun-Ming Huang",
"imgUrl": "https://drive.google.com/open?id=1A4IPltUaFnrOm8snbBMpheM-5UXkqzdz",
"position": "EECS 16A Coord",
"pronouns": "He/His/Him"
},
{
"name": "Jessica Fan",
"imgUrl": "https://drive.google.com/open?id=1lt3YXeLROKpTPyb6H3nXi0AfzekNQqyk",
"position": "EECS 16B Co-ord",
"position": "EECS 16B Coord",
"pronouns": "she/her/hers"
},
{
"name": "Suchir Agarwal",
"imgUrl": "https://drive.google.com/open?id=1qkfpMEbjJB-Yht8jWvmfJ3TcIPPFVYnG",
"position": "EECS 16A Co-ord",
"pronouns": "he/him"
"name": "Olivia Huang",
"imgUrl": "https://drive.google.com/open?id=1bM1uRyrQurQY6Pep_70-w_LZuFA3mHot",
"position": "EECS 16B Coord",
"pronouns": "she/her"
}
]
8 changes: 6 additions & 2 deletions src/pages/Team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ import fa21 from "../data/team/fa21.json";
import sp22 from "../data/team/sp22.json";
import fa22 from "../data/team/fa22.json";
import sp23 from "../data/team/sp23.json";
import fa23 from "../data/team/fa23.json";

import { duties } from "../labels/TeamLabels";
import * as utils from "./utils";

const CURRENT_SEM = "sp23";
const CURRENT_SEM = "fa23";
// TODO display older of these in a dropdown maybe?
const SEMESTERS = [
"fa17",
Expand All @@ -34,7 +35,8 @@ const SEMESTERS = [
"fa21",
"sp22",
"fa22",
"sp23"
"sp23",
"fa23",
].slice(-4);

interface NewOfficer {
Expand Down Expand Up @@ -85,6 +87,8 @@ function getOfficerTeamFromSemStr(semester: string): Officer[] {
return fa22.map(newDiscriminator);
case "sp23":
return sp23.map(newDiscriminator);
case "fa23":
return fa23.map(newDiscriminator);
default:
throw new Error(`Bad semester provided: ${semester}`);
}
Expand Down

0 comments on commit d3d238d

Please sign in to comment.