From 2f2c032bd7ddfe72825a3d8d5d6672bf73340e79 Mon Sep 17 00:00:00 2001 From: n3parikh Date: Wed, 15 Sep 2021 21:25:44 -0400 Subject: [PATCH] add news event for resume review event (#313) https://csclub.uwaterloo.ca/~a3thakra/csc/n3parikh-resume-news/ Co-authored-by: Neil Parikh Co-authored-by: Aditya Thakral Reviewed-on: https://git.csclub.uwaterloo.ca/www/www-new/pulls/313 Reviewed-by: Aditya Thakral Co-authored-by: n3parikh Co-committed-by: n3parikh --- content/news/2021/fall/2021-09-12-n3parikh.md | 15 +++++++++++++++ lib/news.ts | 13 +++++-------- 2 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 content/news/2021/fall/2021-09-12-n3parikh.md diff --git a/content/news/2021/fall/2021-09-12-n3parikh.md b/content/news/2021/fall/2021-09-12-n3parikh.md new file mode 100644 index 00000000..3d32fba9 --- /dev/null +++ b/content/news/2021/fall/2021-09-12-n3parikh.md @@ -0,0 +1,15 @@ +--- +author: 'n3parikh' +date: 'Wed Sep 12 2021 00:00:00 GMT-0400 (Eastern Daylight Time)' +--- +📢 UW’s Tech Clubs are proud to present to you Bootcamp! This event is a new initiative brought to you to help sharpen your resumes happening on September 19th from 6 PM to 10 PM ET. + +At this time, we are looking for mentors who are willing to critique resumes, and the applications have officially opened. 📝 In order to qualify to be a mentor, you must at least have started your second coop. This is a great opportunity to help others with the knowledge you have, and make a difference in the UW Tech community. + +If that interests you, please sign up! 💻 We’ll be emailing you more information closer to the event date. + +👉 Sign up at https://bit.ly/bootcamp-resumes-interviews + +Alternatively, you can email us at exec@csclub.uwaterloo.ca specifying that you have started at least your second co-op, your current education path, and your numerical Discord ID. + +📅 Deadline to Sign Up: Friday 17th September 11:59 PM ET diff --git a/lib/news.ts b/lib/news.ts index a5ce2bc7..2db87948 100644 --- a/lib/news.ts +++ b/lib/news.ts @@ -91,12 +91,9 @@ export async function getRecentNews(): Promise { ) ).flat(); - return news - .filter((news) => new Date(news.metadata.date).getTime() <= Date.now()) - .sort((a, b) => { - return ( - new Date(b.metadata.date).getTime() - - new Date(a.metadata.date).getTime() - ); - }); + return news.sort((a, b) => { + return ( + new Date(b.metadata.date).getTime() - new Date(a.metadata.date).getTime() + ); + }); }