From 9a60c6b77999feb20ed261a7cc5d2ed47a9e64f3 Mon Sep 17 00:00:00 2001 From: Jared He Date: Fri, 30 Dec 2022 19:37:14 -0500 Subject: [PATCH] Add front page (Closes #44) (#68) https://j285he-front-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/ Co-authored-by: Jared He <66887902+jaredjhe@users.noreply.github.com> Co-authored-by: e26chiu Co-authored-by: shahanneda Co-authored-by: Shahan Nedadahandeh Reviewed-on: https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile/pulls/68 Reviewed-by: Mark Chiu Co-authored-by: Jared He Co-committed-by: Jared He --- components/About.module.css | 6 ++ components/About.tsx | 6 +- components/CenterWrapper.module.css | 10 +- components/Sections.module.css | 12 ++- components/Sections.tsx | 15 ++- components/Timeline.module.css | 21 +++- components/Timeline.tsx | 29 ++---- components/Title.tsx | 19 ++++ pages/academics.tsx | 4 +- pages/contributors.tsx | 2 + pages/coop.tsx | 4 +- pages/demographics.tsx | 4 +- pages/friends.tsx | 4 +- pages/frontpage.module.css | 150 ++++++++++++++++++++++++++++ pages/index.tsx | 79 +++++++++++++-- pages/intimacy-and-drugs.tsx | 4 +- pages/lifestyle-and-interests.tsx | 4 +- pages/mental-health.tsx | 4 +- pages/miscellaneous.tsx | 4 +- pages/personal.tsx | 4 +- pages/post-grad.tsx | 4 +- public/images/frontPageTitle.png | Bin 0 -> 780087 bytes 22 files changed, 342 insertions(+), 47 deletions(-) create mode 100644 components/Title.tsx create mode 100644 pages/frontpage.module.css create mode 100644 public/images/frontPageTitle.png diff --git a/components/About.module.css b/components/About.module.css index 3a82b92..e1aad7b 100644 --- a/components/About.module.css +++ b/components/About.module.css @@ -57,3 +57,9 @@ bottom: 0; right: 0; } + +@media screen and (max-width: 900px) { + .about { + flex-direction: column; + } +} diff --git a/components/About.tsx b/components/About.tsx index f409610..2417e47 100644 --- a/components/About.tsx +++ b/components/About.tsx @@ -4,7 +4,7 @@ import styles from "./About.module.css"; export function About() { return ( -
+