Skip to content

Commit 56a2a39

Browse files
authored
Merge pull request #7931 from ethereum/card-removal
Patch: remove vision card
2 parents 395d7a1 + cb0545d commit 56a2a39

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/pages/upgrades/vision.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ import FeedbackCard from "../../components/FeedbackCard"
2727
import { translateMessageId } from "../../utils/translations"
2828
import { getImage } from "../../utils/image"
2929

30+
const ProblemCardContainer = styled(CardContainer)`
31+
max-width: ${(props) => props.theme.breakpoints.l};
32+
margin: 0 auto;
33+
`
34+
3035
const StyledCardContainer = styled(CardContainer)`
3136
margin-top: 2rem;
3237
margin-bottom: 3rem;
@@ -83,11 +88,6 @@ const paths = [
8388
title: <Translation id="page-upgrades-vision-title-2" />,
8489
description: <Translation id="page-upgrades-vision-desc-2" />,
8590
},
86-
{
87-
emoji: ":high_voltage_sign:",
88-
title: <Translation id="page-upgrades-vision-title-3" />,
89-
description: <Translation id="page-upgrades-vision-desc-3" />,
90-
},
9191
]
9292

9393
const VisionPage = ({
@@ -192,7 +192,7 @@ const VisionPage = ({
192192
<CenterH2>
193193
<Translation id="page-upgrades-vision-problems" />
194194
</CenterH2>
195-
<CardContainer>
195+
<ProblemCardContainer>
196196
{paths.map((path, idx) => (
197197
<CentreCard
198198
key={idx}
@@ -201,7 +201,7 @@ const VisionPage = ({
201201
description={path.description}
202202
/>
203203
))}
204-
</CardContainer>
204+
</ProblemCardContainer>
205205
</Content>
206206
<TrilemmaContent>
207207
<Trilemma />

0 commit comments

Comments
 (0)