Skip to content

Commit 4175480

Browse files
authored
Merge branch 'dev' into crowdin-import-update
2 parents 1616aab + 34294af commit 4175480

File tree

1,344 files changed

+104530
-43105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,344 files changed

+104530
-43105
lines changed

.all-contributorsrc

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10523,6 +10523,132 @@
1052310523
"contributions": [
1052410524
"bug"
1052510525
]
10526+
},
10527+
{
10528+
"login": "0xMimir",
10529+
"name": "0xMimir",
10530+
"avatar_url": "https://avatars.githubusercontent.com/u/108837858?v=4",
10531+
"profile": "https://github.com/0xMimir",
10532+
"contributions": [
10533+
"content"
10534+
]
10535+
},
10536+
{
10537+
"login": "bilaljawed",
10538+
"name": "Bilal",
10539+
"avatar_url": "https://avatars.githubusercontent.com/u/17548944?v=4",
10540+
"profile": "https://github.com/bilaljawed",
10541+
"contributions": [
10542+
"content"
10543+
]
10544+
},
10545+
{
10546+
"login": "ilanolkies",
10547+
"name": "Ilan",
10548+
"avatar_url": "https://avatars.githubusercontent.com/u/36084092?v=4",
10549+
"profile": "https://ilanolkies.com",
10550+
"contributions": [
10551+
"content"
10552+
]
10553+
},
10554+
{
10555+
"login": "umededoteth",
10556+
"name": "umede",
10557+
"avatar_url": "https://avatars.githubusercontent.com/u/122288558?v=4",
10558+
"profile": "https://mirror.xyz/umede.eth",
10559+
"contributions": [
10560+
"content"
10561+
]
10562+
},
10563+
{
10564+
"login": "taminobaumann",
10565+
"name": "Tamino",
10566+
"avatar_url": "https://avatars.githubusercontent.com/u/48290617?v=4",
10567+
"profile": "http://taminobaumann.com",
10568+
"contributions": [
10569+
"content"
10570+
]
10571+
},
10572+
{
10573+
"login": "keccers",
10574+
"name": "Katherine Champagne",
10575+
"avatar_url": "https://avatars.githubusercontent.com/u/770277?v=4",
10576+
"profile": "https://github.com/keccers",
10577+
"contributions": [
10578+
"content"
10579+
]
10580+
},
10581+
{
10582+
"login": "Coderoostr",
10583+
"name": "Marcos González",
10584+
"avatar_url": "https://avatars.githubusercontent.com/u/103231131?v=4",
10585+
"profile": "https://coderoostr.com",
10586+
"contributions": [
10587+
"doc"
10588+
]
10589+
},
10590+
{
10591+
"login": "natpicone",
10592+
"name": "Natalino Picone",
10593+
"avatar_url": "https://avatars.githubusercontent.com/u/4753402?v=4",
10594+
"profile": "https://chainlabo.com",
10595+
"contributions": [
10596+
"content"
10597+
]
10598+
},
10599+
{
10600+
"login": "hammadsaedi",
10601+
"name": "Hammad Saaedi",
10602+
"avatar_url": "https://avatars.githubusercontent.com/u/71373419?v=4",
10603+
"profile": "https://github.com/hammadsaedi",
10604+
"contributions": [
10605+
"content"
10606+
]
10607+
},
10608+
{
10609+
"login": "srn08",
10610+
"name": "Shaunak Nagrecha",
10611+
"avatar_url": "https://avatars.githubusercontent.com/u/105499798?v=4",
10612+
"profile": "https://github.com/srn08",
10613+
"contributions": [
10614+
"bug"
10615+
]
10616+
},
10617+
{
10618+
"login": "schwindtkevin",
10619+
"name": "Kevin Schwindt",
10620+
"avatar_url": "https://avatars.githubusercontent.com/u/1700789?v=4",
10621+
"profile": "https://github.com/schwindtkevin",
10622+
"contributions": [
10623+
"content"
10624+
]
10625+
},
10626+
{
10627+
"login": "robertkodra",
10628+
"name": "Robert",
10629+
"avatar_url": "https://avatars.githubusercontent.com/u/36516516?v=4",
10630+
"profile": "https://github.com/robertkodra",
10631+
"contributions": [
10632+
"content"
10633+
]
10634+
},
10635+
{
10636+
"login": "0xObsidian",
10637+
"name": "obsidian",
10638+
"avatar_url": "https://avatars.githubusercontent.com/u/131651958?v=4",
10639+
"profile": "https://github.com/0xObsidian",
10640+
"contributions": [
10641+
"content"
10642+
]
10643+
},
10644+
{
10645+
"login": "MohamedFekryyy",
10646+
"name": "Fekry Aiad",
10647+
"avatar_url": "https://avatars.githubusercontent.com/u/36033065?v=4",
10648+
"profile": "http://www.scienft.com",
10649+
"contributions": [
10650+
"ideas"
10651+
]
1052610652
}
1052710653
],
1052810654
"contributorsPerLine": 7,

