diff --git a/components/EventSetting.module.css b/components/EventSetting.module.css index 7edfef49..17d429bb 100644 --- a/components/EventSetting.module.css +++ b/components/EventSetting.module.css @@ -1,9 +1,18 @@ +.container { + display: flex; + flex-wrap: wrap; +} + +.separator { + padding: 0 calc(8rem / 16); +} + @media only screen and (max-width: calc(768rem / 16)) { + .container { + flex-direction: column; + } + .separator { display: none; } - - .setting { - display: block; - } } diff --git a/components/EventSetting.tsx b/components/EventSetting.tsx index a0725385..3b6c1f97 100644 --- a/components/EventSetting.tsx +++ b/components/EventSetting.tsx @@ -23,12 +23,10 @@ export function EventSetting(props: Props) { const separator = | ; return ( -
- +
+ {separator} - {time} + {time} {separator} {location}
diff --git a/content/events/2021/fall/BOT.md b/content/events/2021/fall/BOT.md new file mode 100644 index 00000000..469b0d4f --- /dev/null +++ b/content/events/2021/fall/BOT.md @@ -0,0 +1,21 @@ +--- +name: 'CSC BOT & Game Night' +short: 'Learn about our plans for the term and play some games with us.' +date: 'Tuesday September 14 2021 19:00:00 GMT-0400 (Eastern Daylight Time)' +online: true +location: 'Twitch' +poster: 'images/events/2021/fall/BOT.png' +registerLink: https://bit.ly/csc-bot-event-signup-form +--- + +Kick off the fall term with CS Club’s BOT event! 🍂 Interested in attending upcoming CSC events? Want to meet others in the CS community? + +💻 Come join us on Twitch to learn about how you can become a member of CSC and the fun events we have planned for next term. 🎲 Stay for games and socials on the CSC Discord! + +Registration is not required to attend! We’ll just be sending you an email reminder, as well as inviting you to our calendar event. + +📅 Event Date: Tuesday, September 14th from 7:00-8:30 pm ET via [Twitch](https://www.twitch.tv/uwcsclub) and [Discord](https://discord.gg/pHfYBCg) + +👉 Register at https://bit.ly/csc-bot-event-signup-form! Alternatively, you can also email us at exec@csclub.uwaterloo.ca to sign up as well. + +Looking forward to seeing you there!! 🤗 diff --git a/lib/events.ts b/lib/events.ts index 3cb7e621..f4f1d8f4 100644 --- a/lib/events.ts +++ b/lib/events.ts @@ -34,6 +34,7 @@ interface Metadata { date: string; online: boolean; location: string; + registerLink?: string; } export interface Event { diff --git a/public/events.ics b/public/events.ics index b80fa1c2..82996c28 100644 --- a/public/events.ics +++ b/public/events.ics @@ -6,6 +6,17 @@ X-WR-RELCALID:3359A191-B19E-4B53-BADC-DFC084FC51C9 CALSCALE:GREGORIAN METHOD:PUBLISH +BEGIN:VEVENT +LOCATION:Twitch - Online +DTSTAMP:20060912T200708Z +UID:20210914T230000Z@csclub.uwaterloo.ca +SEQUENCE:11 +DTSTART:20210914T230000Z +DTEND:20210915T000000Z +SUMMARY:CSC BOT & Game Night +DESCRIPTION:Learn about our plans for the term and play some games with us. +END:VEVENT + BEGIN:VEVENT LOCATION:University of Waterloo - Online DTSTAMP:20060912T200708Z diff --git a/public/images/events/2021/fall/BOT.png b/public/images/events/2021/fall/BOT.png new file mode 100644 index 00000000..7e8c823a Binary files /dev/null and b/public/images/events/2021/fall/BOT.png differ diff --git a/public/images/events/2021/spring/new-website.png b/public/images/events/2021/spring/new-website.png deleted file mode 100644 index 115d275b..00000000 Binary files a/public/images/events/2021/spring/new-website.png and /dev/null differ