Skip to content

Commit f667403

Browse files
committed
Merge branch 'dev' into gatsby-v5
2 parents e1f88c2 + e4aaae1 commit f667403

File tree

228 files changed

+3941
-3238
lines changed

Some content is hidden

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

228 files changed

+3941
-3238
lines changed

.all-contributorsrc

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9855,6 +9855,151 @@
98559855
"contributions": [
98569856
"content"
98579857
]
9858+
},
9859+
{
9860+
"login": "qiuhaohao",
9861+
"name": "qiuhaohao",
9862+
"avatar_url": "https://avatars.githubusercontent.com/u/22148367?v=4",
9863+
"profile": "https://github.com/qiuhaohao",
9864+
"contributions": [
9865+
"content"
9866+
]
9867+
},
9868+
{
9869+
"login": "debeldami",
9870+
"name": "damilola debel",
9871+
"avatar_url": "https://avatars.githubusercontent.com/u/44111962?v=4",
9872+
"profile": "https://github.com/debeldami",
9873+
"contributions": [
9874+
"content"
9875+
]
9876+
},
9877+
{
9878+
"login": "SaratAngajalaoffl",
9879+
"name": "Sarat Angajala",
9880+
"avatar_url": "https://avatars.githubusercontent.com/u/60383339?v=4",
9881+
"profile": "https://github.com/SaratAngajalaoffl",
9882+
"contributions": [
9883+
"doc"
9884+
]
9885+
},
9886+
{
9887+
"login": "questions",
9888+
"name": "questions",
9889+
"avatar_url": "https://avatars.githubusercontent.com/u/3233328?v=4",
9890+
"profile": "https://github.com/Questions",
9891+
"contributions": [
9892+
"projectManagement",
9893+
"question"
9894+
]
9895+
},
9896+
{
9897+
"login": "machin3boy",
9898+
"name": "machin3boy",
9899+
"avatar_url": "https://avatars.githubusercontent.com/u/78896694?v=4",
9900+
"profile": "https://github.com/machin3boy",
9901+
"contributions": [
9902+
"content"
9903+
]
9904+
},
9905+
{
9906+
"login": "nsexer",
9907+
"name": "nethan",
9908+
"avatar_url": "https://avatars.githubusercontent.com/u/30265113?v=4",
9909+
"profile": "https://github.com/nsexer",
9910+
"contributions": [
9911+
"content"
9912+
]
9913+
},
9914+
{
9915+
"login": "MrJithil",
9916+
"name": "Jithil P Ponnan",
9917+
"avatar_url": "https://avatars.githubusercontent.com/u/26359740?v=4",
9918+
"profile": "https://www.linkedin.com/in/jithil",
9919+
"contributions": [
9920+
"doc"
9921+
]
9922+
},
9923+
{
9924+
"login": "chocolatesuit",
9925+
"name": "chocolatesuit",
9926+
"avatar_url": "https://avatars.githubusercontent.com/u/120116662?v=4",
9927+
"profile": "https://github.com/chocolatesuit",
9928+
"contributions": [
9929+
"content"
9930+
]
9931+
},
9932+
{
9933+
"login": "apinanyogaratnam",
9934+
"name": "Apinan Yogaratnam",
9935+
"avatar_url": "https://avatars.githubusercontent.com/u/72412733?v=4",
9936+
"profile": "http://apinanyogaratnam.github.io/my-personal-website-v2.0/",
9937+
"contributions": [
9938+
"content"
9939+
]
9940+
},
9941+
{
9942+
"login": "trevorsc19",
9943+
"name": "trevorsc19",
9944+
"avatar_url": "https://avatars.githubusercontent.com/u/30576577?v=4",
9945+
"profile": "http://trevorscanlon.eth.xyz",
9946+
"contributions": [
9947+
"content"
9948+
]
9949+
},
9950+
{
9951+
"login": "thouravi",
9952+
"name": "ImThour",
9953+
"avatar_url": "https://avatars.githubusercontent.com/u/15676184?v=4",
9954+
"profile": "https://github.com/thouravi",
9955+
"contributions": [
9956+
"code"
9957+
]
9958+
},
9959+
{
9960+
"login": "nvitorovic",
9961+
"name": "Nenad Vitorović",
9962+
"avatar_url": "https://avatars.githubusercontent.com/u/3808837?v=4",
9963+
"profile": "https://github.com/nvitorovic",
9964+
"contributions": [
9965+
"content"
9966+
]
9967+
},
9968+
{
9969+
"login": "danierod",
9970+
"name": "danierod",
9971+
"avatar_url": "https://avatars.githubusercontent.com/u/12255235?v=4",
9972+
"profile": "https://github.com/danierod",
9973+
"contributions": [
9974+
"code"
9975+
]
9976+
},
9977+
{
9978+
"login": "siddtheone",
9979+
"name": "siddtheone",
9980+
"avatar_url": "https://avatars.githubusercontent.com/u/45398971?v=4",
9981+
"profile": "https://github.com/siddtheone",
9982+
"contributions": [
9983+
"content"
9984+
]
9985+
},
9986+
{
9987+
"login": "ShawkiS",
9988+
"name": "Shawki Sukkar",
9989+
"avatar_url": "https://avatars.githubusercontent.com/u/57439827?v=4",
9990+
"profile": "http://shawkisukkar.com/",
9991+
"contributions": [
9992+
"content"
9993+
]
9994+
},
9995+
{
9996+
"login": "therealharpaljadeja",
9997+
"name": "Harpal Jadeja",
9998+
"avatar_url": "https://avatars.githubusercontent.com/u/38040789?v=4",
9999+
"profile": "https://github.com/therealharpaljadeja",
10000+
"contributions": [
10001+
"code"
10002+
]
985810003
}
985910004
],
986010005
"contributorsPerLine": 7,

README.md

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,45 +51,45 @@ If you're ready to contribute and create your PR, it will help to set up a local
5151
If this is your first time forking our repo, this is all you need to do for this step:
5252

5353
```sh
54-
$ git clone git@github.com:[your_github_handle]/ethereum-org-website.git && cd ethereum-org-website
54+
git clone git@github.com:[your_github_handle]/ethereum-org-website.git && cd ethereum-org-website
5555
```
5656

5757
If you've already forked the repo, you'll want to ensure your fork is configured and that it's up to date. This will save you the headache of potential merge conflicts.
5858

5959
To [configure your fork](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork):
6060

6161
```sh
62-
$ git remote add upstream https://github.com/ethereum/ethereum-org-website.git
62+
git remote add upstream https://github.com/ethereum/ethereum-org-website.git
6363
```
6464

6565
To [sync your fork with the latest changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork):
6666

6767
```sh
68-
$ git checkout dev
69-
$ git fetch upstream
70-
$ git merge upstream/dev
68+
git checkout dev
69+
git fetch upstream
70+
git merge upstream/dev
7171
```
7272

7373
3. Install dependencies
7474

7575
We recommend using a node manager to use multiple node versions in your system. We use [Volta](https://volta.sh/). In case you don't use a manager or you use `nvm`, you can check the currently supported versions under the `"volta"` section on our `package.json` file.
7676

7777
```sh
78-
$ yarn
78+
yarn
7979
```
8080

8181
### 4. Make awesome changes!
8282

8383
1. Create new branch for your changes
8484

8585
```sh
86-
$ git checkout -b new_branch_name
86+
git checkout -b new_branch_name
8787
```
8888

8989
2. Start developing!
9090

9191
```sh
92-
$ yarn start
92+
yarn start
9393
```
9494

9595
- Open this directory in your favorite text editor / IDE, and see your changes live by visiting `localhost:8000` from your browser
@@ -102,13 +102,13 @@ By default the script will build all the languages (complete list in `data/trans
102102
3. Commit and prepare for pull request (PR). In your PR commit message, reference the issue it resolves (see [how to link a commit message to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)).
103103

104104
```sh
105-
$ git commit -m "brief description of changes [Fixes #1234]"
105+
git commit -m "brief description of changes [Fixes #1234]"
106106
```
107107

108108
4. Push to your GitHub account
109109

110110
```sh
111-
$ git push
111+
git push
112112
```
113113

114114
### 5. Local development with lambda functions
@@ -1546,6 +1546,26 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
15461546
<tr>
15471547
<td align="center" valign="top" width="14.28%"><a href="https://dribbble.com/Liz-B"><img src="https://avatars.githubusercontent.com/u/40176275?v=4?s=100" width="100px;" alt="Elizabeth Bassey"/><br /><sub><b>Elizabeth Bassey</b></sub></a><br /><a href="#content-Dev-Liz" title="Content">🖋</a></td>
15481548
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mihaic01"><img src="https://avatars.githubusercontent.com/u/108999659?v=4?s=100" width="100px;" alt="mihaic01"/><br /><sub><b>mihaic01</b></sub></a><br /><a href="#content-mihaic01" title="Content">🖋</a></td>
1549+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/qiuhaohao"><img src="https://avatars.githubusercontent.com/u/22148367?v=4?s=100" width="100px;" alt="qiuhaohao"/><br /><sub><b>qiuhaohao</b></sub></a><br /><a href="#content-qiuhaohao" title="Content">🖋</a></td>
1550+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/debeldami"><img src="https://avatars.githubusercontent.com/u/44111962?v=4?s=100" width="100px;" alt="damilola debel"/><br /><sub><b>damilola debel</b></sub></a><br /><a href="#content-debeldami" title="Content">🖋</a></td>
1551+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/SaratAngajalaoffl"><img src="https://avatars.githubusercontent.com/u/60383339?v=4?s=100" width="100px;" alt="Sarat Angajala"/><br /><sub><b>Sarat Angajala</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=SaratAngajalaoffl" title="Documentation">📖</a></td>
1552+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Questions"><img src="https://avatars.githubusercontent.com/u/3233328?v=4?s=100" width="100px;" alt="questions"/><br /><sub><b>questions</b></sub></a><br /><a href="#projectManagement-questions" title="Project Management">📆</a> <a href="#question-questions" title="Answering Questions">💬</a></td>
1553+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/machin3boy"><img src="https://avatars.githubusercontent.com/u/78896694?v=4?s=100" width="100px;" alt="machin3boy"/><br /><sub><b>machin3boy</b></sub></a><br /><a href="#content-machin3boy" title="Content">🖋</a></td>
1554+
</tr>
1555+
<tr>
1556+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nsexer"><img src="https://avatars.githubusercontent.com/u/30265113?v=4?s=100" width="100px;" alt="nethan"/><br /><sub><b>nethan</b></sub></a><br /><a href="#content-nsexer" title="Content">🖋</a></td>
1557+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/jithil"><img src="https://avatars.githubusercontent.com/u/26359740?v=4?s=100" width="100px;" alt="Jithil P Ponnan"/><br /><sub><b>Jithil P Ponnan</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=MrJithil" title="Documentation">📖</a></td>
1558+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/chocolatesuit"><img src="https://avatars.githubusercontent.com/u/120116662?v=4?s=100" width="100px;" alt="chocolatesuit"/><br /><sub><b>chocolatesuit</b></sub></a><br /><a href="#content-chocolatesuit" title="Content">🖋</a></td>
1559+
<td align="center" valign="top" width="14.28%"><a href="http://apinanyogaratnam.github.io/my-personal-website-v2.0/"><img src="https://avatars.githubusercontent.com/u/72412733?v=4?s=100" width="100px;" alt="Apinan Yogaratnam"/><br /><sub><b>Apinan Yogaratnam</b></sub></a><br /><a href="#content-apinanyogaratnam" title="Content">🖋</a></td>
1560+
<td align="center" valign="top" width="14.28%"><a href="http://trevorscanlon.eth.xyz"><img src="https://avatars.githubusercontent.com/u/30576577?v=4?s=100" width="100px;" alt="trevorsc19"/><br /><sub><b>trevorsc19</b></sub></a><br /><a href="#content-trevorsc19" title="Content">🖋</a></td>
1561+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/thouravi"><img src="https://avatars.githubusercontent.com/u/15676184?v=4?s=100" width="100px;" alt="ImThour"/><br /><sub><b>ImThour</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=thouravi" title="Code">💻</a></td>
1562+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nvitorovic"><img src="https://avatars.githubusercontent.com/u/3808837?v=4?s=100" width="100px;" alt="Nenad Vitorović"/><br /><sub><b>Nenad Vitorović</b></sub></a><br /><a href="#content-nvitorovic" title="Content">🖋</a></td>
1563+
</tr>
1564+
<tr>
1565+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/danierod"><img src="https://avatars.githubusercontent.com/u/12255235?v=4?s=100" width="100px;" alt="danierod"/><br /><sub><b>danierod</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=danierod" title="Code">💻</a></td>
1566+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/siddtheone"><img src="https://avatars.githubusercontent.com/u/45398971?v=4?s=100" width="100px;" alt="siddtheone"/><br /><sub><b>siddtheone</b></sub></a><br /><a href="#content-siddtheone" title="Content">🖋</a></td>
1567+
<td align="center" valign="top" width="14.28%"><a href="http://shawkisukkar.com/"><img src="https://avatars.githubusercontent.com/u/57439827?v=4?s=100" width="100px;" alt="Shawki Sukkar"/><br /><sub><b>Shawki Sukkar</b></sub></a><br /><a href="#content-ShawkiS" title="Content">🖋</a></td>
1568+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/therealharpaljadeja"><img src="https://avatars.githubusercontent.com/u/38040789?v=4?s=100" width="100px;" alt="Harpal Jadeja"/><br /><sub><b>Harpal Jadeja</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=therealharpaljadeja" title="Code">💻</a></td>
15491569
</tr>
15501570
</tbody>
15511571
</table>

docs/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Typescript
22

3-
Our codebase is rapidly increasing in size and in contributors. This brings challenges to reliably keep the code organized, avoid code duplication, and review code. To help alleviate these challenges, we’re in the process of to TypeScript across our codebase. We believe having a strongly typed language will reduce bugs, improve code quality, increase productivity and allow us to scale (both our codebase and our developer community) better in the long term.
3+
Our codebase is rapidly increasing in size and in contributors. This brings challenges to reliably keep the code organized, avoid code duplication, and review code. To help alleviate these challenges, we’re in the process of migrating to TypeScript across our codebase. We believe having a strongly typed language will reduce bugs, improve code quality, increase productivity and allow us to scale (both our codebase and our developer community) better in the long term.
44

55
## General considerations
66

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "6.15.0",
3+
"version": "6.16.0",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "git@github.com:ethereum/ethereum-org-website.git",
@@ -56,15 +56,15 @@
5656
"gatsby-transformer-sharp": "^5.4.0",
5757
"is-relative-url": "^3.0.0",
5858
"lodash": "^4.17.21",
59-
"luxon": "^1.24.1",
59+
"luxon": "^1.28.1",
6060
"netlify-lambda": "^2.0.3",
6161
"polished": "^4.1.4",
6262
"prism-react-renderer": "^1.1.1",
6363
"prismjs": "^1.27.0",
6464
"react": "^18.0.0",
6565
"react-countdown": "^2.3.2",
6666
"react-dom": "^18.0.0",
67-
"react-emoji-render": "^1.2.4",
67+
"react-emoji-render": "^2.0.1",
6868
"react-helmet": "^6.1.0",
6969
"react-icons": "^4.3.1",
7070
"react-instantsearch-dom": "^6.32.0",

redirects.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,6 @@
251251
"fromPath": "/*/about/web-developer",
252252
"toPath": "/:splat/about/#open-jobs"
253253
},
254-
{
255-
"fromPath": "/*/about/community-lead",
256-
"toPath": "/:splat/about/#open-jobs"
257-
},
258254
{
259255
"fromPath": "/*/about/product-designer",
260256
"toPath": "/:splat/about/#open-jobs"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import { ComponentStyleConfig, SystemStyleObject } from "@chakra-ui/react"
2+
3+
const variantSecondary: SystemStyleObject = {
4+
borderColor: "primary100",
5+
color: "text",
6+
}
7+
8+
const variantSolid: SystemStyleObject = {
9+
color: "black300",
10+
background: "primary100",
11+
}
12+
13+
export const Badge: ComponentStyleConfig = {
14+
baseStyle: {
15+
borderRadius: "base",
16+
border: "1px solid",
17+
borderColor: "transparent",
18+
fontWeight: "initial",
19+
py: 1,
20+
px: 2,
21+
textTransform: "uppercase",
22+
},
23+
variants: {
24+
solid: variantSolid,
25+
secondary: variantSecondary,
26+
},
27+
sizes: {
28+
sm: {
29+
py: 0,
30+
},
31+
lg: {
32+
px: 3,
33+
},
34+
},
35+
defaultProps: {
36+
// Remove the default from Chakra
37+
variant: "solid",
38+
},
39+
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Badge } from "./Badge"
12
import { Button } from "./Button"
23
import { Link } from "./Link"
34
import { Tag } from "./Tag"
@@ -6,6 +7,7 @@ import { Checkbox } from "./Checkbox"
67
import { Tabs } from "./Tabs"
78

89
export default {
10+
Badge,
911
Button,
1012
Link,
1113
Tag,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const shadows = {
1515
light: "0 1px 1px rgba(0, 0, 0, 0.1)",
1616
dark: "0 1px 1px hsla(0,0%,100%,.1)",
1717
},
18+
tableItemBoxHover: "0 0 1px var(--eth-colors-primary)",
1819
}
1920

2021
export default shadows

src/api/coinmetrics.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/assets/exchanges/moonpay.png

568 Bytes
Loading

0 commit comments

Comments
 (0)