Merge branch 'main' into fix-oc-burger
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
commit
bb9b00b24e
|
@ -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
|
|
@ -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()
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
@media only screen and (max-width: calc(768rem / 16)) {
|
||||
.page {
|
||||
margin-bottom: calc(30rem / 16);
|
||||
margin: calc(30rem / 16) 0;
|
||||
}
|
||||
|
||||
.headerContainer {
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
.headerContainer {
|
||||
flex-direction: column-reverse;
|
||||
padding-bottom: 1rem;
|
||||
margin-top: calc(30rem / 16);
|
||||
}
|
||||
|
||||
.nav {
|
||||
|
|
|
@ -5,6 +5,11 @@ import { MDXRemote } from "next-mdx-remote";
|
|||
import React from "react";
|
||||
|
||||
import { EventCard } from "@/components/EventCard";
|
||||
import {
|
||||
ShapesConfig,
|
||||
defaultGetShapesConfig,
|
||||
GetShapesConfig,
|
||||
} from "@/components/ShapesBackground";
|
||||
import { Title } from "@/components/Title";
|
||||
import {
|
||||
Event,
|
||||
|
@ -30,6 +35,12 @@ export default function EventInfoPage({ year, term, event }: Props) {
|
|||
);
|
||||
}
|
||||
|
||||
EventInfoPage.getShapesConfig = ((width, height) => {
|
||||
return window.innerWidth <= 768
|
||||
? ({} as ShapesConfig)
|
||||
: defaultGetShapesConfig(width, height);
|
||||
}) as GetShapesConfig;
|
||||
|
||||
interface Props {
|
||||
year: string;
|
||||
term: string;
|
||||
|
|
|
@ -264,20 +264,13 @@ Home.getShapesConfig = (() => {
|
|||
],
|
||||
hash: [
|
||||
{
|
||||
top: "calc(190rem / 16)",
|
||||
right: "87vw",
|
||||
width: "calc(60rem / 16)",
|
||||
height: "calc(60rem / 16)",
|
||||
top: "calc(250rem / 16)",
|
||||
right: "80vw",
|
||||
width: "calc(45rem / 16)",
|
||||
height: "calc(45rem / 16)",
|
||||
},
|
||||
],
|
||||
triangle: [
|
||||
{
|
||||
top: "calc(266rem / 16)",
|
||||
right: "78vw",
|
||||
width: "calc(45rem / 16)",
|
||||
height: "calc(45rem / 16)",
|
||||
transform: "rotate(-26deg)",
|
||||
},
|
||||
{
|
||||
top: "calc(4rem / 16)",
|
||||
right: "3vw",
|
||||
|
@ -288,7 +281,7 @@ Home.getShapesConfig = (() => {
|
|||
],
|
||||
waves: [
|
||||
{
|
||||
top: "calc(168rem / 16)",
|
||||
top: "calc(230rem / 16)",
|
||||
left: "86vw",
|
||||
width: "calc(102rem / 16)",
|
||||
height: "calc(50rem / 16)",
|
||||
|
|
|
@ -36,8 +36,7 @@
|
|||
|
||||
@media only screen and (max-width: calc(768rem / 16)) {
|
||||
.page {
|
||||
margin-top: 0;
|
||||
margin-bottom: calc(20rem / 16);
|
||||
margin: calc(30rem / 16) 0;
|
||||
}
|
||||
|
||||
.headerContainer {
|
||||
|
|
Loading…
Reference in New Issue