Add past execs page (Close #370)
#417
Open
b72zhou
wants to merge 21 commits from b72zhou-past-exec
into main
pull from: b72zhou-past-exec
merge into: www:main
www:2022-07-08-MUA-Update
www:a258wang-events-2022-09-28
www:amy-add-alt-tab-f22
www:amy-add-librarian-f22
www:amy-events-august-2022
www:amy-events-karaoke
www:amy-fix-vp-f22
www:amy-image-optimization-quick-fix-experiment
www:amy-news-2022-09-14
www:amy-random-shapes
www:amy-update-annie-headshot-f22
www:amy-update-community-reps
www:amy-update-internship-repo-f22
www:anniesun/add-myself-to-webstite
www:bonnie-team-member-card
www:darren/add-myself-to-website
www:fix-oc-burger
www:j285he-add-news-09-07
www:j285he-ldap-test-example
www:jan-2023-constitution-changes
www:ldap-exec-test
www:main
www:neil-members
www:news-2022-09-08
www:news-2022-09-10
www:renovate/eslint-8.x
www:renovate/eslint-plugin-prettier-4.x
www:renovate/eslint-plugin-react-7.x
www:renovate/fs-extra-11.x
www:renovate/ldapts-4.x
www:renovate/mdx-js-loader-2.x
www:renovate/mdx-js-react-2.x
www:renovate/next-11.x
www:renovate/next-13.x
www:renovate/next-mdx-11.x
www:renovate/next-mdx-13.x
www:renovate/next-mdx-remote-3.x
www:renovate/node-18.x
www:renovate/node-19.x
www:renovate/npm-9.x
www:renovate/postcss-preset-env-8.x
www:renovate/react-18.x
www:renovate/react-dom-18.x
www:renovate/remark-14.x
www:renovate/remark-html-15.x
www:renovate/squoosh-lib-0.x
www:renovate/typescript-4.x
www:renovate/typescript-eslint-eslint-plugin-5.x
www:renovate/typescript-eslint-parser-5.x
www:richardshuai/add-me
www:shahanneda-news-11jan2022
www:shahanneda/add-alt-tab-news
www:shahanneda/add-bot
www:shahanneda/add-code-party-1
www:shahanneda/add-event
www:shahanneda/add-events
www:shahanneda/add-myself
www:shahanneda/fix-build-image-script
www:shahanneda/fix-name-parts
www:shahanneda/optimze-image-script
www:shahanneda/update-exec-blurbs
www:shahanneda/update-project-program
www:support-multiple-news-homepage
www:unix101-1
www:update-events
www:warning-header
Reviewers
Request review
Labels
Apply labels
Clear labels
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
No Label
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: www/www-new#417
Reference in new issue
There is no content yet.
Delete Branch 'b72zhou-past-exec'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
WIP: Add past execs page (Close #370)to Add past execs page (Close #370) 10 months agoThis is how it looks like right now:
https://csclub.uwaterloo.ca/~a3thakra/csc/b72zhou-past-exec/about/executives/2021/spring/
Is this what we want? :)
Also, for some execs we don't have their pictures, is there any way we can have their pics?
Hi @b72zhou, sorry for the delayed review!
Since there are only a few execs for each term, maybe instead of using the Archive page system like events and news, we could just have one page with all the past execs? Then we could use the

TeamMember
component (instead ofTeamMemberCard
) in order to save space.Something like this (one section for each term):
For execs who are missing pictures, we should be able to go back in the repo's commit history to retrieve their images. (Maybe it would be worth creating a separate folder inside the
images
folder for past exec images, instead of keeping them in theteam
folder?)Also, is there a reason why this text at the bottom is not left-aligned like most of the other text on the website?

Hey @a258wang , I believe all your suggestions make sense and adjust the page accordingly. Do you have any suggestions on the design of the page? I found that the place between header and "Fall 2021" section for now is a bit weird, not quite sure how I can adjust it.
https://csclub.uwaterloo.ca/~a3thakra/csc/b72zhou-past-exec/about/executives/
interface Props {
F21Exec: Metadata[];
S21Exec: Metadata[];
W21Exec: Metadata[];
If we want to add a new term of execs, we will have to manually import and update this page right? Ideally all we need to do is add a json file in content.
Reviewers