Skip to content

Commit 7922d92

Browse files
committed
Add Leslie the rhino to the assets page, and add artist info for Tomo
1 parent 0e8487a commit 7922d92

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

src/intl/en/page-assets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"page-assets-illustrations": "Illustrations",
3939
"page-assets-impact": "Impact",
4040
"page-assets-infrastructure": "Infrastructure",
41+
"page-assets-leslie-the-rhino": "Leslie the rhino",
4142
"page-assets-meta-desc": "Explore and download Ethereum and ethereum.org brand assets, illustrations and media.",
4243
"page-assets-meta-title": "Ethereum brand assets",
4344
"page-assets-mainnet": "Mainnet",

src/pages/assets.tsx

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
1-
import React, { useContext } from "react"
1+
// Libraries
2+
import React from "react"
23
import { useIntl } from "react-intl"
34
import { useTheme } from "@emotion/react"
45
import styled from "@emotion/styled"
56
import { GatsbyImage, getImage } from "gatsby-plugin-image"
67
import { graphql, PageProps } from "gatsby"
78

9+
// Assets
10+
import EthGlyphColoredSvg from "../assets/assets/eth-glyph-colored.svg"
11+
12+
// Components
813
import AssetDownload from "../components/AssetDownload"
914
import Link from "../components/Link"
1015
import PageMetadata from "../components/PageMetadata"
1116
import Translation from "../components/Translation"
1217
import { Page, Content } from "../components/SharedStyledComponents"
1318
import FeedbackCard from "../components/FeedbackCard"
1419

15-
import { translateMessageId } from "../utils/translations"
16-
import EthGlyphColoredSvg from "../assets/assets/eth-glyph-colored.svg"
20+
// Types
1721
import { Context } from "../types"
1822

23+
// Utils
24+
import { translateMessageId } from "../utils/translations"
25+
1926
const Image = styled(GatsbyImage)`
2027
align-self: center;
2128
width: 100%;
@@ -275,6 +282,24 @@ const AssetsPage = ({ data }: PageProps<Queries.AssetsPageQuery, Context>) => {
275282
/>
276283
</Row>
277284

285+
<Row>
286+
<AssetDownload
287+
title={translateMessageId("page-assets-leslie-the-rhino", intl)}
288+
alt={translateMessageId("page-assets-leslie-the-rhino", intl)}
289+
artistName="Tomo Saito"
290+
artistUrl="https://tomosaito.com/"
291+
image={data.leslieTheRhino}
292+
/>
293+
<AssetDownload
294+
title={translateMessageId("page-assets-leslie-the-rhino", intl)}
295+
alt={translateMessageId("page-assets-leslie-the-rhino", intl)}
296+
artistName="Tomo Saito"
297+
artistUrl="https://tomosaito.com/"
298+
image={data.leslieTheRhino}
299+
shouldHide={true}
300+
/>
301+
</Row>
302+
278303
<H2 id="historical">
279304
<Translation id="page-assets-historical-artwork" />
280305
</H2>
@@ -591,6 +616,9 @@ export const query = graphql`
591616
dao: file(relativePath: { eq: "use-cases/dao-2.png" }) {
592617
...assetItem
593618
}
619+
leslieTheRhino: file(relativePath: { eq: "upgrades/upgrade_rhino.png" }) {
620+
...assetItem
621+
}
594622
ethGifCat: file(relativePath: { eq: "eth-gif-cat.png" }) {
595623
...assetItem
596624
}

0 commit comments

Comments
 (0)