diff --git a/components/About.module.css b/components/About.module.css new file mode 100644 index 0000000..3a82b92 --- /dev/null +++ b/components/About.module.css @@ -0,0 +1,59 @@ +.aboutWrapper { + position: relative; + width: 90%; +} + +.about { + display: flex; + flex-direction: row; + padding: calc(45rem / 16); +} + +.about h1 { + margin: 0; +} + +.about h4 { + margin: 0; +} + +.about aside { + flex: 1; + margin-right: calc(40rem / 16); +} + +.about aside h1 { + color: var(--secondary-accent) +} + +.about aside p { + color: var(--primary-accent-lighter) +} + +.about article { + flex: 3; +} + +.about article p { + color: var(--primary-text); +} + +.angle { + position: absolute; + top: 0; + left: 0; + width: calc(70rem / 16); + height: calc(70rem / 16); +} + +.anglePath { + stroke: var(--primary-accent-light) +} + +.left.angle { + transform: rotate(180deg); + top: unset; + left: unset; + bottom: 0; + right: 0; +} diff --git a/components/About.tsx b/components/About.tsx new file mode 100644 index 0000000..d176012 --- /dev/null +++ b/components/About.tsx @@ -0,0 +1,65 @@ +import React from "react"; + +import styles from "./About.module.css"; + +export default function About() { + return ( +
+ +
+ +
+

Computer Science

+

+ Offered from the Faculty of Mathematics as most commonly a co-op + program, students usually attend 8 school and 6 co-op terms in their + degree. However, CS is very flexible, as many students historically + have dropped co-ops, taking terms off, and messing with their + schedule to fit their desires. +

+

Computing and Financial Management

+

+ Computing and Financial Management (CFM) combines the core CS + courses with electives from areas such as accounting, economics, and + financial management. This is a joint offer from the Faculty of + Mathematics and the School of Accounting and Finance, and has the + same schedule (and flexibility) as CS. +

+

CS/BBA

+

+ Joint with Wilfrid Laurier University, the Business Administration + and Computer Science Double Degree (CS/BBA) is an exclusive offering + that allows students to get experience in CS as well as many + subfields of business. There are 10 school terms and either 4 or 5 + co-op terms in the usual schedule, so it’s a bit more work than CS + or CFM. +

+
+
+ +
+ ); +} + +interface AngleDecorationProps { + isBottom: boolean; +} + +function AngleDecoration({ isBottom }: AngleDecorationProps) { + return ( + + + + ); +} diff --git a/pages/_app.css b/pages/_app.css index 70294e9..af6ace7 100644 --- a/pages/_app.css +++ b/pages/_app.css @@ -24,7 +24,6 @@ body { --light--secondary-accent-light: #FEA0C8; --light--primary-heading: #D02B53; --light--primary-text: #483B35; - --light--secondary-text: var(--pink); --light--link: var(--orange); --light--link-hover: #FFBC9F; --light--card-background: #FFFFFF; diff --git a/pages/playground.tsx b/pages/playground.tsx index 459f5f8..ae354f4 100644 --- a/pages/playground.tsx +++ b/pages/playground.tsx @@ -10,6 +10,7 @@ import { } from "data/mocks"; import React from "react"; +import About from "@/components/About"; import { PieChart } from "@/components/PieChart"; import { QuotationCarousel } from "@/components/QuotationCarousel"; @@ -116,6 +117,11 @@ export default function Home() {

+

+ {""} + +

+

{""}