From bbdead77d53e54103dffff061e5959fc0ae2906e Mon Sep 17 00:00:00 2001 From: Evelyn Yang Date: Sat, 11 Jan 2025 20:56:06 -0800 Subject: [PATCH] adjust event schedule and faqs width and title and description text for smaller screens --- package-lock.json | 1 + src/components/Faqs.tsx | 4 ++-- src/components/Schedule.tsx | 14 +++++++++++--- src/components/Title.tsx | 25 ++++++++++++++++++++----- 4 files changed, 34 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 15480d6..08dd40d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14945,6 +14945,7 @@ "version": "2.8.5", "resolved": "https://registry.npmjs.org/react-multi-carousel/-/react-multi-carousel-2.8.5.tgz", "integrity": "sha512-C5DAvJkfzR2JK9YixZ3oyF9x6R4LW6nzTpIXrl9Oujxi4uqP9SzVVCjl+JLM3tSdqdjAx/oWZK3dTVBSR73Q+w==", + "license": "MIT", "engines": { "node": ">=8" } diff --git a/src/components/Faqs.tsx b/src/components/Faqs.tsx index 9763665..ecc0d2b 100644 --- a/src/components/Faqs.tsx +++ b/src/components/Faqs.tsx @@ -24,8 +24,8 @@ export default function Faqs() { sx={{ backgroundColor: "transparent", color: "white !important", - marginLeft: "10%", - marginRight: "10%", + marginLeft: { xs: "3%", sm: "10%", md: "10%" }, + marginRight: { xs: "3%", sm: "10%", md: "10%" }, "& .MuiAccordion-root": { backgroundColor: "transparent", }, diff --git a/src/components/Schedule.tsx b/src/components/Schedule.tsx index 256258e..60d1895 100644 --- a/src/components/Schedule.tsx +++ b/src/components/Schedule.tsx @@ -22,9 +22,16 @@ const rows = [ createData("8:00 PM", "Closing Ceremony"), ]; -export default function Faqs() { +export default function Schedule() { return ( -
+
MV HACKS
@@ -26,7 +26,12 @@ export default function Title() { THE HACKATHON FOR{" "} EVERYONE
- + Each year, high school hackers from across the Bay Area come together at MVHacks to create cool projects, learn from experts, and participate in 12 hours of hacking! Hackers of all skill levels are welcome to compete, individually or as a group. The date and time of this event are not finalized yet, but will be in Spring 2025 in the Bay Area. - *You can now sign up to be alerted when more details about MVHacks 8.0 are released by clicking the alert me button.{' '} + + *You can now sign up to be alerted when more details about MVHacks 8.0 are released by clicking the alert me button.{' '}