Skip to content

Commit 879e611

Browse files
Merge remote-tracking branch 'origin/dev' into feat/hero-new-ds
2 parents 136ccde + 379c440 commit 879e611

File tree

555 files changed

+25852
-4563
lines changed

Some content is hidden

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

555 files changed

+25852
-4563
lines changed

.all-contributorsrc

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10591,10 +10591,64 @@
1059110591
"login": "natpicone",
1059210592
"name": "Natalino Picone",
1059310593
"avatar_url": "https://avatars.githubusercontent.com/u/4753402?v=4",
10594-
"profile": "http://nozominetworks.com",
10594+
"profile": "https://chainlabo.com",
1059510595
"contributions": [
1059610596
"content"
1059710597
]
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+
]
1059810652
}
1059910653
],
1060010654
"contributorsPerLine": 7,

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,15 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
16571657
<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>
16581658
<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>
16591659
<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="http://nozominetworks.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>
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>
16611669
</tr>
16621670
</tbody>
16631671
</table>

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

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.22.1",
3+
"version": "7.22.3",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "git@github.com: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/"

src/@chakra-ui/gatsby-plugin/components/Heading.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ const { sizes: defaultSizes } = headingDefaultTheme
55

66
const lineHeightScale = {
77
"4xl": "6xs",
8-
"3xl": ["5xs", null, "6xs"],
9-
"2xl": ["5xs", null, "4xs"],
10-
xl: ["3xs", null, "2xs"],
11-
lg: ["3xs", null, "2xs"],
8+
"3xl": ["6xs", null, "5xs"],
9+
"2xl": ["4xs", null, "5xs"],
10+
xl: ["2xs", null, "4xs"],
11+
lg: ["2xs", null, "3xs"],
1212
md: "xs",
1313
sm: "base",
1414
xs: "base",

src/@chakra-ui/gatsby-plugin/foundations/colors.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const colors = {
99
500: "#646464",
1010
600: "#333333",
1111
700: "#222222",
12+
800: "#1B1B1B",
1213
900: "#141414",
1314
},
1415
blue: {
@@ -30,6 +31,7 @@ const colors = {
3031
300: "#FFB185",
3132
400: "#FF985C",
3233
500: "#FF7324",
34+
550: "#DF5A0E",
3335
600: "#B84300",
3436
700: "#7A2D00",
3537
800: "#521E00",

src/@chakra-ui/gatsby-plugin/semanticTokens.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ const semanticTokens = {
3939
primary: {
4040
base: { _light: "blue.500", _dark: "orange.500" },
4141
highContrast: { _light: "blue.800", _dark: "orange.100" },
42-
lowContrast: { _light: "blue.100", _dark: "orange.900" },
42+
lowContrast: { _light: "blue.100", _dark: "orange.800" },
4343
hover: { _light: "blue.400", _dark: "orange.400" },
44-
visited: { _light: "blue.700", _dark: "orange.700" },
44+
visited: { _light: "blue.700", _dark: "orange.550" },
4545
// ! Deprecating primary.light
4646
light: { _light: "blue.100", _dark: "orange.100" },
4747
// ! Deprecating primary.dark
@@ -50,14 +50,14 @@ const semanticTokens = {
5050
pressed: { _light: "blue.400", _dark: "orange.800" },
5151
},
5252
body: {
53-
base: { _light: "gray.700", _dark: "gray.100" },
53+
base: { _light: "gray.800", _dark: "gray.100" },
5454
medium: { _light: "gray.500", _dark: "gray.300" },
5555
light: { _light: "gray.200", _dark: "gray.600" },
5656
// ! Deprecating body.inverted
57-
inverted: { _light: "gray.100", _dark: "gray.700" },
57+
inverted: { _light: "gray.100", _dark: "gray.800" },
5858
},
5959
background: {
60-
base: { _light: "white", _dark: "gray.700" },
60+
base: { _light: "white", _dark: "gray.800" },
6161
highlight: { _light: "gray.100", _dark: "gray.900" },
6262
},
6363
disabled: { _light: "gray.400", _dark: "gray.500" },

src/@chakra-ui/gatsby-plugin/styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const styles = {
1414
body: {
1515
// TODO: when we have Chakra v2, this should be done by overriding the
1616
// native Chakra semantic tokens
17-
bg: mode("white", "gray.700")(props),
17+
bg: mode("white", "gray.800")(props),
1818
lineHeight: "base",
19-
fontSize: ["sm", null, "md"],
19+
fontSize: "md",
2020
},
2121
a: {
2222
color: "primary.base",

0 commit comments

Comments
 (0)