Skip to content

Commit fbe8307

Browse files
committed
fix(web): add wrapper for home page
1 parent 288a281 commit fbe8307

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

web/src/pages/Home/index.tsx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ import Community from "./Community";
1313
import CourtOverview from "./CourtOverview";
1414
import TopJurors from "./TopJurors";
1515

16+
const Wrapper = styled.div`
17+
width: 100%;
18+
`;
19+
1620
const Container = styled.div`
1721
width: 100%;
1822
background-color: ${({ theme }) => theme.lightBackground};
@@ -24,13 +28,15 @@ const Container = styled.div`
2428
const Home: React.FC = () => {
2529
return (
2630
<HomePageProvider timeframe={getOneYearAgoTimestamp()}>
27-
<HeroImage />
28-
<Container>
29-
<CourtOverview />
30-
<LatestCases />
31-
<TopJurors />
32-
<Community />
33-
</Container>
31+
<Wrapper>
32+
<HeroImage />
33+
<Container>
34+
<CourtOverview />
35+
<LatestCases />
36+
<TopJurors />
37+
<Community />
38+
</Container>
39+
</Wrapper>
3440
</HomePageProvider>
3541
);
3642
};

0 commit comments

Comments
 (0)