Skip to content

Commit 4248d78

Browse files
committed
Merge branch 'staging' of https://github.com/ethereum/ethereum-org-website into staging
2 parents cc70db0 + a97767b commit 4248d78

File tree

397 files changed

+15237
-5884
lines changed

Some content is hidden

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

397 files changed

+15237
-5884
lines changed

.all-contributorsrc

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10591,7 +10591,7 @@
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
]
@@ -10640,6 +10640,42 @@
1064010640
"contributions": [
1064110641
"content"
1064210642
]
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+
]
10652+
},
10653+
{
10654+
"login": "Wilson-Wu1",
10655+
"name": "Wilson Wu",
10656+
"avatar_url": "https://avatars.githubusercontent.com/u/41039035?v=4",
10657+
"profile": "https://www.linkedin.com/in/wilson-wu-2021/",
10658+
"contributions": [
10659+
"doc"
10660+
]
10661+
},
10662+
{
10663+
"login": "fvaysh",
10664+
"name": "VAS",
10665+
"avatar_url": "https://avatars.githubusercontent.com/u/126754021?v=4",
10666+
"profile": "https://github.com/fvaysh",
10667+
"contributions": [
10668+
"doc"
10669+
]
10670+
},
10671+
{
10672+
"login": "costgallo",
10673+
"name": "Costanza",
10674+
"avatar_url": "https://avatars.githubusercontent.com/u/49433698?v=4",
10675+
"profile": "https://github.com/costgallo",
10676+
"contributions": [
10677+
"doc"
10678+
]
1064310679
}
1064410680
],
1064510681
"contributorsPerLine": 7,

.storybook/i18next.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import i18n, { Resource } from "i18next"
22
import { initReactI18next } from "gatsby-plugin-react-i18next"
3-
import fs from "fs"
43

