www-new/pages
Amy Wang 94156adfd2
continuous-integration/drone/push Build is passing Details
Fix exec fetching and add events (#491)
- Fixed edge case with fetching execs
- Added Bootcamp mentor application news, and CSC x Google event

**Problem:** When building the Meet the Team page using LDAP (in CI), we were only checking CSC members for the "current" term (Fall 2022) to see if any of them were execs. Since our actual current execs (the Spring 2022 execs, since Fall 2022 elections have not occurred yet) have not renewed their memberships for Fall 2022, the script was unable to find individuals for the Prez/VP/AVP/Trez positions, which caused an error.

**Solution:**
1. Gracefully handle the edge case where an exec position might be intentionally unfilled, by simply omitting it from the Meet the Team page.
2. Search through CSC members for both the current term and the previous term, when checking for execs. Note that this might make the build time slightly slower, since the script now needs to loop through two terms of members in order to pick out the execs, however the difference should be insignificant.

Co-authored-by: Amy <a258wang@uwaterloo.ca>
Reviewed-on: #491
Reviewed-by: j285he <j285he@localhost>
2022-09-02 14:34:02 -04:00
..
about Fix exec fetching and add events (#491) 2022-09-02 14:34:02 -04:00
events Create members.json api (#489) 2022-08-08 04:31:15 -04:00
news Implement dark theme (Closes #287) (#407) 2022-06-08 08:45:28 -04:00
resources Implement dark theme (Closes #287) (#407) 2022-06-08 08:45:28 -04:00
404.module.css Added custom 404 page (#410) 2022-03-28 14:53:41 -04:00
404.tsx Added custom 404 page (#410) 2022-03-28 14:53:41 -04:00
_app.css Implement dark theme (Closes #287) (#407) 2022-06-08 08:45:28 -04:00
_app.module.css Shapes Background (#164) 2021-08-27 01:45:14 -04:00
_app.tsx Warning Header (Closes #205) (#394) 2022-02-22 23:29:53 -05:00
_document.tsx Add lang attribute to html (#325) 2021-09-22 17:12:36 -04:00
font.css Home Page UI (#88) 2021-07-27 02:13:34 -04:00
get-involved.module.css Implement dark theme (Closes #287) (#407) 2022-06-08 08:45:28 -04:00
get-involved.tsx Update Get Involved page membership instructions (#429) 2022-04-28 13:22:50 -04:00
get-started.tsx Final changes for deploying (#279) 2021-09-03 18:34:56 -04:00
index.module.css Implement dark theme (Closes #287) (#407) 2022-06-08 08:45:28 -04:00
index.tsx Add endDate to events (#446) 2022-05-25 20:58:12 -04:00
themer.module.css Change CSS variable names + create a themer (#109) 2021-08-03 19:37:02 -04:00
themer.tsx Implement dark theme (Closes #287) (#407) 2022-06-08 08:45:28 -04:00