From b352aa64cefae2653dbbed4e2b917b28d1599b4e Mon Sep 17 00:00:00 2001 From: Linna Luo Date: Wed, 18 Aug 2021 18:40:54 -0400 Subject: [PATCH] initial commit for advice page --- components/Navbar.tsx | 4 +++ content/advice/advice.mdx | 0 pages/resources/advice/index.module.css | 22 ++++++++++++ pages/resources/advice/index.tsx | 19 ++++++++++ public/resources/advice/codey.svg | 46 +++++++++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 content/advice/advice.mdx create mode 100644 pages/resources/advice/index.module.css create mode 100644 pages/resources/advice/index.tsx create mode 100644 public/resources/advice/codey.svg diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 3d83bc18..b7f695a0 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -70,6 +70,10 @@ const menu: Menu = [ name: "CS Club Wiki", route: "https://wiki.csclub.uwaterloo.ca", }, + { + name: "Advice", + route: "/resources/advice", + }, ], }, ]; diff --git a/content/advice/advice.mdx b/content/advice/advice.mdx new file mode 100644 index 00000000..e69de29b diff --git a/pages/resources/advice/index.module.css b/pages/resources/advice/index.module.css new file mode 100644 index 00000000..ea89d520 --- /dev/null +++ b/pages/resources/advice/index.module.css @@ -0,0 +1,22 @@ +.titleContainer { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + padding-bottom: calc(32rem / 16); + border-bottom: calc(1rem / 16) solid var(--primary-heading); +} + +.title { + padding-right: calc(40rem / 16); +} + +.adviceBarContainer { + display: flex; + justify-content: flex-start; + padding-top: calc(24rem / 16); +} + +.adviceBarContainer > a { + padding-right: calc(48rem / 16); +} diff --git a/pages/resources/advice/index.tsx b/pages/resources/advice/index.tsx new file mode 100644 index 00000000..9de42786 --- /dev/null +++ b/pages/resources/advice/index.tsx @@ -0,0 +1,19 @@ +import React from "react"; + +import { Image } from "@/components/Image"; +import { Link } from "@/components/Link" + +import styles from "./index.module.css" + +export default function Advice () { + return (<>
+

Waterloo Undergraduate Advice

+ +
+
+ Coop Advice + Academic Advice + Additional Resources +
+ ); +} \ No newline at end of file diff --git a/public/resources/advice/codey.svg b/public/resources/advice/codey.svg new file mode 100644 index 00000000..0171213c --- /dev/null +++ b/public/resources/advice/codey.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +