add news event for resume review event #313

Merged
n3parikh merged 3 commits from n3parikh-resume-news into main 2021-09-15 21:25:45 -04:00
2 changed files with 20 additions and 8 deletions

View File

@ -0,0 +1,15 @@
---
author: 'n3parikh'
date: 'Wed Sep 12 2021 00:00:00 GMT-0400 (Eastern Daylight Time)'
---
📢 UWs 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! 💻 Well 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

View File

@ -91,12 +91,9 @@ export async function getRecentNews(): Promise<News[]> {
)
).flat();
return news
.filter((news) => new Date(news.metadata.date).getTime() <= Date.now())
.sort((a, b) => {
return news.sort((a, b) => {
return (
new Date(b.metadata.date).getTime() -
new Date(a.metadata.date).getTime()
new Date(b.metadata.date).getTime() - new Date(a.metadata.date).getTime()
);
});
}