Skip to content

Commit 4e2159d

Browse files
authored
Merge pull request #1154 from ethereum/new-homepage-illustrations
Added images for homepage sections
2 parents fb3b3e9 + daa6d88 commit 4e2159d

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed
1.77 MB
Loading

src/images/home/doge_computer.png

1.77 MB
Loading

src/images/home/enterprise_eth.png

1.37 MB
Loading

src/intl/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,15 @@
9797
"page-home-title": "Ethereum is a global, open-source platform for decentralized applications.",
9898
"page-home-sections-individuals-title": "About Ethereum",
9999
"page-home-sections-individuals-desc": "Get to know Ethereum, Ether, wallets, tokens and more so you can start using Ethereum applications.",
100+
"page-home-sections-individuals-image-alt": "Illustration of a doge dog sitting at a computer",
100101
"page-home-sections-individuals-link-text": "Get started with Ethereum",
101102
"page-home-sections-developers-title": "Developers",
102103
"page-home-sections-developers-desc": "Learn about the technology behind Ethereum and its applications so you can start building with it.",
104+
"page-home-sections-developers-image-alt": "Illustration of a hand constructing an Ethereum glyph made of lego bricks",
103105
"page-home-sections-developers-link-text": "Start building",
104106
"page-home-sections-enterprise-title": "Enterprise",
105107
"page-home-sections-enterprise-desc": "See how Ethereum can open up new business models, reduce your costs and future-proof your business.",
108+
"page-home-sections-enterprise-image-alt": "Illustration of a group working on an Ethereum project around a laptop",
106109
"page-home-sections-enterprise-link-text": "Ethereum for Enterprise",
107110
"page-individuals": "Individuals",
108111
"page-individuals-aria-label": "Individual's Menu",

src/pages/index.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ const Section = styled.div`
8989
@media (max-width: ${(props) => props.theme.breakpoints.m}) {
9090
margin-right: 2rem;
9191
}
92+
@media (max-width: ${(props) => props.theme.breakpoints.s}) {
93+
margin-right: 0;
94+
}
9295
9396
& > h2 {
9497
margin-top: 1rem;
@@ -260,7 +263,7 @@ const HomePage = ({ data }) => {
260263
{
261264
img: {
262265
src: data.individuals,
263-
alt: "page-individuals",
266+
alt: "page-home-sections-individuals-image-alt",
264267
},
265268
title: "page-home-sections-individuals-title",
266269
desc: "page-home-sections-individuals-desc",
@@ -272,7 +275,7 @@ const HomePage = ({ data }) => {
272275
{
273276
img: {
274277
src: data.developers,
275-
alt: "page-developers",
278+
alt: "page-home-sections-developers-image-alt",
276279
},
277280
title: "page-home-sections-developers-title",
278281
desc: "page-home-sections-developers-desc",
@@ -284,7 +287,7 @@ const HomePage = ({ data }) => {
284287
{
285288
img: {
286289
src: data.enterprise,
287-
alt: "page-enterprise",
290+
alt: "page-home-sections-enterprise-image-alt",
288291
},
289292
title: "page-home-sections-enterprise-title",
290293
desc: "page-home-sections-enterprise-desc",
@@ -404,7 +407,7 @@ export default HomePage
404407
export const personaImage = graphql`
405408
fragment personaImage on File {
406409
childImageSharp {
407-
fixed(height: 100) {
410+
fixed(height: 200) {
408411
...GatsbyImageSharpFixed
409412
}
410413
}
@@ -420,13 +423,13 @@ export const query = graphql`
420423
}
421424
}
422425
}
423-
individuals: file(relativePath: { eq: "home/cats.png" }) {
426+
individuals: file(relativePath: { eq: "home/doge_computer.png" }) {
424427
...personaImage
425428
}
426-
developers: file(relativePath: { eq: "home/developers.png" }) {
429+
developers: file(relativePath: { eq: "home/developers_eth_lego.png" }) {
427430
...personaImage
428431
}
429-
enterprise: file(relativePath: { eq: "home/enterprise.png" }) {
432+
enterprise: file(relativePath: { eq: "home/enterprise_eth.png" }) {
430433
...personaImage
431434
}
432435
}

0 commit comments

Comments
 (0)