@@ -16,6 +16,7 @@ import Breadcrumbs from "@/components/Breadcrumbs"
16
16
import { List as ButtonDropdownList } from "@/components/ButtonDropdown"
17
17
import { Button , ButtonLink } from "@/components/Buttons"
18
18
import FeedbackCard from "@/components/FeedbackCard"
19
+ import HubHero from "@/components/Hero/HubHero"
19
20
import { Image } from "@/components/Image"
20
21
import LeftNavBar from "@/components/LeftNavBar"
21
22
import {
@@ -31,6 +32,8 @@ import RoadmapActionCard from "@/components/Roadmap/RoadmapActionCard"
31
32
import RoadmapImageContent from "@/components/Roadmap/RoadmapImageContent"
32
33
import TableOfContents from "@/components/TableOfContents"
33
34
35
+ import RoadmapHubHeroImage from "@/public/heroes/roadmap-hub-hero.jpg"
36
+
34
37
const CardGrid = ( props : ChildOnlyProp ) => (
35
38
< SimpleGrid columns = { { base : 1 , md : 2 } } spacing = { 8 } { ...props } />
36
39
)
@@ -128,7 +131,15 @@ export const RoadmapLayout: React.FC<IProps> = ({
128
131
129
132
return (
130
133
< Box position = "relative" >
131
- < HeroContainer >
134
+ { slug === "/roadmap/" ? (
135
+ < HubHero
136
+ heroImgSrc = { RoadmapHubHeroImage }
137
+ header = { frontmatter . title }
138
+ title = { "" }
139
+ description = { frontmatter . description }
140
+ />
141
+ ) : (
142
+ < HeroContainer >
132
143
< Flex
133
144
w = "full"
134
145
flexDirection = { { base : "column" , lg : "row" } }
@@ -182,6 +193,7 @@ export const RoadmapLayout: React.FC<IProps> = ({
182
193
</ Center >
183
194
</ Flex >
184
195
</ HeroContainer >
196
+ ) }
185
197
< Page >
186
198
{ /* TODO: Switch to `above="lg"` after completion of Chakra Migration */ }
187
199
< LeftNavBar
0 commit comments