Skip to content

Commit ee19296

Browse files
authored
Merge branch 'dev' into eth-supply-new-article
2 parents 42d6db0 + 8db5636 commit ee19296

File tree

2,745 files changed

+146962
-63671
lines changed

Some content is hidden

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

2,745 files changed

+146962
-63671
lines changed

.all-contributorsrc

Lines changed: 144 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4039,7 +4039,9 @@
40394039
"profile": "https://github.com/lukassim",
40404040
"contributions": [
40414041
"content",
4042-
"ideas"
4042+
"ideas",
4043+
"translation",
4044+
"bug"
40434045
]
40444046
},
40454047
{
@@ -6239,10 +6241,10 @@
62396241
]
62406242
},
62416243
{
6242-
"login": "mradziwon",
6243-
"name": "mradziwon",
6244+
"login": "maciejrrr",
6245+
"name": "maciejrrr",
62446246
"avatar_url": "https://avatars.githubusercontent.com/u/6785984?v=4",
6245-
"profile": "http://www.linkedin.com/in/mradziwon",
6247+
"profile": "http://www.linkedin.com/in/maciejrrr",
62466248
"contributions": [
62476249
"code",
62486250
"bug"
@@ -11685,7 +11687,8 @@
1168511687
"avatar_url": "https://avatars.githubusercontent.com/u/6020891?v=4",
1168611688
"profile": "http://www.edukids.cz",
1168711689
"contributions": [
11688-
"eventOrganizing"
11690+
"eventOrganizing",
11691+
"maintenance"
1168911692
]
1169011693
},
1169111694
{
@@ -12643,6 +12646,142 @@
1264312646
"contributions": [
1264412647
"doc"
1264512648
]
12649+
},
12650+
{
12651+
"login": "YakshitAgarwal",
12652+
"name": "Yakshit Agarwal",
12653+
"avatar_url": "https://avatars.githubusercontent.com/u/153830716?v=4",
12654+
"profile": "https://github.com/YakshitAgarwal",
12655+
"contributions": [
12656+
"content"
12657+
]
12658+
},
12659+
{
12660+
"login": "mseidlx",
12661+
"name": "Matthias Seidl",
12662+
"avatar_url": "https://avatars.githubusercontent.com/u/32496674?v=4",
12663+
"profile": "https://growthepie.xyz",
12664+
"contributions": [
12665+
"code"
12666+
]
12667+
},
12668+
{
12669+
"login": "JoeChenJ",
12670+
"name": "JoeChenJ",
12671+
"avatar_url": "https://avatars.githubusercontent.com/u/171761102?v=4",
12672+
"profile": "https://github.com/JoeChenJ",
12673+
"contributions": [
12674+
"content"
12675+
]
12676+
},
12677+
{
12678+
"login": "itzVarsha",
12679+
"name": "Varshitha",
12680+
"avatar_url": "https://avatars.githubusercontent.com/u/138134029?v=4",
12681+
"profile": "https://github.com/itzVarsha",
12682+
"contributions": [
12683+
"maintenance"
12684+
]
12685+
},
12686+
{
12687+
"login": "alexandriaroberts",
12688+
"name": "Alexandria Roberts",
12689+
"avatar_url": "https://avatars.githubusercontent.com/u/31341867?v=4",
12690+
"profile": "https://alexandriaroberts.dev/",
12691+
"contributions": [
12692+
"code"
12693+
]
12694+
},
12695+
{
12696+
"login": "colinlyguo",
12697+
"name": "colin",
12698+
"avatar_url": "https://avatars.githubusercontent.com/u/102356659?v=4",
12699+
"profile": "https://github.com/colinlyguo",
12700+
"contributions": [
12701+
"content"
12702+
]
12703+
},
12704+
{
12705+
"login": "jenish-thapa",
12706+
"name": "Jenish Thapa",
12707+
"avatar_url": "https://avatars.githubusercontent.com/u/141203631?v=4",
12708+
"profile": "https://github.com/jenish-thapa",
12709+
"contributions": [
12710+
"ideas"
12711+
]
12712+
},
12713+
{
12714+
"login": "iusx",
12715+
"name": "iusx",
12716+
"avatar_url": "https://avatars.githubusercontent.com/u/57232813?v=4",
12717+
"profile": "https://jiangxue.org/~ritsu",
12718+
"contributions": [
12719+
"code"
12720+
]
12721+
},
12722+
{
12723+
"login": "JJOptimist",
12724+
"name": "JJOptimist",
12725+
"avatar_url": "https://avatars.githubusercontent.com/u/86833563?v=4",
12726+
"profile": "https://github.com/JJOptimist",
12727+
"contributions": [
12728+
"bug"
12729+
]
12730+
},
12731+
{
12732+
"login": "hotequil",
12733+
"name": "João Paulo Hotequil",
12734+
"avatar_url": "https://avatars.githubusercontent.com/u/46814712?v=4",
12735+
"profile": "https://github.com/hotequil",
12736+
"contributions": [
12737+
"code",
12738+
"translation"
12739+
]
12740+
},
12741+
{
12742+
"login": "microHoffman",
12743+
"name": "microHoffman",
12744+
"avatar_url": "https://avatars.githubusercontent.com/u/61500778?v=4",
12745+
"profile": "http://pwn.xyz",
12746+
"contributions": [
12747+
"bug"
12748+
]
12749+
},
12750+
{
12751+
"login": "smithrashell",
12752+
"name": "Rashell Smith",
12753+
"avatar_url": "https://avatars.githubusercontent.com/u/36465023?v=4",
12754+
"profile": "https://github.com/smithrashell",
12755+
"contributions": [
12756+
"bug"
12757+
]
12758+
},
12759+
{
12760+
"login": "aolson078",
12761+
"name": "Alex Olson",
12762+
"avatar_url": "https://avatars.githubusercontent.com/u/69769089?v=4",
12763+
"profile": "https://github.com/aolson078",
12764+
"contributions": [
12765+
"bug"
12766+
]
12767+
},
12768+
{
12769+
"login": "adminsuci",
12770+
"name": "SUCI - Blockchain Hub Team",
12771+
"avatar_url": "https://avatars.githubusercontent.com/u/155696196?v=4",
12772+
"profile": "https://www.suci.io/",
12773+
"contributions": [
12774+
"maintenance"
12775+
]
12776+
},
12777+
{
12778+
"login": "Nik-EpicWeb3",
12779+
"name": "Nik-EpicWeb3",
12780+
"avatar_url": "https://avatars.githubusercontent.com/u/214466248?v=4",
12781+
"profile": "https://github.com/Nik-EpicWeb3",
12782+
"contributions": [
12783+
"eventOrganizing"
12784+
]
1264612785
}
1264712786
],
1264812787
"contributorsPerLine": 7,

