From c94448f6abf2c06327ff46f96331d3b8a997f3ee Mon Sep 17 00:00:00 2001 From: Linna Luo Date: Fri, 2 Jul 2021 21:56:07 -0400 Subject: [PATCH] cleaned up some of css file --- pages/about/index.module.css | 23 ++++---------- pages/about/index.tsx | 59 +++++++++++++++--------------------- 2 files changed, 31 insertions(+), 51 deletions(-) diff --git a/pages/about/index.module.css b/pages/about/index.module.css index 6310e88b..b6bc5e5d 100644 --- a/pages/about/index.module.css +++ b/pages/about/index.module.css @@ -1,28 +1,21 @@ .title { color: var(--purple-2); font-size: 48px; + margin: 2rem auto; + max-width: calc(806rem / 16); } -.headings { +.headings h2 { color: var(--blue-2); font-size: 24px; } -.headings li { +.text, +.text li { font-size: 16px; color: black; } -.text { - font-size: 16px; - color: black; -} - -.title { - margin: 2rem auto; - max-width: calc(806rem / 16); -} - .divs { margin-top: 4rem; } @@ -38,10 +31,6 @@ background-color: #e1eefa; } */ -.content { - margin: auto; -} - .flexBox { position: relative; display: flex; @@ -63,10 +52,10 @@ z-index: -1; } +/*for temp mailing list components*/ .mailingList { margin: 4rem auto; max-width: calc(806rem / 16); - /* padding: 0 calc(60rem / 16); */ } .mailingList form > * { diff --git a/pages/about/index.tsx b/pages/about/index.tsx index 78a11ba7..97d5fdda 100644 --- a/pages/about/index.tsx +++ b/pages/about/index.tsx @@ -8,50 +8,41 @@ import { SocialLinks } from "../../components/SocialLinks"; export default function AboutUs() { return ( - +

About Us!

-
-
+
+
-
-

Connect with us!

-

- Drop by any of our social media outlets to learn more about us, keep - up-to-date with our upcoming events, or to chat with our members! -

- -

Send feedback through our Feedback Form

-

Join our Mailing List!

-
-
- -
-
- -
- -
-
- +
+

Connect with us!

+

+ Drop by any of our social media outlets to learn more about us, keep + up-to-date with our upcoming events, or to chat with our members! +

+ +

Send feedback through our Feedback Form

+

Join our Mailing List!

+
+
+ +
+
+ +
+ +
+
+ ); } -/*to be replaced by css rules in about-us.module.css*/ -function H2(props: HTMLAttributes) { - return

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

; -} - -function Div(props: HTMLAttributes) { - return

; +function DefaultLayout(props: { children: React.ReactNode }) { + return
{props.children}
; }