Skip to content

Commit 7269f8f

Browse files
authored
Merge pull request #97 from MichiganDataScienceTeam/redesign-home-screen
redesign-home
2 parents 16b735f + 6913802 commit 7269f8f

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

components/hero.jsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@ import Wave from "@/components/wave";
22

33
export default function Hero({ children, title }) {
44
return (
5-
<div className="md:text-left text-center hero">
6-
<div className="container mx-auto px-2">
7-
{title ? (
8-
<h1 className="mb-2 md:mb-5 lg:text-5xl text-4xl font-bold text-center">
9-
{title}
10-
</h1>
11-
) : null}
12-
{children}
5+
<div>
6+
<div className="md:text-left text-center hero">
7+
<div className="container mx-auto px-2">
8+
{title ? (
9+
<h1 className="mb-2 md:mb-5 lg:text-5xl text-4xl font-bold text-center">
10+
{title}
11+
</h1>
12+
) : null}
13+
{children}
14+
</div>
15+
<div className="absolute bottom-0 w-full">
16+
<Wave />
17+
</div>
1318
</div>
14-
<Wave></Wave>
1519
</div>
1620
);
1721
}

pages/index.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import Layout from "@/components/layout";
66
import SponsorSection from "@/components/sponsorSection";
77
import CompanySection from "@/components/companySection";
88
import Timeline from "@/components/timeline";
9-
import Wave from "@/components/wave";
10-
import Wave180 from "@/components/wave180";
119
import CommunityImages from "@/components/communityImages";
1210
import loadStaticData from "@/shared/static";
1311
import Image from "next/image";

styles/globals.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
#3e9644 303.75deg,
1818
#896ae4 387.03deg
1919
);
20+
padding-top: 10%;
21+
padding-bottom: 20%;
22+
margin-bottom: 6%;
23+
height: 90vh;
2024
}
2125

2226
.gradient-text {

0 commit comments

Comments
 (0)