Skip to content

Commit 931b249

Browse files
authored
Merge pull request #229 from ethereum/heroBug
Fix roadmap hero to match production
2 parents 18af315 + 33a3a04 commit 931b249

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/layouts/Roadmap.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ const HeroContainer = (props: ChildOnlyProp) => (
4848
mb={{ base: 8, lg: 0 }}
4949
maxH={{ base: "100%", lg: "none" }}
5050
{...props}
51+
justify="space-between"
5152
/>
5253
)
5354

5455
const TitleCard = (props: ChildOnlyProp) => (
55-
<Flex p={8} direction="column" justify="flex-start" {...props} />
56+
<Flex w="full" p={8} direction="column" justify="flex-start" {...props} />
5657
)
5758

5859
// Roadmap layout components
@@ -140,11 +141,6 @@ export const RoadmapLayout: React.FC<IProps> = ({
140141
/>
141142
) : (
142143
<HeroContainer>
143-
<Flex
144-
w="full"
145-
flexDirection={{ base: "column", lg: "row" }}
146-
justify="space-between"
147-
>
148144
<TitleCard>
149145
{/* TODO: Double check this slug works */}
150146
<Breadcrumbs slug={slug} mb="8" />
@@ -186,12 +182,11 @@ export const RoadmapLayout: React.FC<IProps> = ({
186182
src={frontmatter.image}
187183
alt={frontmatter.alt ?? ""}
188184
style={{ objectFit: "contain" }}
189-
width={700}
185+
width={1504}
190186
height={345}
191187
priority
192188
/>
193189
</Center>
194-
</Flex>
195190
</HeroContainer>
196191
)}
197192
<Page>

0 commit comments

Comments
 (0)