From b6af735d56444f4795e487c5d247d94bd3851672 Mon Sep 17 00:00:00 2001 From: Cedric Rische Date: Wed, 14 Feb 2024 21:11:16 +0100 Subject: [PATCH] Some changes --- src/components/Faq/Faq.jsx | 18 +++--- src/components/Gallery/Gallery.jsx | 4 +- src/components/LandingImage/Countdown.jsx | 2 +- src/components/LandingImage/LandingImage2.jsx | 59 ++++++++++--------- src/components/Newsletter/Newsletter.jsx | 3 +- src/components/Registration/Registration.jsx | 4 +- src/components/Sponsors/Sponsors.jsx | 2 +- src/components/Team/Team.jsx | 19 +++--- src/components/Theme/HackHpiTheme.js | 3 +- src/components/TimeTable/TimeTable.jsx | 49 +++++++++------ src/components/WhatToExpect/WhatToExpect.jsx | 10 ++-- 11 files changed, 98 insertions(+), 75 deletions(-) diff --git a/src/components/Faq/Faq.jsx b/src/components/Faq/Faq.jsx index 66e2b5d..3325e88 100644 --- a/src/components/Faq/Faq.jsx +++ b/src/components/Faq/Faq.jsx @@ -8,7 +8,8 @@ import { List, ListItemButton, ListItemIcon, - Typography, useMediaQuery, + Typography, + useMediaQuery, useTheme } from "@mui/material"; import React from "react"; @@ -116,8 +117,8 @@ export function Faq() { }; return ( - - Frequently asked questions + + Frequently asked questions Can't find the answer you're looking for? You can always send us an email with your @@ -132,14 +133,13 @@ export function Faq() { key={faq.name} selected={selectedIndex === idx} onClick={(event) => handleListItemClick(event, idx)} - sx={{padding: 2}} + sx={{padding: 1}} > - + - {faq.name} + {faq.name} )) } @@ -147,11 +147,11 @@ export function Faq() { - + { faqs[selectedIndex].items.map((faq, idx) => ( - + {faq.title} diff --git a/src/components/Gallery/Gallery.jsx b/src/components/Gallery/Gallery.jsx index 3483e82..7bc376b 100644 --- a/src/components/Gallery/Gallery.jsx +++ b/src/components/Gallery/Gallery.jsx @@ -168,8 +168,8 @@ export function Gallery() { }; return ( - - Gallery + + Gallery {/* diff --git a/src/components/LandingImage/Countdown.jsx b/src/components/LandingImage/Countdown.jsx index 411318a..464f83b 100644 --- a/src/components/LandingImage/Countdown.jsx +++ b/src/components/LandingImage/Countdown.jsx @@ -14,7 +14,7 @@ function Countdown() { }, []); //dependency, if end changes remount return ( - + {`${Math.round(timeLeft / (24 * 60 * 60 * 1000))} Days`} ) diff --git a/src/components/LandingImage/LandingImage2.jsx b/src/components/LandingImage/LandingImage2.jsx index bc5e809..db72af8 100644 --- a/src/components/LandingImage/LandingImage2.jsx +++ b/src/components/LandingImage/LandingImage2.jsx @@ -9,62 +9,65 @@ function LandingImage2() { return ( - + - {"HackHPI + {"HackHPI
- + + +
- + - + - - 5th - 6th April + sx={{height: "100%", paddingRight: "1.25rem", paddingLeft: "1.25rem",}} spacing={2}> + + 5th - 6th + April diff --git a/src/components/Newsletter/Newsletter.jsx b/src/components/Newsletter/Newsletter.jsx index acb98f1..b29ec50 100644 --- a/src/components/Newsletter/Newsletter.jsx +++ b/src/components/Newsletter/Newsletter.jsx @@ -6,7 +6,7 @@ function Newsletter() { return ( - +