.env.example

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@
44
# be careful not to expose sensitive data (e.g. your Algolia admin key)
55

66
# Algolia environment (app ID, search key and base search index name required for search)
7+
# You can use the following test keys provided by DocSearch for local development/testing:
8+
# NEXT_PUBLIC_ALGOLIA_APP_ID=R2IYF7ETH7
9+
# NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=599cec31baffa4868cae4e79f180729b
10+
# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=docsearch
11+
# Replace insertValue with your actual keys for production builds.
712
# NEXT_PUBLIC_ALGOLIA_APP_ID=insertValue
813
# NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=insertValue
914
# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue
10-
# NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=insertValue
15+
16+
# Github token for read-only use with api functions
17+
# GITHUB_TOKEN_READ_ONLY=insertValue
1118

1219
# Etherscan API key (required for Etherscan API fetches)
1320
# ETHERSCAN_API_KEY=insertValue
@@ -29,7 +36,7 @@ IS_PREVIEW_DEPLOY=false
2936
# Build pages only for the specified langs. Leave it empty to build all the langs
3037
# e.g. `en,fr` will only build English and French pages
3138
# Note: always include `en` as it is the default lang of the site
32-
BUILD_LOCALES=
39+
NEXT_PUBLIC_BUILD_LOCALES=
3340

3441
# If resource constraints are being hit during builds, change LIMIT_CPUS to a
3542
# fixed number of CPUs (e.g. 2) to limit the demand during build time