.storybook/preview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { action } from "@storybook/addon-actions"
33

44
import i18n, { baseLocales } from "./i18next"
55
import theme from "../src/@chakra-ui/gatsby-plugin/theme"
6+
import "../static/fonts/inter-font-face.css"
67

78
const chakraBreakpointArray = Object.entries(theme.breakpoints)
89

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,12 @@ Learn more about how we review pull requests [here](docs/review-process.md).
175175

176176
- To help with verification we request GitHub contributors connect their GitHub account with their Discord account (Discord > Settings > Connections > GitHub). Crowdin contributors will be verified directly through Crowdin by our team.
177177

178-
- If you haven't contributed yet and would like to earn a POAP to show your loyalty to the Ethereum space, head over to the [issues](https://github.com/ethereum/ethereum-org-website/issues/) tab to get started!
178+
### GitPOAP
179+
180+
- If you've made at least one contribution and that gets merged into ethereum.org, GitPOAP will also auto recognize it and let you mint a unique contributor POAP.
181+
[More on GitPOAP](https://www.gitpoap.io).
182+
183+
If you haven't contributed yet and would like to earn a POAP to show your loyalty to the Ethereum space, head over to the [issues](https://github.com/ethereum/ethereum-org-website/issues/) tab to get started!
179184

180185
<hr style="margin-top: 3em; margin-bottom: 3em;">
181186

@@ -1643,6 +1648,24 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
16431648
<td align="center" valign="top" width="14.28%"><a href="https://linktr.ee/kritik"><img src="https://avatars.githubusercontent.com/u/57076429?v=4?s=100" width="100px;" alt="kritik sah"/><br /><sub><b>kritik sah</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Akritik-sah" title="Bug reports">🐛</a></td>
16441649
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Fuliggine"><img src="https://avatars.githubusercontent.com/u/56844974?v=4?s=100" width="100px;" alt="Fuliggine"/><br /><sub><b>Fuliggine</b></sub></a><br /><a href="#content-Fuliggine" title="Content">🖋</a></td>
16451650
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Omsify"><img src="https://avatars.githubusercontent.com/u/87442202?v=4?s=100" width="100px;" alt="Omsify"/><br /><sub><b>Omsify</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AOmsify" title="Bug reports">🐛</a></td>
1651+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xMimir"><img src="https://avatars.githubusercontent.com/u/108837858?v=4?s=100" width="100px;" alt="0xMimir"/><br /><sub><b>0xMimir</b></sub></a><br /><a href="#content-0xMimir" title="Content">🖋</a></td>
1652+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/bilaljawed"><img src="https://avatars.githubusercontent.com/u/17548944?v=4?s=100" width="100px;" alt="Bilal"/><br /><sub><b>Bilal</b></sub></a><br /><a href="#content-bilaljawed" title="Content">🖋</a></td>
1653+
</tr>
1654+
<tr>
1655+
<td align="center" valign="top" width="14.28%"><a href="https://ilanolkies.com"><img src="https://avatars.githubusercontent.com/u/36084092?v=4?s=100" width="100px;" alt="Ilan"/><br /><sub><b>Ilan</b></sub></a><br /><a href="#content-ilanolkies" title="Content">🖋</a></td>
1656+
<td align="center" valign="top" width="14.28%"><a href="https://mirror.xyz/umede.eth"><img src="https://avatars.githubusercontent.com/u/122288558?v=4?s=100" width="100px;" alt="umede"/><br /><sub><b>umede</b></sub></a><br /><a href="#content-umededoteth" title="Content">🖋</a></td>
1657+
<td align="center" valign="top" width="14.28%"><a href="http://taminobaumann.com"><img src="https://avatars.githubusercontent.com/u/48290617?v=4?s=100" width="100px;" alt="Tamino"/><br /><sub><b>Tamino</b></sub></a><br /><a href="#content-taminobaumann" title="Content">🖋</a></td>
1658+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/keccers"><img src="https://avatars.githubusercontent.com/u/770277?v=4?s=100" width="100px;" alt="Katherine Champagne"/><br /><sub><b>Katherine Champagne</b></sub></a><br /><a href="#content-keccers" title="Content">🖋</a></td>
1659+
<td align="center" valign="top" width="14.28%"><a href="https://coderoostr.com"><img src="https://avatars.githubusercontent.com/u/103231131?v=4?s=100" width="100px;" alt="Marcos González"/><br /><sub><b>Marcos González</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=Coderoostr" title="Documentation">📖</a></td>
1660+
<td align="center" valign="top" width="14.28%"><a href="https://chainlabo.com"><img src="https://avatars.githubusercontent.com/u/4753402?v=4?s=100" width="100px;" alt="Natalino Picone"/><br /><sub><b>Natalino Picone</b></sub></a><br /><a href="#content-natpicone" title="Content">🖋</a></td>
1661+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/hammadsaedi"><img src="https://avatars.githubusercontent.com/u/71373419?v=4?s=100" width="100px;" alt="Hammad Saaedi"/><br /><sub><b>Hammad Saaedi</b></sub></a><br /><a href="#content-hammadsaedi" title="Content">🖋</a></td>
1662+
</tr>
1663+
<tr>
1664+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/srn08"><img src="https://avatars.githubusercontent.com/u/105499798?v=4?s=100" width="100px;" alt="Shaunak Nagrecha"/><br /><sub><b>Shaunak Nagrecha</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Asrn08" title="Bug reports">🐛</a></td>
1665+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/schwindtkevin"><img src="https://avatars.githubusercontent.com/u/1700789?v=4?s=100" width="100px;" alt="Kevin Schwindt"/><br /><sub><b>Kevin Schwindt</b></sub></a><br /><a href="#content-schwindtkevin" title="Content">🖋</a></td>
1666+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/robertkodra"><img src="https://avatars.githubusercontent.com/u/36516516?v=4?s=100" width="100px;" alt="Robert"/><br /><sub><b>Robert</b></sub></a><br /><a href="#content-robertkodra" title="Content">🖋</a></td>
1667+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xObsidian"><img src="https://avatars.githubusercontent.com/u/131651958?v=4?s=100" width="100px;" alt="obsidian"/><br /><sub><b>obsidian</b></sub></a><br /><a href="#content-0xObsidian" title="Content">🖋</a></td>
1668+
<td align="center" valign="top" width="14.28%"><a href="http://www.scienft.com"><img src="https://avatars.githubusercontent.com/u/36033065?v=4?s=100" width="100px;" alt="Fekry Aiad"/><br /><sub><b>Fekry Aiad</b></sub></a><br /><a href="#ideas-MohamedFekryyy" title="Ideas, Planning, & Feedback">🤔</a></td>
16461669
</tr>
16471670
</tbody>
16481671
</table>

docs/best-practices.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,3 +229,11 @@ export const query = graphql`
229229
`
230230
// These query results get passed as an object `props.data` to your component
231231
```
232+
233+
### Using custom `GatsbyImage`
234+
235+
[GatsbyImage](https://www.gatsbyjs.com/plugins/gatsby-plugin-image/) is the component of choice to handle responsive images processed through graphql. However, we use a custom version of this component that is properly optimized with Chakra. This way we can use style props from Chakra but still be able to forward common or GatsbyImage-specific props to the Gatsby component for correct usage and rendering.
236+
237+
```tsx
238+
import GatsbyImage from "./components/GatsbyImage"
239+
```

docs/ds-implementation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Follow the new component directory structure:
1717
```markdown
1818
src/
1919
└── components/
20-
└── ComponentA/
21-
├── index.tsx
22-
├── ComponentA.stories.tsx
23-
└── // Any other files as applicable (utils, child components, useHook, etc.)
20+
····└── ComponentA/
21+
··········├── index.tsx
22+
··········├── ComponentA.stories.tsx
23+
··········└── // Any other files as applicable (utils, child components, useHook, etc.)
2424
```
2525

2626
## Components creation/modification from the DS

docs/schema.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Schema
22

3-
Our schema, used in the Gatsby GraphQL layer, is defined under the `src/schema` folder. These files are then grabbed by the createSchemaCustomization`Gatsby hook in`gatsby-node.ts`.
3+
Our schema, used in the Gatsby GraphQL layer, is defined under the `src/schema` folder. These files are then grabbed by the `createSchemaCustomization` Gatsby hook in `gatsby-node.ts`.
44
There are two ways to define a schema in Gatsby:
55

66
- GraphQL SDL, the traditional way using [template literals](https://graphql.org/learn/schema/)
77
- And a more "programmatic" approach, which has more flexibility, [Gatsby Type Builders](https://www.gatsbyjs.com/docs/reference/graphql-data-layer/schema-customization/#gatsby-type-builders) with `schema.buildObjectType`
88

9-
That is why you see two folders in /schema
9+
That is why you see two folders in `/schema`
1010

1111
- `src/schema/sdls` for GraphQL SDL
1212
- `src/schema/builders` for Gatsby Type Builders

i18n/config.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
"langDir": "ltr",
88
"dateFormat": "MM/DD/YYYY"
99
},
10+
{
11+
"code": "am",
12+
"crowdinCode": "am",
13+
"name": "Amharic",
14+
"localName": "አማርኛ",
15+
"langDir": "ltr",
16+
"dateFormat": "MM/DD/YYYY"
17+
},
1018
{
1119
"code": "ar",
1220
"crowdinCode": "ar",
@@ -23,6 +31,14 @@
2331
"langDir": "ltr",
2432
"dateFormat": "MM/DD/YYYY"
2533
},
34+
{
35+
"code": "be",
36+
"crowdinCode": "be",
37+
"name": "Belarusian",
38+
"localName": "беларускі",
39+
"langDir": "ltr",
40+
"dateFormat": "MM/DD/YYYY"
41+
},
2642
{
2743
"code": "bg",
2844
"crowdinCode": "bg",
@@ -39,6 +55,14 @@
3955
"langDir": "ltr",
4056
"dateFormat": "MM/DD/YYYY"
4157
},
58+
{
59+
"code": "bs",
60+
"crowdinCode": "bs",
61+
"name": "Bosnian",
62+
"localName": "босански",
63+
"langDir": "ltr",
64+
"dateFormat": "MM/DD/YYYY"
65+
},
4266
{
4367
"code": "ca",
4468
"crowdinCode": "ca",
@@ -159,6 +183,14 @@
159183
"langDir": "ltr",
160184
"dateFormat": "MM/DD/YYYY"
161185
},
186+
{
187+
"code": "hy-am",
188+
"crowdinCode": "hy-AM",
189+
"name": "Armenian",
190+
"localName": "հայերեն",
191+
"langDir": "ltr",
192+
"dateFormat": "MM/DD/YYYY"
193+
},
162194
{
163195
"code": "id",
164196
"crowdinCode": "id",
@@ -215,6 +247,14 @@
215247
"langDir": "ltr",
216248
"dateFormat": "MM/DD/YYYY"
217249
},
250+
{
251+
"code": "kn",
252+
"crowdinCode": "kn",
253+
"name": "Kannada",
254+
"localName": "ಕನ್ನಡ",
255+
"langDir": "ltr",
256+
"dateFormat": "MM/DD/YYYY"
257+
},
218258
{
219259
"code": "ko",
220260
"crowdinCode": "ko",
@@ -375,6 +415,14 @@
375415
"langDir": "ltr",
376416
"dateFormat": "MM/DD/YYYY"
377417
},
418+
{
419+
"code": "tk",
420+
"crowdinCode": "tk",
421+
"name": "Turkmen",
422+
"localName": "türkmen",
423+
"langDir": "ltr",
424+
"dateFormat": "MM/DD/YYYY"
425+
},
378426
{
379427
"code": "th",
380428
"crowdinCode": "th",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "7.21.0",
3+
"version": "7.22.2",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "[email protected]:ethereum/ethereum-org-website.git",

redirects.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@
335335
"fromPath": "/staking/withdraws",
336336
"toPath": "/en/staking/withdrawals/"
337337
},
338+
{
339+
"fromPath": "/*/writing-cohort",
340+
"toPath": "https://ethereumwriterscohort.carrd.co/"
341+
},
338342
{
339343
"fromPath": "/*/staking/withdraws",
340344
"toPath": "/:splat/staking/withdrawals/"
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
import { createMultiStyleConfigHelpers } from "@chakra-ui/react"
2+
import { breadcrumbAnatomy } from "@chakra-ui/anatomy"
3+
import { breadcrumbDefaultTheme, defineMergeStyles } from "./components.utils"
4+
5+
const { defineMultiStyleConfig } = createMultiStyleConfigHelpers(
6+
breadcrumbAnatomy.keys
7+
)
8+
9+
const baseStyle = defineMergeStyles(breadcrumbDefaultTheme.baseStyle, {
10+
list: {
11+
m: 0,
12+
lineHeight: "base",
13+
flexWrap: "wrap",
14+
},
15+
item: {
16+
color: "body.medium",
17+
letterSpacing: "wider",
18+
m: 0,
19+
},
20+
link: {
21+
fontWeight: "normal",
22+
_hover: {
23+
color: "primary.base",
24+
textDecor: "none",
25+
},
26+
_active: {
27+
color: "primary.base",
28+
},
29+
/*
30+
* `&[aria-current="page"]`
31+
* Redundancy to ensure styling on the active
32+
* link is applied.
33+
*/
34+
_activeLink: {
35+
color: "primary.base",
36+
},
37+
},
38+
separator: {
39+
mx: "2.5",
40+
},
41+
})
42+
43+
export const Breadcrumb = defineMultiStyleConfig({
44+
baseStyle,
45+
})

0 commit comments

Comments
 (0)