From 00068a97e467e9c1ea7bbbc5914d82287eeb2bf2 Mon Sep 17 00:00:00 2001 From: jinkang-0 Date: Thu, 11 Jan 2024 23:25:14 -0800 Subject: [PATCH] prep sections for graphics --- src/components/About.astro | 1 + src/components/Contact.astro | 31 +++++++++++++++++++------------ src/components/FAQ.astro | 11 ++++++----- src/components/NonProfits.astro | 14 +++++--------- src/components/Schedule.astro | 2 ++ src/components/Sponsors.astro | 12 ++++++++---- 6 files changed, 41 insertions(+), 30 deletions(-) diff --git a/src/components/About.astro b/src/components/About.astro index 867b0d9..1230344 100644 --- a/src/components/About.astro +++ b/src/components/About.astro @@ -86,6 +86,7 @@ import crowd from '../graphics/about/crowd.webp'; @use '../styles/fonts'; section { + position: relative; display: flex; flex-direction: column; align-items: center; diff --git a/src/components/Contact.astro b/src/components/Contact.astro index a24e80c..ccfbcd5 100644 --- a/src/components/Contact.astro +++ b/src/components/Contact.astro @@ -1,30 +1,37 @@ -
+

CONTACT US

Any other 

questions?

-

We are here to help you! Please check the FAQ first; - If your question is not already answered, you can reach us at - .
-
- Please email - if you need a particular accommodation. - Note that requests made less than 24 hours before the event will likely not be accommodated. +

+ We are here to help you! Please check the FAQ first; If your question is not + already answered, you can reach us at + .
+
+ Please email + if you need a particular accommodation. Note that requests made less than 24 + hours before the event will likely not be accommodated.

\ No newline at end of file + diff --git a/src/components/FAQ.astro b/src/components/FAQ.astro index d6008ed..4703848 100644 --- a/src/components/FAQ.astro +++ b/src/components/FAQ.astro @@ -73,9 +73,9 @@ const faqsCol1 = faqs.slice(0, split); const faqsCol2 = faqs.slice(split); --- -
+
-

FAQ

+

FAQ

Frequently asked questions – we've got the answers

@@ -104,11 +104,12 @@ const faqsCol2 = faqs.slice(split); @use '../styles/fonts'; @use '../styles/breakpoints'; - #faq { + section { + position: relative; display: flex; flex-direction: column; - width: 80vw; - margin: 10rem auto 0; + width: 100%; + margin: 160px auto 0; } .faq-headers { diff --git a/src/components/NonProfits.astro b/src/components/NonProfits.astro index 33d0d3f..ff458b2 100644 --- a/src/components/NonProfits.astro +++ b/src/components/NonProfits.astro @@ -2,8 +2,8 @@ import NonProfit from './NonProfit.astro'; --- -
-

NON-PROFITS

+
+

NON-PROFITS

We’re a hackathon with social good at its heart.

@@ -77,12 +77,12 @@ import NonProfit from './NonProfit.astro'; text-align: center; color: colors.$text; padding-bottom: 2rem; + margin-top: 180px; @media (min-width: breakpoints.$laptop) { - padding: 0 5rem 2rem 5rem; + padding: 0 20%; + padding-bottom: 80px; grid-template-columns: 1fr 1fr 1fr; - max-width: 800px; - margin: auto; } } @@ -105,8 +105,4 @@ import NonProfit from './NonProfit.astro'; grid-template-columns: 1fr 1fr 1fr; } } - - #nonprofits { - margin-top: 180px; - } diff --git a/src/components/Schedule.astro b/src/components/Schedule.astro index 973e87b..9b041b1 100644 --- a/src/components/Schedule.astro +++ b/src/components/Schedule.astro @@ -71,7 +71,9 @@