diff --git a/src/assets/heroes/garden.jpg b/src/assets/heroes/garden.jpg new file mode 100644 index 00000000000..ffc16ccefbc Binary files /dev/null and b/src/assets/heroes/garden.jpg differ diff --git a/src/assets/heroes/guides-hub-hero.jpg b/src/assets/heroes/guides-hub-hero.jpg new file mode 100644 index 00000000000..f5d8b8b9f48 Binary files /dev/null and b/src/assets/heroes/guides-hub-hero.jpg differ diff --git a/src/intl/en/page-assets.json b/src/intl/en/page-assets.json index f8fe30d912d..b3adf83bda8 100644 --- a/src/intl/en/page-assets.json +++ b/src/intl/en/page-assets.json @@ -49,5 +49,13 @@ "page-assets-page-assets-transparent-background": "Transparent background", "page-assets-robot": "Robot wallet", "page-assets-sharding": "Sharding", - "page-assets-hackathon": "Hackathon" + "page-assets-hackathon": "Hackathon", + "page-assets-learn-hero-name": "Futuristic university", + "page-assets-community-hero-name": "Community gathering", + "page-assets-quizzes-hero-name": "Infinite playground", + "page-assets-developers-hero-name": "Building the future", + "page-assets-garden-name": "Garden of Ethereum", + "page-assets-roadmap-hero-name": "Road(s) to the future", + "page-assets-layer-2-hero-name": "Constructing Ethereum", + "page-assets-guides-hero-name": "Ethereum lab" } diff --git a/src/pages/assets.tsx b/src/pages/assets.tsx index cca26c98639..ecc64e20aae 100644 --- a/src/pages/assets.tsx +++ b/src/pages/assets.tsx @@ -113,6 +113,70 @@ const AssetsPage = ({ data }: PageProps) => { artistUrl="https://liamcobb.com/" /> + + + + + + + + + + + + + + + + ( ) => { @@ -246,6 +249,14 @@ const StaticPage = ({ const { editContentUrl } = siteData.siteMetadata || {} const absoluteEditPath = `${editContentUrl}${relativePath}` + const parsedPathname = location.pathname + .split("/") + .filter((item) => item !== "") + .slice(1) + .join("/") + + console.log(parsedPathname) + return ( {showPostMergeBanner && ( @@ -267,46 +278,59 @@ const StaticPage = ({ title={mdx.frontmatter.title} description={mdx.frontmatter.description} /> - + {parsedPathname === "guides" ? ( + + ) : ( + <> + + + :{" "} + {getLocaleTimestamp(language as Lang, lastUpdatedDate)} + + + )} + - - - :{" "} - {getLocaleTimestamp(language as Lang, lastUpdatedDate)} - - - - {mdx.body} - - + + + {mdx.body} + + + {tocItems && (