File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ const components = {
144
144
}
145
145
146
146
const RoadmapPage = ( {
147
- data : { pageData : mdx } ,
147
+ data : { pageData : mdx , heroImage } ,
148
148
location,
149
149
} : PageProps < Queries . RoadmapPageQuery , Context > ) => {
150
150
// TODO: Replace with direct token implementation after UI migration is completed
@@ -221,7 +221,7 @@ const RoadmapPage = ({
221
221
< Box position = "relative" >
222
222
{ parsedPathname === "roadmap" ? (
223
223
< HubHero
224
- heroImgSrc = { getImage ( mdx . frontmatter . image ) ! }
224
+ heroImgSrc = { getImage ( heroImage ) ! }
225
225
header = { mdx . frontmatter . title }
226
226
title = { "" }
227
227
description = { mdx . frontmatter . description }
@@ -324,6 +324,16 @@ export const roadmapPageQuery = graphql`
324
324
}
325
325
}
326
326
}
327
+ heroImage: file(relativePath: { eq: "heroes/roadmap-hub-hero.jpg" }) {
328
+ childImageSharp {
329
+ gatsbyImageData(
330
+ width: 1504
331
+ layout: CONSTRAINED
332
+ placeholder: BLURRED
333
+ quality: 100
334
+ )
335
+ }
336
+ }
327
337
pageData: mdx(fields: { relativePath: { eq: $relativePath } }) {
328
338
fields {
329
339
slug
You can’t perform that action at this time.
0 commit comments