From 59df12156ecfb50e7f16a0b5f999f4be0a276c63 Mon Sep 17 00:00:00 2001 From: "Yeyang (Justin) Sun" Date: Fri, 15 Mar 2024 01:09:25 +1030 Subject: [PATCH] chore: Update committee members (#119) * refactor(about): committee data type * chore(about): update committee members * chore(about): transfer all rep to general committee * chore(about): update committee --- src/app/about/page.tsx | 4 +- src/data/committee-members.ts | 94 +++++++++++++++++------------------ 2 files changed, 48 insertions(+), 50 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 7d62f619..9909d9e1 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -237,7 +237,7 @@ export default function AboutPage() { {COMMITTEE_MEMBERS.map((member, index) => (

{member.name}

{member.position}

diff --git a/src/data/committee-members.ts b/src/data/committee-members.ts index 1a910db2..43114218 100644 --- a/src/data/committee-members.ts +++ b/src/data/committee-members.ts @@ -1,125 +1,123 @@ type CommitteeMember = { name: string; position: string; - isExecCommittee: boolean; + exec?: boolean; }; // List of committee members with name, role and whether they are part of the // executive committee -export const COMMITTEE_MEMBERS = [ +export const COMMITTEE_MEMBERS: CommitteeMember[] = [ { name: 'David Maslov', position: 'President', - isExecCommittee: true, + exec: true, }, { name: 'Cubie', position: 'Vice-President', - isExecCommittee: true, + exec: true, }, { name: 'Christian', position: 'Treasurer', - isExecCommittee: true, + exec: true, }, { name: 'Ray Okamoto', position: 'Secretary', - isExecCommittee: true, + exec: true, }, { name: 'Milan', position: 'Partnerships & Sponsorships Manager', - isExecCommittee: true, + exec: true, }, { name: 'F. Umar', position: 'Partnerships & Sponsorships Officer', - isExecCommittee: false, }, { name: 'Pouya', position: 'Partnerships & Sponsorships Officer', - isExecCommittee: false, }, { name: 'Bowen Sun', position: 'Business Manager', - isExecCommittee: false, }, { name: 'Willard Gorman', position: 'Duck Lounge Liaison', - isExecCommittee: false, }, { name: 'Mischa Sarac', position: 'Equity Officer', - isExecCommittee: false, }, { - name: 'S. Bhatta', - position: 'Artificial Intelligence Representative', - isExecCommittee: false, + name: 'Maged Gayed', + position: 'First Year Representative', }, { - name: 'Will Johnston', - position: 'Cybersecurity Representative', - isExecCommittee: false, + name: 'Yuhan Wang', + position: 'Graphic Designer', }, { - name: 'Khanh', - position: 'Data Science Representative', - isExecCommittee: false, + name: 'M. Klaric', + position: 'Graphic Designer', }, { - name: 'Jonty Leslie', - position: 'Distributed Systems & Networking Representative', - isExecCommittee: false, + name: 'Darcy', + position: 'Social Media Officer', }, { - name: 'Joshua Goldsworthy Callaway', - position: 'Information Technology Representative', - isExecCommittee: false, + name: 'Yaman Ashqar', + position: 'Social Media Officer', }, { - name: 'Dino Macri', - position: 'Software Engineering Representative', - isExecCommittee: false, + name: 'Omar Badr', + position: 'Social Media Officer', }, { - name: 'Yuhan Wang', - position: 'Graphic Designer', - isExecCommittee: false, + name: 'Phoenix Pereira', + position: 'Open Source Officer', }, { - name: 'Darcy', - position: 'Social Media Officer', - isExecCommittee: false, + name: 'Yeyang (Justin) Sun', + position: 'Open Source Officer', }, { - name: 'M. Klaric', - position: 'Social Media Officer', - isExecCommittee: false, + name: 'S. Bhatta', + position: 'General Committee', }, { - name: 'Phoenix Pereira', - position: 'Open Source Officer', - isExecCommittee: false, + name: 'Will Johnston', + position: 'General Committee', }, { - name: 'Rishi Adhikari', - position: 'Open Source Officer', - isExecCommittee: false, + name: 'Khanh', + position: 'General Committee', + }, + { + name: 'Jonty Leslie', + position: 'General Committee', }, { name: 'Cuinn Kemp', position: 'General Committee', - isExecCommittee: false, }, { name: 'Timothy Choi', position: 'General Committee', - isExecCommittee: false, }, -] as const satisfies CommitteeMember[]; + { + name: 'Leo Li', + position: 'General Committee', + }, + { + name: 'Zachary Anderson', + position: 'General Committee', + }, + { + name: 'Mansi Patel', + position: 'General Committee', + }, +];