Skip to content

Commit e2556af

Browse files
feat(pages/learn): use new image for learn hub hero
1 parent 879e611 commit e2556af

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/assets/ethereum-eth2.png

-1.28 MB
Binary file not shown.

src/assets/heroes/learn-hub-hero.png

4.27 MB
Loading

src/components/Hero/HubHero/HubHero.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ const mockGatsbyImgData: IGatsbyImageData = {
2828
layout: "fullWidth",
2929
images: {
3030
fallback: {
31-
src: "/ethereum-eth2.png",
31+
src: "/heroes/learn-hub-hero.png",
3232
sizes: "100vw",
3333
},
3434
sources: [
3535
{
36-
srcSet: "/ethereum-eth2.png",
36+
srcSet: "/heroes/learn-hub-hero.png",
3737
type: "image/webp",
3838
sizes: "100vw",
3939
},

src/pages/learn/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ export const query = graphql`
806806
}
807807
}
808808
}
809-
heroImage: file(relativePath: { eq: "ethereum-eth2.png" }) {
809+
heroImage: file(relativePath: { eq: "heroes/learn-hub-hero.png" }) {
810810
childImageSharp {
811811
gatsbyImageData(
812812
width: 1504

0 commit comments

Comments
 (0)