.eslintrc.json

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
{
2-
"extends": [
3-
"eslint:recommended",
4-
"plugin:@typescript-eslint/recommended",
5-
"next/core-web-vitals",
6-
"prettier",
7-
"plugin:storybook/recommended"
8-
],
2+
"extends": ["eslint:recommended", "next/core-web-vitals", "prettier"],
93
"env": {
10-
"es6": true
4+
"es6": true,
5+
"node": true,
6+
"browser": true
117
},
128
"plugins": ["simple-import-sort", "@typescript-eslint", "unused-imports"],
139
"parser": "@typescript-eslint/parser",
10+
"parserOptions": {
11+
"ecmaVersion": "latest",
12+
"sourceType": "module",
13+
"ecmaFeatures": {
14+
"jsx": true
15+
}
16+
},
1417
"rules": {
1518
"simple-import-sort/imports": [
1619
"error",
@@ -23,8 +26,6 @@
2326
// Packages. `react` related packages come first.
2427
// Also, put `react-icons` in sorting order not with `react`
2528
["^react(?!-.)$", "^\\w", "^@\\w"],
26-
// The Chakra theme directory if imported to story file or other places
27-
["^@/@chakra-ui"],
2829
// From the `types` directory.
2930
["^@/lib/types", "^@/lib/interfaces"],
3031
// From the `components` directory.
@@ -35,8 +36,8 @@
3536
["^@/data"],
3637
// From the `constants` directory.
3738
["^@/lib/constants"],
38-
// From the `.storybook/utils` file
39-
["^@/storybook-utils"],
39+
// `.storybook` directory and utils files`
40+
["^@/storybook", "^@/storybook-utils"],
4041
// Parent imports. Put `..` last.
4142
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
4243
// Other relative imports. Put same-folder imports and `.` last.
@@ -50,13 +51,6 @@
5051
],
5152
"simple-import-sort/exports": "error",
5253
"no-unused-vars": "off",
53-
"@typescript-eslint/no-unused-vars": "off",
54-
"@typescript-eslint/no-explicit-any": [
55-
"error",
56-
{
57-
"fixToUnknown": true
58-
}
59-
],
6054
"unused-imports/no-unused-vars": [
6155
"error",
6256
{
@@ -65,17 +59,37 @@
6559
"varsIgnorePattern": "^_$"
6660
}
6761
],
68-
"unused-imports/no-unused-imports-ts": "warn",
69-
"no-restricted-imports": [
70-
"warn",
71-
{
72-
"paths": [
62+
"unused-imports/no-unused-imports": "warn"
63+
},
64+
"overrides": [
65+
{
66+
"files": ["**/*.{ts,tsx}"],
67+
"extends": ["plugin:@typescript-eslint/recommended"],
68+
"rules": {
69+
"@typescript-eslint/no-explicit-any": [
70+
"error",
7371
{
74-
"name": "react-i18next",
75-
"message": "Please use next-i18next instead of react-i18next."
72+
"fixToUnknown": true
7673
}
7774
]
7875
}
79-
]
80-
}
76+
},
77+
{
78+
"files": ["**/*.stories.@(js|jsx|ts|tsx|mdx)"],
79+
"extends": ["plugin:storybook/recommended"]
80+
}
81+
],
82+
"ignorePatterns": [
83+
"node_modules/",
84+
".next/",
85+
"out/",
86+
"dist/",
87+
"build/",
88+
".vercel/",
89+
".netlify/",
90+
"coverage/",
91+
"storybook-static/",
92+
"**/*.d.ts",
93+
"src/intl/"
94+
]
8195
}

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
* @wackerow @corwintines @pettinarip @minimalsm
99

1010
# Owners of specific files
11-
/src/data/consensus-bounty-hunters.json @djrtwo @asanso @fredriksvantes
11+
/src/data/consensus-bounty-hunters.json @asanso @fredriksvantes
1212
/src/data/wallets/new-to-crypto.ts @konopkja @minimalsm

.github/ISSUE_TEMPLATE/suggest_quiz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Suggest quiz
2-
description: Add, update, delete questions for a quiz on ethereum.osg
2+
description: Add, update, delete questions for a quiz on ethereum.org
33
title: Add/Update/Delete quiz question
44
labels: ["feature ✨", "quiz 📚"]
55
body:
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Suggest a resource
2+
description: Suggest a new resource to list on ethereum.org/resources
3+
title: Suggest a resource
4+
labels: ["resource 📚"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Before suggesting a resource, make sure you've read [our listing policy](https://www.ethereum.org/en/contributing/adding-resources/).
10+
- type: markdown
11+
attributes:
12+
value: Only continue with the issue if your resource meets the criteria listed there.
13+
- type: markdown
14+
attributes:
15+
value: If it does, complete the following information which we need to accurately list the resource.
16+
- type: markdown
17+
id: resource_info
18+
attributes:
19+
value: "## Resource info"
20+
- type: input
21+
id: resource_name
22+
attributes:
23+
label: Name
24+
description: Please provide the official name of the resource
25+
validations:
26+
required: true
27+
- type: input
28+
id: resource_url
29+
attributes:
30+
label: Resource URL
31+
description: Please provide a URL to the resource
32+
validations:
33+
required: true
34+
- type: textarea
35+
id: resource_description
36+
attributes:
37+
label: Description
38+
description: Please provide a short 1-2 sentence description of the resource
39+
validations:
40+
required: true
41+
- type: textarea
42+
id: resource_logo
43+
attributes:
44+
label: Logo
45+
description: |
46+
Please provide an SVG or transparent PNG
47+
Tip: You can attach images by clicking this area to highlight it and then dragging files in.
48+
- type: input
49+
id: resource_category
50+
attributes:
51+
label: Category
52+
description: Please specify a best fit to categorize the resource (e.g., DeFi, NFT, Scaling, etc.)
53+
- type: checkboxes
54+
id: resource_work_on
55+
attributes:
56+
label: Would you like to work on this issue?
57+
options:
58+
- label: "Yes"
59+
required: false
60+
- label: "No"
61+
required: false
62+
validations:
63+
required: true

0 commit comments

Comments
 (0)