add news event for resume review event (#313)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
https://csclub.uwaterloo.ca/~a3thakra/csc/n3parikh-resume-news/ Co-authored-by: Neil Parikh <n3parikh@csclub.uwaterloo.ca> Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca> Reviewed-on: #313 Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca> Co-authored-by: n3parikh <n3parikh@csclub.uwaterloo.ca> Co-committed-by: n3parikh <n3parikh@csclub.uwaterloo.ca>
This commit is contained in:
parent
e088ff1f4f
commit
2f2c032bd7
|
@ -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
|
13
lib/news.ts
13
lib/news.ts
|
@ -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 (
|
||||
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()
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue