Skip to content

Commit 03c6333

Browse files
Merge remote-tracking branch 'origin/dev' into refactor/update-hero-ds
2 parents 4b22282 + f901f9a commit 03c6333

File tree

353 files changed

+71533
-384143
lines changed

Some content is hidden

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

353 files changed

+71533
-384143
lines changed

.all-contributorsrc

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11774,7 +11774,8 @@
1177411774
"profile": "https://github.com/HayattiQ",
1177511775
"contributions": [
1177611776
"content",
11777-
"bug"
11777+
"bug",
11778+
"maintenance"
1177811779
]
1177911780
},
1178011781
{
@@ -11894,6 +11895,69 @@
1189411895
"content",
1189511896
"bug"
1189611897
]
11898+
},
11899+
{
11900+
"login": "rohit-710",
11901+
"name": "Rohit Ramesh",
11902+
"avatar_url": "https://avatars.githubusercontent.com/u/70317502?v=4",
11903+
"profile": "https://bento.me/rohitramesh",
11904+
"contributions": [
11905+
"tool"
11906+
]
11907+
},
11908+
{
11909+
"login": "gsalzer",
11910+
"name": "Gernot Salzer",
11911+
"avatar_url": "https://avatars.githubusercontent.com/u/13353518?v=4",
11912+
"profile": "https://github.com/gsalzer",
11913+
"contributions": [
11914+
"ideas"
11915+
]
11916+
},
11917+
{
11918+
"login": "lightclient",
11919+
"name": "lightclient",
11920+
"avatar_url": "https://avatars.githubusercontent.com/u/14004106?v=4",
11921+
"profile": "https://github.com/lightclient",
11922+
"contributions": [
11923+
"maintenance"
11924+
]
11925+
},
11926+
{
11927+
"login": "GarenWoo",
11928+
"name": "Garen Woo",
11929+
"avatar_url": "https://avatars.githubusercontent.com/u/126687110?v=4",
11930+
"profile": "https://github.com/GarenWoo",
11931+
"contributions": [
11932+
"bug"
11933+
]
11934+
},
11935+
{
11936+
"login": "AbiPrescott",
11937+
"name": "Abi Prescott",
11938+
"avatar_url": "https://avatars.githubusercontent.com/u/140613896?v=4",
11939+
"profile": "https://github.com/AbiPrescott",
11940+
"contributions": [
11941+
"bug"
11942+
]
11943+
},
11944+
{
11945+
"login": "skyminelabs",
11946+
"name": "skyminelabs",
11947+
"avatar_url": "https://avatars.githubusercontent.com/u/57817726?v=4",
11948+
"profile": "https://github.com/skyminelabs",
11949+
"contributions": [
11950+
"maintenance"
11951+
]
11952+
},
11953+
{
11954+
"login": "sogobanwo",
11955+
"name": "sogobanwo",
11956+
"avatar_url": "https://avatars.githubusercontent.com/u/99739569?v=4",
11957+
"profile": "https://olorunsogo-portfolio-sand.vercel.app/",
11958+
"contributions": [
11959+
"maintenance"
11960+
]
1189711961
}
1189811962
],
1189911963
"contributorsPerLine": 7,

.github/ISSUE_TEMPLATE/suggest_wallet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ body:
66
- type: markdown
77
attributes:
88
value: |
9-
Before suggesting a wallet, make sure you've read [our listing policy](https://www.ethereum.org/en/contributing/adding-wallets/). Only continue with the issue if the wallet meets the criteria listed there. For any required questions, please answer N/A for any questions not applicable to your wallet.
9+
Before suggesting a wallet, make sure you've read [our listing policy](https://www.ethereum.org/en/contributing/adding-wallets/). Only continue with the issue if the wallet meets the criteria listed there. For any required questions, please answer N/A for any questions not applicable to your wallet. This form is very comprehensive, and if you feel like you can't answer all the questions, please reach out to the wallet provider to fill out this template.
1010
- type: markdown
1111
id: project_info
1212
attributes:

.github/workflows/build-crowdin.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build Crowdin project
2+
3+
on:
4+
schedule:
5+
- cron: "20 04 1 * *" # Runs at 4:20 AM on the first day of every month
6+
workflow_dispatch:
7+
8+
jobs:
9+
create_pr:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Install ts-node
24+
run: yarn global add ts-node
25+
26+
- name: Run script
27+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/translations/triggerBuild.ts
28+
env:
29+
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
30+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Generate Crowdin translation review report
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
generate_report:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out code
11+
uses: actions/checkout@v3
12+
13+
- name: Set up Node.js
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: 18
17+
18+
- name: Install dependencies
19+
run: yarn install
20+
21+
- name: Install ts-node
22+
run: yarn global add ts-node
23+
24+
- name: Run script
25+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/reports/generateReviewReport.ts
26+
env:
27+
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
28+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
29+
30+
- name: Upload output as artifact
31+
uses: actions/upload-artifact@v2
32+
with:
33+
name: output
34+
path: ./src/data/crowdin/bucketsAwaitingReviewReport.csv
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Update Crowdin leaderboard data
2+
3+
on:
4+
schedule:
5+
- cron: "20 16 1 * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
create_pr:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Install ts-node
24+
run: yarn global add ts-node
25+
26+
- name: Set up git
27+
run: |
28+
git config --global user.email "[email protected]"
29+
git config --global user.name "GitHub Action"
30+
31+
- name: Generate timestamp and readable date
32+
id: date
33+
run: |
34+
echo "TIMESTAMP=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
35+
echo "READABLE_DATE=$(date +'%B %-d')" >> $GITHUB_ENV
36+
37+
- name: Fetch latest dev and create new branch
38+
run: |
39+
git fetch origin dev
40+
git checkout -b "automated-update-${{ env.TIMESTAMP }}" origin/dev
41+
42+
- name: Run script
43+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/leaderboard/getLeaderboardReports.ts
44+
env:
45+
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
46+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
47+
48+
- name: Commit and push
49+
run: |
50+
git add -A
51+
git commit -m "Update Crowdin leaderboard data"
52+
git push origin "automated-update-${{ env.TIMESTAMP }}"
53+
54+
- name: Create PR body
55+
run: |
56+
echo "This PR was automatically created to update Crowdin leaderboard data." > pr_body.txt
57+
echo "This workflows runs on the first of each month at 16:20 (UTC)." >> pr_body.txt
58+
echo "" >> pr_body.txt
59+
echo "Thank you to everyone contributing to translate ethereum.org ❤️" >> pr_body.txt
60+
61+
- name: Create Pull Request
62+
run: |
63+
gh auth login --with-token ${{ secrets.GITHUB_TOKEN }}
64+
gh pr create --base dev --head "automated-update-${{ env.TIMESTAMP }}" --title "Update translation leaderboard data from Crowdin - ${{ env.READABLE_DATE }}" --body-file pr_body.txt
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Import Crowdin translations
2+
3+
on:
4+
schedule:
5+
- cron: "20 16 1 * *" # Runs at 4:20 PM on the first day of every month
6+
workflow_dispatch:
7+
8+
jobs:
9+
create_pr:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Install ts-node
24+
run: yarn global add ts-node
25+
26+
- name: Set up git
27+
run: |
28+
git config --global user.email "[email protected]"
29+
git config --global user.name "GitHub Action"
30+
31+
- name: Fetch latest dev
32+
run: git fetch origin dev
33+
34+
- name: Get translations
35+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/translations/getTranslations.ts
36+
env:
37+
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
38+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
39+
40+
- name: Authenticate GitHub CLI
41+
run: |
42+
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
43+
44+
- name: Process commits and post PRs by language
45+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/translations/postLangPRs.ts
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ robots.txt
5252

5353
# vscode workplace configuration
5454
.vscode
55+
56+
# Crowdin report output
57+
src/data/crowdin/bucketsAwaitingReviewReport.csv

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1806,7 +1806,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
18061806
</tr>
18071807
<tr>
18081808
<td align="center" valign="top" width="14.28%"><a href="http://croath.com"><img src="https://avatars.githubusercontent.com/u/1398729?v=4?s=100" width="100px;" alt="Croath Liu"/><br /><sub><b>Croath Liu</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=croath" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=croath" title="Code">💻</a></td>
1809-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/HayattiQ"><img src="https://avatars.githubusercontent.com/u/5105841?v=4?s=100" width="100px;" alt="Hayatti"/><br /><sub><b>Hayatti</b></sub></a><br /><a href="#content-HayattiQ" title="Content">🖋</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AHayattiQ" title="Bug reports">🐛</a></td>
1809+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/HayattiQ"><img src="https://avatars.githubusercontent.com/u/5105841?v=4?s=100" width="100px;" alt="Hayatti"/><br /><sub><b>Hayatti</b></sub></a><br /><a href="#content-HayattiQ" title="Content">🖋</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AHayattiQ" title="Bug reports">🐛</a> <a href="#maintenance-HayattiQ" title="Maintenance">🚧</a></td>
18101810
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JeffreyJoel"><img src="https://avatars.githubusercontent.com/u/72028836?v=4?s=100" width="100px;" alt="Jeffrey Owoloko"/><br /><sub><b>Jeffrey Owoloko</b></sub></a><br /><a href="#maintenance-JeffreyJoel" title="Maintenance">🚧</a></td>
18111811
<td align="center" valign="top" width="14.28%"><a href="https://github.com/colmck"><img src="https://avatars.githubusercontent.com/u/73862596?v=4?s=100" width="100px;" alt="Colin McKerracher"/><br /><sub><b>Colin McKerracher</b></sub></a><br /><a href="#maintenance-colmck" title="Maintenance">🚧</a></td>
18121812
<td align="center" valign="top" width="14.28%"><a href="https://github.com/writegr"><img src="https://avatars.githubusercontent.com/u/167099595?v=4?s=100" width="100px;" alt="writegr"/><br /><sub><b>writegr</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Awritegr" title="Bug reports">🐛</a></td>
@@ -1821,7 +1821,18 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
18211821
<td align="center" valign="top" width="14.28%"><a href="https://github.com/LucasAschenbach"><img src="https://avatars.githubusercontent.com/u/37406743?v=4?s=100" width="100px;" alt="Lucas Aschenbach"/><br /><sub><b>Lucas Aschenbach</b></sub></a><br /><a href="#content-LucasAschenbach" title="Content">🖋</a></td>
18221822
<td align="center" valign="top" width="14.28%"><a href="https://juliet.tech"><img src="https://avatars.githubusercontent.com/u/19226636?v=4?s=100" width="100px;" alt="juliettech"/><br /><sub><b>juliettech</b></sub></a><br /><a href="#tutorial-juliettech13" title="Tutorials">✅</a></td>
18231823
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xayot"><img src="https://avatars.githubusercontent.com/u/101125111?v=4?s=100" width="100px;" alt="0xayot"/><br /><sub><b>0xayot</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=0xayot" title="Documentation">📖</a></td>
1824+
</tr>
1825+
<tr>
18241826
<td align="center" valign="top" width="14.28%"><a href="https://github.com/lgaroche"><img src="https://avatars.githubusercontent.com/u/13414533?v=4?s=100" width="100px;" alt="Louis"/><br /><sub><b>Louis</b></sub></a><br /><a href="#content-lgaroche" title="Content">🖋</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Algaroche" title="Bug reports">🐛</a></td>
1827+
<td align="center" valign="top" width="14.28%"><a href="https://bento.me/rohitramesh"><img src="https://avatars.githubusercontent.com/u/70317502?v=4?s=100" width="100px;" alt="Rohit Ramesh"/><br /><sub><b>Rohit Ramesh</b></sub></a><br /><a href="#tool-rohit-710" title="Tools">🔧</a></td>
1828+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/gsalzer"><img src="https://avatars.githubusercontent.com/u/13353518?v=4?s=100" width="100px;" alt="Gernot Salzer"/><br /><sub><b>Gernot Salzer</b></sub></a><br /><a href="#ideas-gsalzer" title="Ideas, Planning, & Feedback">🤔</a></td>
1829+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/lightclient"><img src="https://avatars.githubusercontent.com/u/14004106?v=4?s=100" width="100px;" alt="lightclient"/><br /><sub><b>lightclient</b></sub></a><br /><a href="#maintenance-lightclient" title="Maintenance">🚧</a></td>
1830+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/GarenWoo"><img src="https://avatars.githubusercontent.com/u/126687110?v=4?s=100" width="100px;" alt="Garen Woo"/><br /><sub><b>Garen Woo</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AGarenWoo" title="Bug reports">🐛</a></td>
1831+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/AbiPrescott"><img src="https://avatars.githubusercontent.com/u/140613896?v=4?s=100" width="100px;" alt="Abi Prescott"/><br /><sub><b>Abi Prescott</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AAbiPrescott" title="Bug reports">🐛</a></td>
1832+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/skyminelabs"><img src="https://avatars.githubusercontent.com/u/57817726?v=4?s=100" width="100px;" alt="skyminelabs"/><br /><sub><b>skyminelabs</b></sub></a><br /><a href="#maintenance-skyminelabs" title="Maintenance">🚧</a></td>
1833+
</tr>
1834+
<tr>
1835+
<td align="center" valign="top" width="14.28%"><a href="https://olorunsogo-portfolio-sand.vercel.app/"><img src="https://avatars.githubusercontent.com/u/99739569?v=4?s=100" width="100px;" alt="sogobanwo"/><br /><sub><b>sogobanwo</b></sub></a><br /><a href="#maintenance-sogobanwo" title="Maintenance">🚧</a></td>
18251836
</tr>
18261837
</tbody>
18271838
</table>

docs/stack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- [NextJS](https://nextjs.org/)
66
- React framework that provides some goodies out of the box (pages router, SSG, SSR, i18n support, Image component, etc)
77
- Configurable in `next.config.js`
8-
- [NextJS Tutorial](https://nextjs.org/learn/foundations/about-nextjs)
8+
- [NextJS Tutorial](https://nextjs.org/learn)
99
- [NextJS Docs](https://nextjs.org/docs)
1010
- [React](https://reactjs.org/) - A JavaScript library for building component-based user interfaces
1111
- [Typescript](https://www.typescriptlang.org/) - TypeScript is a strongly typed programming language that builds on JavaScript

netlify.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,24 @@
1717
[[plugins]]
1818
package = "@netlify/plugin-nextjs"
1919

20+
[[plugins]]
21+
package = "@netlify/plugin-lighthouse"
22+
23+
[[plugins.inputs.audits]]
24+
path = "en/"
25+
[[plugins.inputs.audits]]
26+
path = "en/wallets/find-wallet/"
27+
[[plugins.inputs.audits]]
28+
path = "en/staking/"
29+
[[plugins.inputs.audits]]
30+
path = "en/whitepaper/"
31+
[[plugins.inputs.audits]]
32+
path = "en/nft/"
33+
[[plugins.inputs.audits]]
34+
path = "en/developers/docs/intro-to-ethereum/"
35+
[[plugins.inputs.audits]]
36+
path = "en/developers/tutorials/creating-a-wagmi-ui-for-your-contract/"
37+
2038
[functions]
2139
included_files = [
2240
"./src/intl/**/*",

0 commit comments

Comments
 (0)