From 6913802756f0f3f213e0f3718e246f0193459bae Mon Sep 17 00:00:00 2001 From: Weile Date: Sun, 15 Sep 2024 18:12:05 -0400 Subject: [PATCH] redesign-home --- components/hero.jsx | 22 +++++++++++++--------- pages/index.jsx | 2 -- styles/globals.css | 4 ++++ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/components/hero.jsx b/components/hero.jsx index f684294..b46a4cb 100644 --- a/components/hero.jsx +++ b/components/hero.jsx @@ -2,16 +2,20 @@ import Wave from "@/components/wave"; export default function Hero({ children, title }) { return ( -
-
- {title ? ( -

- {title} -

- ) : null} - {children} +
+
+
+ {title ? ( +

+ {title} +

+ ) : null} + {children} +
+
+ +
-
); } diff --git a/pages/index.jsx b/pages/index.jsx index 755b6f9..a9d8429 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -6,8 +6,6 @@ import Layout from "@/components/layout"; import SponsorSection from "@/components/sponsorSection"; import CompanySection from "@/components/companySection"; import Timeline from "@/components/timeline"; -import Wave from "@/components/wave"; -import Wave180 from "@/components/wave180"; import CommunityImages from "@/components/communityImages"; import loadStaticData from "@/shared/static"; import Image from "next/image"; diff --git a/styles/globals.css b/styles/globals.css index ad15874..568aa0f 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -17,6 +17,10 @@ #3e9644 303.75deg, #896ae4 387.03deg ); + padding-top: 10%; + padding-bottom: 20%; + margin-bottom: 6%; + height: 90vh; } .gradient-text {