From ae8e84564bc7b8e04d65e5b4dd9bacc888299f89 Mon Sep 17 00:00:00 2001 From: Bonnie Peng Date: Tue, 22 Jun 2021 01:22:54 +0000 Subject: [PATCH] Our Supporters Page --- components/Navbar.tsx | 4 ++ content/our-supporters.mdx | 31 ++++++++++++ next-env.d.ts | 8 ++++ pages/about/our-supporters.module.css | 56 ++++++++++++++++++++++ pages/about/our-supporters.tsx | 34 +++++++++++++ public/our-supporters/supporters-codey.svg | 38 +++++++++++++++ 6 files changed, 171 insertions(+) create mode 100644 content/our-supporters.mdx create mode 100644 pages/about/our-supporters.module.css create mode 100644 pages/about/our-supporters.tsx create mode 100644 public/our-supporters/supporters-codey.svg diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 5bf8d8c4..dd97771b 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -38,6 +38,10 @@ const menu: NavLink[] = [ name: "Code of Conduct", route: "/about/code-of-conduct", }, + { + name: "Our Supporters", + route: "/about/our-supporters", + }, ], }, { diff --git a/content/our-supporters.mdx b/content/our-supporters.mdx new file mode 100644 index 00000000..10e6003c --- /dev/null +++ b/content/our-supporters.mdx @@ -0,0 +1,31 @@ +## Mathematics Endowment Fund + +The [Mathematics Endowment Fund](https://uwaterloo.ca/math-endowment-fund/) has provided funding for a variety of projects, events, and hardware: + +- A new disk shelf (24 disks x 2TB) for the NetApp filers donated by CSCF and MFCF, to be used to improve home directories +- Ginkgo, a server to improve CSC web hosting services +- Drives for Potassium-Benzoate, the server that runs [mirror.csclub.uwaterloo.ca](http://mirror.csclub.uwaterloo.ca/) +- Potassium-Benzoate, the server that runs [mirror.csclub.uwaterloo.ca](http://mirror.csclub.uwaterloo.ca/) +- High-Fructose Corn Syrup, a server used for high performance computing +- Sodium-Benzoate, the server that previously ran [mirror.csclub.uwaterloo.ca](http://mirror.csclub.uwaterloo.ca/) +- A gigabit switch for the MathSoc offices (including ours) +- Academic talks +- Linux CDs for first-year students +- Caffeine, our primary server +- Various books for the CSC library + +The Computer Science club graciously thanks the Mathematics Endowment Fund for their financial support. + +## MathSoc Capital Improvements Fund + +The [MathSoc Capital Improvements Fund](http://mathsoc.uwaterloo.ca/council/policies/Capital+Improvements+Fund) has provided funding of new office hardware: + +- Strombola and Bit-Shifter hardware upgrade (new motherboard, CPU and RAM) +- 2x 8-port 10Gbps SFP+ network cards for the Math Student Orgs routers/switches +- Natural-Flavours hardware upgrade (new motherboard, CPU and RAM) + +## Student Life Endowment Fund + +The [Student Life Endowment Fund](https://feds.ca/funding#fund-slef) has provided funding of new hardware: + +- Biloba, a server to improve CSC web hosting services diff --git a/next-env.d.ts b/next-env.d.ts index cdebab18..ffde38ef 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -62,3 +62,11 @@ declare module "*.section.mdx" { export const metadata: SectionMetadata; export default ReactComponent; } + +declare module "*.mdx" { + import { ComponentType } from "react"; + + const ReactComponent: ComponentType; + + export default ReactComponent; +} diff --git a/pages/about/our-supporters.module.css b/pages/about/our-supporters.module.css new file mode 100644 index 00000000..0ee1b98c --- /dev/null +++ b/pages/about/our-supporters.module.css @@ -0,0 +1,56 @@ +.container { + margin: 0 auto; + max-width: calc(806rem / 16); + padding: 0 calc(60rem / 16); +} + +.headerContainer { + display: flex; + flex-direction: row; + align-items: flex-end; + padding-bottom: 1rem; + border-bottom: calc(1rem / 16) solid var(--purple-2); +} + +.header { + color: var(--purple-2); + font-size: calc(48rem / 16); + margin: 0 1rem 0 0; + text-align: center; +} + +.title { + font-weight: 600; + font-size: calc(24rem / 16); + line-height: calc(36 / 24); + color: var(--blue-2); + margin-top: calc(35rem / 16); +} + +.text { + line-height: calc(24 / 16); +} + +@media only screen and (max-width: calc(768rem / 16)) { + .container { + padding: 0 calc(45rem / 16); + } + + .headerContainer { + flex-direction: column-reverse; + align-items: center; + border: none; + } + + .header { + font-size: calc(24rem / 16); + } + + .codey { + width: calc(100rem / 16); + } + + .list { + padding: 0 calc(18rem / 16); + } +} diff --git a/pages/about/our-supporters.tsx b/pages/about/our-supporters.tsx new file mode 100644 index 00000000..dc79825b --- /dev/null +++ b/pages/about/our-supporters.tsx @@ -0,0 +1,34 @@ +import { MDXProvider } from "@mdx-js/react"; +import React, { HTMLAttributes } from "react"; +import { Image } from "../../components/Image"; +import Content from "../../content/our-supporters.mdx"; +import styles from "./our-supporters.module.css"; + +export default function OurSupporters() { + return ( + +
+
+

Our Supporters

+ +
+ +
+
+ ); +} + +function H2(props: HTMLAttributes) { + return

; +} + +function Text(props: HTMLAttributes) { + return

; +} + +function UL(props: HTMLAttributes) { + return

    ; +} diff --git a/public/our-supporters/supporters-codey.svg b/public/our-supporters/supporters-codey.svg new file mode 100644 index 00000000..d6e9872a --- /dev/null +++ b/public/our-supporters/supporters-codey.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +