If we don't, then `new Date(dateString)` actually interprets it as time in UTC, which is 4/5 hours ahead of EDT/EST. This means that the actual date in the news card is 1 day before the actual date.
https://csclub.uwaterloo.ca/~a3thakra/csc/adi-news-dates
Reviewed-on: www/www-new#177
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
We have decided to use randomly-generated shapes for most of the pages, instead of hard-coding the shapes backgrounds.
Closes#25
Co-authored-by: Amy <a258wang@uwaterloo.ca>
Reviewed-on: www/www-new#164
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Amy <a258wang@csclub.uwaterloo.ca>
Co-committed-by: Amy <a258wang@csclub.uwaterloo.ca>
Also adds a CI step to ensure that we're not merging lockfile v1.
Reviewed-on: www/www-new#176
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Also changed the `XXX@XXX.COM` in the footer to `exec@csclub.uwaterloo.ca`.
Closes#129
Co-authored-by: Amy <a258wang@uwaterloo.ca>
Reviewed-on: www/www-new#175
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Amy <a258wang@csclub.uwaterloo.ca>
Co-committed-by: Amy <a258wang@csclub.uwaterloo.ca>
- Home page displays the 2 soonest upcoming events.
- If there are no upcoming events, displays a short message.
- If there are 1-2 upcoming events, displays the events.
- If there are more than 2 upcoming events, displays the events as well as a link to the Events page.
- Home page displays the most recent news.
- If there is no news, displays a short message.
Closes#149
Co-authored-by: Amy <a258wang@uwaterloo.ca>
Reviewed-on: www/www-new#162
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Amy <a258wang@csclub.uwaterloo.ca>
Co-committed-by: Amy <a258wang@csclub.uwaterloo.ca>
This is the `[event].tsx` page that displays a single event, with a couple of sample events in `content/events` for testing purposes.
Closes#114
Co-authored-by: Amy <minds10@hotmail.com>
Reviewed-on: www/www-new#153
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Amy <a258wang@csclub.uwaterloo.ca>
Co-committed-by: Amy <a258wang@csclub.uwaterloo.ca>
helper functions for [year] and [year]/[term] only
closes#110
Co-authored-by: Jared He <66887902+jaredjhe@users.noreply.github.com>
Reviewed-on: www/www-new#115
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: j285he <j285he@localhost>
Co-committed-by: j285he <j285he@localhost>
Closes#38
Currently short description is still visible when card is closed
Co-authored-by: Linna Luo <linnaluo18@gmail.com>
Reviewed-on: www/www-new#97
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: l42luo <l42luo@localhost>
Co-committed-by: l42luo <l42luo@localhost>
So that renovate uses npm v7 and not npm v6. Node 14 comes with npm v6,
but node 16 comes with npm v7.
Reviewed-on: www/www-new#150
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
## All renovate PRs will use npm v7
Up until now, renovate was using npm v6 to generate PRs for dependency updates. Because the lockfile format changed from v6 to v7, there was a very big diff in the what deps we're installing. Enforcing npm v7 in package.json makes renovate use npm v7 as well.
## Added npm v7 and node 14+ restrictions to package.json
This should print out a warning if the user is not using those versions of node and npm.
## CI is upgraded to node 16
The `node:14` image bundles npm v6, and is the current LTS, but `node:16` will be LTS soon (October 2021) and bundles in npm v7. So we might as well move our CI to node 16. Right now, CI is installing deps with npm v6, and things can potentially go wrong with that.
## Enabled the dependency dashboard for renovatebot
This should create an issue that acts as a dashboard for tracking all renovatebot PRs.
Reviewed-on: www/www-new#127
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Desktop and Mobile versions of the home page UI.
Closes#4 (we can create new issues for the remaining tasks)
Co-authored-by: Amy <minds10@hotmail.com>
Reviewed-on: www/www-new#88
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Amy <a258wang@csclub.uwaterloo.ca>
Co-committed-by: Amy <a258wang@csclub.uwaterloo.ca>
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.
🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.
Closes#92
---
### Detected Package Files
* `.drone.yml` (droneci)
* `package.json` (npm)
### What to Expect
With your current configuration, Renovate will create 7 Pull Requests:
<details>
<summary>Update dependency react to v17.0.2</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/react-17.x`
- Merge into: `main`
- Upgrade [react](https://github.com/facebook/react) to `17.0.2`
</details>
<details>
<summary>Update dependency react-dom to v17.0.2</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/react-dom-17.x`
- Merge into: `main`
- Upgrade [react-dom](https://github.com/facebook/react) to `17.0.2`
</details>
<details>
<summary>Update dependency @​next/mdx to v11</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/next-mdx-11.x`
- Merge into: `main`
- Upgrade [@next/mdx](https://github.com/vercel/next.js) to `^11.0.0`
</details>
<details>
<summary>Update dependency next to v11</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/next-11.x`
- Merge into: `main`
- Upgrade [next](https://github.com/vercel/next.js) to `^11.0.0`
</details>
<details>
<summary>Update dependency remark to v13</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/remark-13.x`
- Merge into: `main`
- Upgrade [remark](https://github.com/remarkjs/remark) to `^13.0.0`
</details>
<details>
<summary>Update dependency remark-html to v13</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/remark-html-13.x`
- Merge into: `main`
- Upgrade [remark-html](https://github.com/remarkjs/remark-html) to `^13.0.0`
</details>
<details>
<summary>Update node Docker tag to v16</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/node-16.x`
- Merge into: `main`
- Upgrade [node](https://github.com/nodejs/node) to `16`
- Upgrade [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped) to `^16.0.0`
</details>
---
❓ Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions).
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
Co-authored-by: Renovate Bot <no-reply@csclub.uwaterloo.ca>
Reviewed-on: www/www-new#100
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Renovate Bot <syscom+renovate@csclub.uwaterloo.ca>
Co-committed-by: Renovate Bot <syscom+renovate@csclub.uwaterloo.ca>
closes#13 and #24
- added the `<EmailSignup>` and `<ConnectWithUs>` components!
- adds the Get Involved Page
Co-authored-by: dora <d43su@uwaterloo.ca>
Co-authored-by: dora <d43su@csclub.uwaterloo.ca>
Reviewed-on: www/www-new#76
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
The mobile navbar is done (finally!), except for a swipe gesture to close the navbar.
Closes#30 and #2
Co-authored-by: Amy
Reviewed-on: www/www-new#75
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Removes gitlab ci and adds .drone.yml
Still need to setup autodepoly for staging websites, but that's for later.
Co-authored-by: Aditya Thakral <aditya.thakral@uwaterloo.ca>
Reviewed-on: www/www-new#77
Reviewed-by: n3parikh <n3parikh@localhost>
Co-authored-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-committed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>