54
export const baseLocales = {
65
en: { title: "English", left: "En" },
@@ -15,6 +14,7 @@ const ns = [
1514
"glossary",
1615
"page-about",
1716
"page-index",
17+
"page-learn",
1818
"page-upgrades",
1919
"page-developers-index",
2020
]

.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config: StorybookConfig = {
1313
"@chakra-ui/storybook-addon",
1414
"storybook-react-i18next",
1515
],
16-
staticDirs: ["../static"],
16+
staticDirs: ["../static", "../src/assets"],
1717
babel: async () => ({
1818
...babelConfig,
1919
}),

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,14 +1657,20 @@ 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>
16611661
<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>
16621662
</tr>
16631663
<tr>
16641664
<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>
16651665
<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>
16661666
<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>
16671667
<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>
1669+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/wilson-wu-2021/"><img src="https://avatars.githubusercontent.com/u/41039035?v=4?s=100" width="100px;" alt="Wilson Wu"/><br /><sub><b>Wilson Wu</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=Wilson-Wu1" title="Documentation">📖</a></td>
1670+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/fvaysh"><img src="https://avatars.githubusercontent.com/u/126754021?v=4?s=100" width="100px;" alt="VAS"/><br /><sub><b>VAS</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=fvaysh" title="Documentation">📖</a></td>
1671+
</tr>
1672+
<tr>
1673+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/costgallo"><img src="https://avatars.githubusercontent.com/u/49433698?v=4?s=100" width="100px;" alt="Costanza"/><br /><sub><b>Costanza</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=costgallo" title="Documentation">📖</a></td>
16681674
</tr>
16691675
</tbody>
16701676
</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/review-process.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This documentation outlines our current processes for how we prioritize items in
66

77
### General review process
88

9-
We use a first-in, first-out system for reviewing pull requests. The longer a pull request has been open, the higher priority it is for our team to review. In some cases—for example, fixing a high-priority issue or merging low-hanging fruit for a deploy—we will stray from this process and use our best judgement to get higher-impact changes deployed more quickly.
9+
We use a first-in, first-out system for reviewing pull requests. The longer a pull request has been open, the higher the priority it is for our team to review. In some cases—for example, fixing a high-priority issue or merging low-hanging fruit for a deploy—we will stray from this process and use our best judgement to get higher-impact changes deployed more quickly.
1010

1111
We aim to have every new PR reviewed with change requests, merged, or closed within 30 days of opening. As outlined in the following sections, different types of pull requests do have different levels of priority, and this may influence how promptly a pull request is acted on.
1212

1313
### Translations
1414

15-
Translation pull requests are considered high priority. These are when the translated and reviewed files from our translation management platform are submitted as a pull request. They are important to our core value of bringing Ethereum education to as many languages as possible. They also are the accumulation of months of work by translators and reviewers, and any delay to this already long process is undesirable.
15+
Translation pull requests are considered high-priority. These are when the translated and reviewed files from our translation management platform are submitted as a pull request. They are important to our core value of bringing Ethereum education to as many languages as possible. They also are the accumulation of months of work by translators and reviewers, and any delay to this already long process is undesirable.
1616

1717
**Timeline:** PRs should be merged within 4 days of opening (by the next release).
1818

@@ -24,7 +24,7 @@ Bug pull requests can vary from low-priority to high-priority depending on the s
2424

2525
### Features
2626

27-
Any new feature correlated to an approved issue is medium-priority. Similar to translators, code contributors dedicate a large amount of their time to improving [ethereum.org](http://ethereum.org) as a resource and addressing their efforts quickly is desirable. New features that were not discussed, requested or approved do not fall under this timeline.
27+
Any new feature correlated with an approved issue is of medium priority. Similar to translators, code contributors dedicate a large amount of their time to improving [ethereum.org](http://ethereum.org) as a resource and addressing their efforts quickly is desirable. New features that were not discussed, requested or approved do not fall under this timeline.
2828

2929
**Timeline:** Major features should be merged within 30 days of opening. Minor features should be merged within 14 days of opening.
3030

gatsby-node.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -495,18 +495,3 @@ export const onPreBootstrap: GatsbyNode["onPreBootstrap"] = async ({
495495
copyContributors()
496496
reporter.info(`Contributors copied`)
497497
}
498-
499-
// Build lambda functions when the build is complete and the `/public` folder exists
500-
export const onPostBuild: GatsbyNode["onPostBuild"] = async (
501-
gatsbyNodeHelpers
502-
) => {
503-
const { reporter } = gatsbyNodeHelpers
504-
505-
const reportOut = (report: { stderr: string; stdout: string }) => {
506-
const { stderr, stdout } = report
507-
if (stderr) reporter.error(stderr)
508-
if (stdout) reporter.info(stdout)
509-
}
510-
511-
reportOut(await exec("npm run build:lambda && cp netlify.toml public"))
512-
}

netlify.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313
# Default build command.
1414
# command = "yarn build" # debug with: "yarn build --verbose"
1515

16-
# Directory with the serverless Lambda functions to deploy to AWS.
17-
# netlify-lambda needs this netlify.toml file in order to build
16+
# Directory with the serverless Lambda functions to deploy to AWS
1817
functions = "public/functions"
1918

2019
[[headers]]
2120
for = "/*"
2221
[headers.values]
23-
Access-Control-Allow-Origin = "https://esp.ethereum.foundation"
22+
Access-Control-Allow-Origin = "https://esp.ethereum.foundation"
23+
24+
[[plugins]]
25+
package = "@netlify/plugin-gatsby"

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"is-relative-url": "^3.0.0",
5959
"lodash": "^4.17.21",
6060
"luxon": "^1.28.1",
61-
"netlify-lambda": "^2.0.3",
6261
"polished": "^4.1.4",
6362
"prism-react-renderer": "^1.1.1",
6463
"prismjs": "^1.27.0",
@@ -83,6 +82,7 @@
8382
"@chakra-ui/cli": "^2.4.1",
8483
"@chakra-ui/storybook-addon": "^5.0.1",
8584
"@netlify/functions": "^1.2.0",
85+
"@netlify/plugin-gatsby": "^3.7.2",
8686
"@storybook/addon-a11y": "^7.0.23",
8787
"@storybook/addon-actions": "^7.0.23",
8888
"@storybook/addon-essentials": "^7.0.23",
@@ -121,7 +121,6 @@
121121
"scripts": {
122122
"postinstall": "yarn theme",
123123
"build": "gatsby build",
124-
"build:lambda": "cross-env NODE_OPTIONS=--openssl-legacy-provider netlify-lambda build src/lambda --config=./webpack.lambda.js",
125124
"build:10gb": "cross-env NODE_OPTIONS=--max-old-space-size=10240 gatsby build",
126125
"clean": "gatsby clean",
127126
"crowdin-clean": "rm -rf .crowdin && mkdir .crowdin",
@@ -134,7 +133,6 @@
134133
"optimize-images": "ts-node -O '{ \"module\": \"commonjs\" }' src/scripts/optimizeImages.ts",
135134
"crowdin-contributors": "ts-node -O '{ \"module\": \"commonjs\" }' src/scripts/crowdin/getCrowdinContributors.ts",
136135
"start": "gatsby develop",
137-
"start:lambda": "netlify-lambda serve src/lambda",
138136
"start:static": "gatsby build && gatsby serve",
139137
"serve": "gatsby serve",
140138
"type-check": "tsc --noEmit",

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",

0 commit comments

Comments
 (0)