Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy v4.7.0 #7061

Merged
merged 267 commits into from
Jul 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
bd5c79b
Feat(dev/tutorials): Fixed type errors along the tutorials page
M-Ivan Jun 26, 2022
accb488
Fix(git): Solved merge conflicts with dev base branch
M-Ivan Jun 26, 2022
99ff814
Fix: Added TODO in tutorials.jsx
M-Ivan Jun 26, 2022
00d064f
Feat(developers/*): Removed duplicated code usage and created IData t…
M-Ivan Jun 26, 2022
fd6b7bc
Update source-code-verification.md
emmanuel-awosika Jun 30, 2022
3de51f8
Add Learn page on zero-knowledge proofs
emmanuel-awosika Jul 1, 2022
4f49323
Modify source code verification page
kuzdogan Jul 1, 2022
fe0bd8c
update ceaveats in energy stats text
jmcook1186 Jul 4, 2022
e5d075f
fix typos
jmcook1186 Jul 4, 2022
99d4889
Merge pull request #3 from kuzdogan/kuzdogan-verification
emmanuel-awosika Jul 5, 2022
12af4f9
Update source-code-verification.md
emmanuel-awosika Jul 5, 2022
c22ad67
Apply suggestions from code review
emmanuel-awosika Jul 5, 2022
f89ee1d
Refactor skills to use JSON
minimalsm Jul 5, 2022
3741f51
All caps consts
minimalsm Jul 5, 2022
d125303
Convert ProductList file to TS
vdusart Jul 5, 2022
1374db3
Convert RandomAppList file to TS
vdusart Jul 5, 2022
ec6f553
Convert RollupProductDevDoc file to TS
vdusart Jul 5, 2022
5cddb34
Convert ProductCard file to TS
vdusart Jul 5, 2022
d13b344
Add crowdin-import.js node script
wackerow Jul 6, 2022
7ab68ff
Convert ReleaseBanner file to TS
vdusart Jul 6, 2022
f61f38a
Convert the Roadmap file to TS
vdusart Jul 6, 2022
aa031d2
Add Async alt name
vdusart Jul 6, 2022
54357f6
Merge branch 'dev' into intl-rip
wackerow Jul 6, 2022
d3425a2
Convert BugBountyCards file to TS
vdusart Jul 6, 2022
578b0b6
Convert BugBountyPoints file to TS
vdusart Jul 6, 2022
b638503
Convert ConvertBanner file to TS
vdusart Jul 6, 2022
d35feae
Fix errors on Callout file
vdusart Jul 6, 2022
ea498a8
Convert NakedButton file to TS
vdusart Jul 6, 2022
1fa72f7
bug fixes and improvements
wackerow Jul 6, 2022
8e1537a
add `yarn crowdin-clean` script
wackerow Jul 6, 2022
17075c5
Convert ButtonDropDownButton file to TS
vdusart Jul 7, 2022
3f44078
Fix some type errors in other files
vdusart Jul 7, 2022
736b815
Revert useless fix (already done)
vdusart Jul 7, 2022
bbcb43e
Fix merge conflict
vdusart Jul 7, 2022
2064dc8
Merge branch 'dev' into convert-b&c&n-files
vdusart Jul 7, 2022
9c5e512
simplify USER_SELECTION
wackerow Jul 7, 2022
25ff8b8
Extract verbose logging function
wackerow Jul 7, 2022
734f6b5
simplify skill string getter
wackerow Jul 7, 2022
3dadcec
update Polish tutorials
wackerow Jul 7, 2022
a2f65fe
update Chinese Simplified tutorials
wackerow Jul 7, 2022
6915dcd
update French tutorials
wackerow Jul 7, 2022
1cb51b6
update Indonesian tutorials
wackerow Jul 7, 2022
a326217
update Italian tutorials
wackerow Jul 7, 2022
172e70a
update Romanian tutorials
wackerow Jul 7, 2022
047b934
update Turkish tutorials
wackerow Jul 7, 2022
9d9bc01
Merge branch 'dev' into refactorSkillsToUseJSON
wackerow Jul 7, 2022
0fbe82b
Move intl-skill logic to TutorialMetadata.tsx
wackerow Jul 7, 2022
f9c275e
Add logic description comments
wackerow Jul 8, 2022
c62a7e3
Enables console flags
wackerow Jul 8, 2022
715235c
Convert to TypeScript
wackerow Jul 8, 2022
42dc693
Conditional summary output
wackerow Jul 8, 2022
134f222
Additional comments
wackerow Jul 8, 2022
dfb5181
Merge branch 'dev' into intl-rip
wackerow Jul 8, 2022
4ae9585
Merge branch 'dev' into pr/6952
wackerow Jul 8, 2022
8c46558
Apply suggestions from code review
emmanuel-awosika Jul 8, 2022
f653726
Fix Emoji component
minimalsm Jul 8, 2022
e03b805
Import whitepaper fr/pt-br/tr/zh
wackerow Jul 8, 2022
9aa55eb
Merge pull request #6906 from jmcook1186/update-energy-stats
wackerow Jul 8, 2022
ee6b3b5
fix lang code
wackerow Jul 8, 2022
24dbd60
Update intl homepage
wackerow Jul 8, 2022
62e0ad8
minor fixes
pettinarip Jul 9, 2022
7c90ae6
Merge branch 'dev' into review-convert-p--r-files
pettinarip Jul 9, 2022
87790d5
Fix(global) Merged 'dev' into base branch and solved conflicts
M-Ivan Jul 9, 2022
6619800
Merge branch 'dev' into review-vdusart
pettinarip Jul 9, 2022
0c6a4c9
minor fixes
pettinarip Jul 9, 2022
8771fa1
Merge pull request #6952 from vdusart/convert-p-&-r-files
pettinarip Jul 9, 2022
5f2e067
Fix(developers): Added query name to all graphql querys and corrected…
M-Ivan Jul 9, 2022
6eff472
Fix(tutorials): Added types to Published function
M-Ivan Jul 9, 2022
15cfb8a
Fix(tutorials): Removed conditional lang type on ITutorial interface
M-Ivan Jul 9, 2022
4c09c45
Fix(developers): Fixed the way of declaring arrays from Interface[] t…
M-Ivan Jul 9, 2022
6d891c1
Fix(developers): Removed unnecessary export statements
M-Ivan Jul 9, 2022
d13b90c
Adds Filipino homepage
wackerow Jul 9, 2022
ecae2ea
Add Kazakh homepage
wackerow Jul 9, 2022
0f915b8
Fix(tutorials): Removed todo in title component
M-Ivan Jul 9, 2022
3065f56
Updated MergeArticle List
0xolishell Jul 10, 2022
23cd6ea
update index.md
naveen106 Jul 10, 2022
884e317
Link to desci.world
gingerheart86 Jul 11, 2022
d7d49fa
Convert CallToContribute file to TS
vdusart Jul 11, 2022
ae6682e
Convert SectionNav file to TS
vdusart Jul 11, 2022
84ebfb7
Convert ShardChainsList file to TS
vdusart Jul 11, 2022
668aa4e
Convert SideNav file to TS
vdusart Jul 11, 2022
a0d1014
Convert SideNavMobile file to TS
vdusart Jul 11, 2022
a42ae91
Convert SimpleTable file to TS
vdusart Jul 11, 2022
d80dcd3
Only use glossary icon on glossary items
minimalsm Jul 11, 2022
f37165b
Fix spelling of Ethereum in translations
lukassim Jul 11, 2022
574e9d7
Merge pull request #7001 from ethereum/fix-ethereum-spelling
minimalsm Jul 11, 2022
f0484af
docs: update README.md [skip ci]
allcontributors[bot] Jul 11, 2022
ea700e2
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 11, 2022
fd24999
Merge pull request #6997 from gingerheart86/patch-1
minimalsm Jul 11, 2022
e5e7308
Merge pull request #7004 from ethereum/all-contributors/add-gingerhea…
minimalsm Jul 11, 2022
f1f228d
Merge pull request #6986 from ethereum/fixEmojiComponent
minimalsm Jul 11, 2022
8ed8474
Merge pull request #6988 from ethereum/intl-homepages
minimalsm Jul 11, 2022
e974eb8
Merge pull request #6990 from ethereum/kk-ph-homepage
minimalsm Jul 11, 2022
47243d6
docs: update README.md [skip ci]
allcontributors[bot] Jul 11, 2022
2e11894
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 11, 2022
24f9254
Merge pull request #7005 from ethereum/all-contributors/add-EmanHerawy
minimalsm Jul 11, 2022
9e7ca48
Merge pull request #6937 from ethereum/refactorSkillsToUseJSON
minimalsm Jul 11, 2022
c398ed7
Apply suggestions from code review
minimalsm Jul 11, 2022
dcb060b
docs: update README.md [skip ci]
allcontributors[bot] Jul 11, 2022
698d479
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 11, 2022
61cb357
Merge pull request #6995 from naveen106/patch-1
minimalsm Jul 11, 2022
56a2730
Merge pull request #7006 from ethereum/all-contributors/add-naveen106
minimalsm Jul 11, 2022
22b7890
Merge pull request #6971 from vdusart/convert-b&c&n-files
pettinarip Jul 11, 2022
16e7496
Merge pull request #6987 from ethereum/intl-whitepaper
minimalsm Jul 11, 2022
272b261
docs: update README.md [skip ci]
allcontributors[bot] Jul 11, 2022
4a9e180
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 11, 2022
16cb1ca
Merge pull request #7007 from ethereum/all-contributors/add-raj-shekhar1
minimalsm Jul 11, 2022
7f4c445
Merge pull request #7000 from ethereum/patchGlossaryLink
minimalsm Jul 11, 2022
70d2a81
hash link patch
wackerow Jul 11, 2022
2aea1cf
Merge pull request #6675 from ethereum/glossary-mainnet-doc
minimalsm Jul 11, 2022
b7eefa2
Convert StablecoinAccordion file to TS
vdusart Jul 11, 2022
3a35046
fix typo
fulldecent Jul 11, 2022
05d4fa3
Convert StablecoinBoxGrid file to TS
vdusart Jul 11, 2022
595328f
fix typo in block producer control flow
treethought Jul 12, 2022
c7aa1f4
Update index.md
zyjblockchain Jul 12, 2022
0d2f2ea
Create source code verification file
emmanuel-awosika Jul 12, 2022
0df62bc
Add files via upload
emmanuel-awosika Jul 12, 2022
ed1f4c4
Update index.md
emmanuel-awosika Jul 12, 2022
7a87d3a
Delete source-code-verification.md
emmanuel-awosika Jul 12, 2022
b7bfc5b
Fix broken EIP links in translations
lukassim Jul 12, 2022
c7eb415
Small fix
lukassim Jul 12, 2022
15d92c5
Add page to sidenav
samajammin Jul 12, 2022
371001c
Fix image
samajammin Jul 12, 2022
435afaf
Replace with higher res image
samajammin Jul 12, 2022
612a753
Update index.md
emmanuel-awosika Jul 12, 2022
f712ab3
Apply suggestions from code review
emmanuel-awosika Jul 12, 2022
73f34f7
Update index.md
emmanuel-awosika Jul 12, 2022
e52abea
Merge pull request #7011 from fulldecent/patch-2
minimalsm Jul 12, 2022
bc34269
Merge pull request #7016 from treethought/patch-1
minimalsm Jul 12, 2022
708c61d
docs: update README.md [skip ci]
allcontributors[bot] Jul 12, 2022
b186ba9
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 12, 2022
dc21280
Merge pull request #7023 from ethereum/all-contributors/add-treethought
minimalsm Jul 12, 2022
70f9988
Update zero-knowledge-proofs.md
emmanuel-awosika Jul 12, 2022
9278cdd
Update: inclusion of SenseiNode
NachoRoizman Jul 12, 2022
88e297b
fix arxiv link formatting
ademidun Jul 12, 2022
1e6acc2
add Paul Kohlhaas Desci podcast appearance
ademidun Jul 12, 2022
644f042
[README] Add GitPOAP Badge to Display Number of Minted GitPOAPs for C…
peebeejay Jul 12, 2022
874d06f
Update src/content/translations/es/history/index.md
corwintines Jul 12, 2022
0efbb68
update page-layer-2.json
naveen106 Jul 13, 2022
104ddb5
Add Fleming Protocol in 'Get involved'
moyedx3 Jul 13, 2022
ce011d8
Fix comments
vdusart Jul 13, 2022
1abb0f4
Japanese add Community import from Crowdin
minimalsm Jul 13, 2022
95e043c
Spanish add Community import from Crowdin
minimalsm Jul 13, 2022
53cfb73
Russian add Community import from Crowdin
minimalsm Jul 13, 2022
a86d69e
Swahili add Community import from Crowdin
minimalsm Jul 13, 2022
a65cc6f
Italian update 'Community' import from Crowdin
minimalsm Jul 13, 2022
354da4f
Remove translator error from Crowdin
minimalsm Jul 13, 2022
512a2c9
Update src/content/translations/es/community/online/index.md
minimalsm Jul 13, 2022
1bf3b3e
Fix social list item
minimalsm Jul 13, 2022
bc847ef
Fix sidebar prop
minimalsm Jul 13, 2022
947458d
Remove underscores
minimalsm Jul 13, 2022
7c67795
Update content buckets page
lukassim Jul 13, 2022
04557d4
Fix formatting
minimalsm Jul 13, 2022
a3875de
Change primary homepage CTA to point to learn page
minimalsm Jul 13, 2022
f48806e
Remove underscore italics from markdown
minimalsm Jul 13, 2022
2816054
Remove underscore italics from markdown
minimalsm Jul 13, 2022
063d406
Remove underscore italics from markdown
minimalsm Jul 13, 2022
490afd2
Remove underscore italics from markdown
minimalsm Jul 13, 2022
2afef26
docs: update README.md [skip ci]
allcontributors[bot] Jul 13, 2022
af99b87
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 13, 2022
3f8addb
Merge pull request #7027 from moyedx3/patch-1
minimalsm Jul 13, 2022
720be6a
Merge pull request #7039 from ethereum/all-contributors/add-moyedx3
minimalsm Jul 13, 2022
90afdac
Merge pull request #7018 from ethereum/fix-eip-links
minimalsm Jul 13, 2022
6fa960f
Merge pull request #7026 from naveen106/patch-2
minimalsm Jul 13, 2022
c6ca865
Merge pull request #7038 from ethereum/update-content-buckets
minimalsm Jul 13, 2022
b856343
Fix emoji
minimalsm Jul 13, 2022
fab5689
optional isOpen prop
pettinarip Jul 13, 2022
d5e395f
Merge pull request #7012 from vdusart/convert-file-c-&-s-files
pettinarip Jul 13, 2022
c458ca2
Fix broken russian links
minimalsm Jul 13, 2022
93cad33
Update src/components/Link.tsx
minimalsm Jul 13, 2022
760dc67
Merge pull request #7010 from ethereum/glossary-patch
minimalsm Jul 13, 2022
3d609f5
Merge pull request #6575 from emmanuel-awosika/patch-12
minimalsm Jul 13, 2022
1849a2a
Add to developer docs
minimalsm Jul 13, 2022
7541e19
Merge pull request #6621 from emmanuel-awosika/patch-13
minimalsm Jul 13, 2022
45d868f
revert md changes
pettinarip Jul 13, 2022
5870d0c
Merge pull request #7025 from peebeejay/dev
minimalsm Jul 13, 2022
1ca265a
fix issues with Pill types
pettinarip Jul 13, 2022
da4c657
Merge pull request #6819 from emmanuel-awosika/patch-17
minimalsm Jul 13, 2022
46d6e3a
Update list
minimalsm Jul 13, 2022
25029d7
Merge pull request #6992 from shelleyolivia/shelleyolivia-patch-1-mer…
minimalsm Jul 13, 2022
c034328
docs: update README.md [skip ci]
allcontributors[bot] Jul 13, 2022
f90f5ad
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 13, 2022
1eb8208
Merge pull request #7042 from ethereum/all-contributors/add-shelleyol…
minimalsm Jul 13, 2022
f00c8f6
Update src/content/developers/docs/programming-languages/golang/index.md
minimalsm Jul 13, 2022
9e7a4bb
Merge pull request #7017 from zyjblockchain/patch-1
minimalsm Jul 13, 2022
001c292
docs: update README.md [skip ci]
allcontributors[bot] Jul 13, 2022
390a74d
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 13, 2022
090e68b
Merge pull request #7043 from ethereum/all-contributors/add-zyjblockc…
minimalsm Jul 13, 2022
409f11f
cleanup
pettinarip Jul 13, 2022
012e334
Merge branch 'dev' into review-ivan
pettinarip Jul 13, 2022
07628a1
docs: update README.md [skip ci]
allcontributors[bot] Jul 13, 2022
3c1cc89
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 13, 2022
0ea54f7
Merge pull request #7044 from NachoRoizman/patch-1
minimalsm Jul 13, 2022
cc4d226
Merge pull request #7045 from ethereum/all-contributors/add-NachoRoizman
minimalsm Jul 13, 2022
24038f3
fix things after merge & make ITutorial a bit stricter
pettinarip Jul 13, 2022
1e9da7f
fix typing in function to get skill translations string
pettinarip Jul 13, 2022
10a3621
Fix broken list item
minimalsm Jul 13, 2022
348838c
Fix broken list item
minimalsm Jul 13, 2022
06ec3fb
Fix stray UL
minimalsm Jul 13, 2022
cd43457
Merge pull request #7046 from ethereum/fix-types
pettinarip Jul 13, 2022
98b5bf2
Apply suggestions from code review
emmanuel-awosika Jul 13, 2022
9fdeb27
Update index.md
emmanuel-awosika Jul 13, 2022
68bc0ea
Update zero-knowledge-proofs.md
emmanuel-awosika Jul 13, 2022
f0a550d
update page-layer-2.json
naveen106 Jul 13, 2022
335e039
Remove paragraphs about PoS
timbeiko Jul 13, 2022
44efaee
fix spaces in links
wackerow Jul 13, 2022
86138b6
spelling correction
wackerow Jul 13, 2022
e32c79c
Merge pull request #7024 from ademidun/patch-1
minimalsm Jul 13, 2022
5b00290
Update src/content/translations/it/community/get-involved/index.md
minimalsm Jul 13, 2022
637983d
Update src/content/translations/it/community/online/index.md
minimalsm Jul 13, 2022
69fac6c
Merge pull request #7048 from timbeiko/patch-3
minimalsm Jul 13, 2022
791d029
Merge pull request #7037 from ethereum/patchItalicsSocialListItem
wackerow Jul 13, 2022
d87af29
link fixes for layer-2
corwintines Jul 13, 2022
3ef9cb1
add matomo event to reset button
corwintines Jul 13, 2022
7f2d97b
add matomo events on device toggles
corwintines Jul 13, 2022
9406c62
add more info to WalletMoreInfo about state for Matomo event
corwintines Jul 13, 2022
f638c90
Merge pull request #7047 from naveen106/patch-3
minimalsm Jul 13, 2022
c96a6a5
shift "More on ___" links to own line
wackerow Jul 13, 2022
8bb21c6
Merge branch 'dev' into temp-link-fix-l2
wackerow Jul 13, 2022
a437f88
Merge pull request #7050 from ethereum/temp-link-fix-l2
minimalsm Jul 13, 2022
a02fc77
Merge pull request #7031 from ethereum/addJapanese09Community
wackerow Jul 13, 2022
eb4fa45
Update src/content/translations/es/community/online/index.md
wackerow Jul 13, 2022
5093f25
Merge pull request #7030 from ethereum/addSpanish09Community
wackerow Jul 13, 2022
b0ffbd7
parsing bug fix
wackerow Jul 13, 2022
d30983e
Merge pull request #7033 from ethereum/addRussian09Community
wackerow Jul 13, 2022
4998025
Merge pull request #7035 from ethereum/addItalian09Community
wackerow Jul 13, 2022
9979b35
fix emoji ref
wackerow Jul 13, 2022
0a2b2e0
Merge pull request #7032 from ethereum/addSwahili09Community
wackerow Jul 13, 2022
b74d464
add description on data availability nav
pettinarip Jul 13, 2022
084e373
Apply suggestions from code review
wackerow Jul 13, 2022
4de819a
Move minimist to devDependencies
wackerow Jul 13, 2022
a0ea229
Merge pull request #6943 from ethereum/intl-rip
wackerow Jul 13, 2022
574c3b4
Apply suggestions from code review
wackerow Jul 13, 2022
445572e
Merge pull request #7057 from ethereum/fix-developers-docs-links
wackerow Jul 13, 2022
3bcedb2
Merge branch 'dev' into bug-patches
wackerow Jul 13, 2022
0856850
Merge branch 'dev' into review-ivan
pettinarip Jul 13, 2022
cb26e63
Merge pull request #7053 from ethereum/fix-walletmoreinfo-matomo-event
wackerow Jul 14, 2022
77a0266
Merge pull request #7052 from ethereum/matomo-event-devices
wackerow Jul 14, 2022
383bb5a
Merge pull request #7051 from ethereum/matomo-event-reset-button-find…
wackerow Jul 14, 2022
828b7ce
Merge pull request #7049 from ethereum/bug-patches
wackerow Jul 14, 2022
537244c
Merge pull request #6472 from emmanuel-awosika/patch-7
wackerow Jul 14, 2022
cbba397
Merge pull request #6828 from M-Ivan/ts-migration/developers-directory
pettinarip Jul 14, 2022
11fe2c0
docs: update README.md [skip ci]
allcontributors[bot] Jul 14, 2022
2382226
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 14, 2022
d25b4ed
Merge pull request #7058 from ethereum/all-contributors/add-M-Ivan
pettinarip Jul 14, 2022
8fb434a
upgrading-smart-contracts patch
wackerow Jul 14, 2022
95b8c9f
Merge pull request #7059 from ethereum/bug-fix-lang-prop
wackerow Jul 14, 2022
935bc65
Merge pull request #6890 from emmanuel-awosika/patch-19
wackerow Jul 14, 2022
3151ee1
v4.7.0
wackerow Jul 14, 2022
5225803
Merge pull request #7060 from ethereum/v4-7-0
wackerow Jul 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
79 changes: 77 additions & 2 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,8 @@
"profile": "https://github.com/EmanHerawy",
"contributions": [
"translation",
"code"
"code",
"ideas"
]
},
{
Expand Down Expand Up @@ -4639,7 +4640,8 @@
"avatar_url": "https://avatars.githubusercontent.com/u/55439064?v=4",
"profile": "https://github.com/raj-shekhar1",
"contributions": [
"doc"
"doc",
"ideas"
]
},
{
Expand Down Expand Up @@ -8058,6 +8060,79 @@
"contributions": [
"doc"
]
},
{
"login": "gingerheart86",
"name": "gingerheart86",
"avatar_url": "https://avatars.githubusercontent.com/u/100948227?v=4",
"profile": "https://github.com/gingerheart86",
"contributions": [
"doc"
]
},
{
"login": "naveen106",
"name": "Naveen Kumar",
"avatar_url": "https://avatars.githubusercontent.com/u/61573478?v=4",
"profile": "https://github.com/naveen106",
"contributions": [
"doc"
]
},
{
"login": "treethought",
"name": "Cam Sweeney",
"avatar_url": "https://avatars.githubusercontent.com/u/15894818?v=4",
"profile": "https://github.com/treethought",
"contributions": [
"doc"
]
},
{
"login": "moyedx3",
"name": "moyed",
"avatar_url": "https://avatars.githubusercontent.com/u/108647630?v=4",
"profile": "https://github.com/moyedx3",
"contributions": [
"doc"
]
},
{
"login": "shelleyolivia",
"name": "shelleyolivia",
"avatar_url": "https://avatars.githubusercontent.com/u/108895606?v=4",
"profile": "https://github.com/shelleyolivia",
"contributions": [
"doc",
"ideas"
]
},
{
"login": "zyjblockchain",
"name": "Sandy",
"avatar_url": "https://avatars.githubusercontent.com/u/40423181?v=4",
"profile": "http://[email protected]",
"contributions": [
"doc"
]
},
{
"login": "NachoRoizman",
"name": "NachoRoizman",
"avatar_url": "https://avatars.githubusercontent.com/u/107893772?v=4",
"profile": "https://github.com/NachoRoizman",
"contributions": [
"doc"
]
},
{
"login": "M-Ivan",
"name": "Iván Miragaya",
"avatar_url": "https://avatars.githubusercontent.com/u/72365253?v=4",
"profile": "https://linkedin.com/in/miragaya-ivan",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,7 @@ src/data/contributors.json
# These files are generated by `yarn merge-translations` command
src/intl/*.json
# Auto generated code when gatsby build the site
src/gatsby-types.d.ts
src/gatsby-types.d.ts

# Exported Crowdin files
.crowdin
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Discord](https://img.shields.io/discord/714888181740339261?color=1C1CE1&label=ethereum.org%20%7C%20Discord%20%F0%9F%91%8B%20&style=flat-square)](https://discord.gg/CetY6Y4)
[![Twitter Follow](https://img.shields.io/twitter/follow/ethdotorg.svg?style=social)](https://twitter.com/ethdotorg)
[![Crowdin](https://badges.crowdin.net/ethereum-org/localized.svg)](https://crowdin.com/project/ethereum-org)
[![gitpoap badge](https://public-api.gitpoap.io/v1/repo/ethereum/ethereum-org-website/badge)](https://www.gitpoap.io/gh/ethereum/ethereum-org-website)

<div align="center" style="margin-top: 1em; margin-bottom: 3em;">
<a href="https://ethereum.org"><img alt="ethereum logo" src="./eth-transparent.png" alt="ethereum.org" width="125"></a>
Expand Down Expand Up @@ -310,7 +311,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center"><a href="https://github.com/DjangoM"><img src="https://avatars2.githubusercontent.com/u/35060411?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jaroslav Macej</b></sub></a><br /><a href="#translation-DjangoM" title="Translation">🌍</a></td>
<td align="center"><a href="https://github.com/EmanHerawy"><img src="https://avatars3.githubusercontent.com/u/10674070?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Eman Herawy</b></sub></a><br /><a href="#translation-EmanHerawy" title="Translation">🌍</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=EmanHerawy" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/EmanHerawy"><img src="https://avatars3.githubusercontent.com/u/10674070?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Eman Herawy</b></sub></a><br /><a href="#translation-EmanHerawy" title="Translation">🌍</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=EmanHerawy" title="Code">💻</a> <a href="#ideas-EmanHerawy" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/Bellinas"><img src="https://avatars0.githubusercontent.com/u/45827044?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Bellinas</b></sub></a><br /><a href="#translation-Bellinas" title="Translation">🌍</a></td>
<td align="center"><a href="https://github.com/amchercashin"><img src="https://avatars3.githubusercontent.com/u/8727497?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alexander Cherkashin</b></sub></a><br /><a href="#translation-amchercashin" title="Translation">🌍</a></td>
<td align="center"><a href="http://www.soarontech.com.ng"><img src="https://avatars0.githubusercontent.com/u/29120867?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Enoch Mbaebie</b></sub></a><br /><a href="#translation-EnochMbaebie" title="Translation">🌍</a></td>
Expand Down Expand Up @@ -822,7 +823,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center"><a href="http://notmanyideasdev.github.io"><img src="https://avatars.githubusercontent.com/u/45824238?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Gianni Alessandroni</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=NotManyIdeasDev" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/raj-shekhar1"><img src="https://avatars.githubusercontent.com/u/55439064?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Raj Shekhar Bhardwaj</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=raj-shekhar1" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/raj-shekhar1"><img src="https://avatars.githubusercontent.com/u/55439064?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Raj Shekhar Bhardwaj</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=raj-shekhar1" title="Documentation">📖</a> <a href="#ideas-raj-shekhar1" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/joakimengerstam"><img src="https://avatars.githubusercontent.com/u/12713452?v=4?s=100" width="100px;" alt=""/><br /><sub><b>joakimengerstam</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=joakimengerstam" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/ndrozd"><img src="https://avatars.githubusercontent.com/u/6696080?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nikita Drozd</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Androzd" title="Bug reports">🐛</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=ndrozd" title="Documentation">📖</a></td>
<td align="center"><a href="http://scottcameron.uk"><img src="https://avatars.githubusercontent.com/u/83584447?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Scott</b></sub></a><br /><a href="#design-Scott1UP" title="Design">🎨</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AScott1UP" title="Bug reports">🐛</a></td>
Expand Down Expand Up @@ -1293,6 +1294,16 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center"><a href="http://www.koogawa.com"><img src="https://avatars.githubusercontent.com/u/893643?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kosuke Ogawa</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=koogawa" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Akoogawa" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://github.com/Feerol"><img src="https://avatars.githubusercontent.com/u/47645405?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Fatih Eren Erol</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=Feerol" title="Documentation">📖</a></td>
<td align="center"><a href="https://syskall.com"><img src="https://avatars.githubusercontent.com/u/416585?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Oli Lalonde</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=olalonde" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/gingerheart86"><img src="https://avatars.githubusercontent.com/u/100948227?v=4?s=100" width="100px;" alt=""/><br /><sub><b>gingerheart86</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=gingerheart86" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/naveen106"><img src="https://avatars.githubusercontent.com/u/61573478?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Naveen Kumar</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=naveen106" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/treethought"><img src="https://avatars.githubusercontent.com/u/15894818?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Cam Sweeney</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=treethought" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/moyedx3"><img src="https://avatars.githubusercontent.com/u/108647630?v=4?s=100" width="100px;" alt=""/><br /><sub><b>moyed</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=moyedx3" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/shelleyolivia"><img src="https://avatars.githubusercontent.com/u/108895606?v=4?s=100" width="100px;" alt=""/><br /><sub><b>shelleyolivia</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=shelleyolivia" title="Documentation">📖</a> <a href="#ideas-shelleyolivia" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="http://[email protected]"><img src="https://avatars.githubusercontent.com/u/40423181?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sandy</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=zyjblockchain" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/NachoRoizman"><img src="https://avatars.githubusercontent.com/u/107893772?v=4?s=100" width="100px;" alt=""/><br /><sub><b>NachoRoizman</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=NachoRoizman" title="Documentation">📖</a></td>
<td align="center"><a href="https://linkedin.com/in/miragaya-ivan"><img src="https://avatars.githubusercontent.com/u/72365253?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Iván Miragaya</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=M-Ivan" title="Code">💻</a></td>
</tr>
</table>

Expand Down
10 changes: 1 addition & 9 deletions overrides.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@
declare module "gatsby-plugin-image"

declare module "*developer-docs-links.yaml" {
import { TranslationKey } from "./src/utils/translations"

export interface DeveloperDocsLink {
id: TranslationKey
to: string
path: string
description: TranslationKey
items: Array<DeveloperDocsLink>
}
import { DeveloperDocsLink } from "./src/types"
const content: Array<DeveloperDocsLink>
export default content
}
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "4.6.0",
"version": "4.7.0",
"description": "Website of ethereum.org",
"main": "index.js",
"repository": "[email protected]:ethereum/ethereum-org-website.git",
Expand Down Expand Up @@ -81,6 +81,7 @@
"github-slugger": "^1.3.0",
"husky": "^4.2.5",
"identity-obj-proxy": "^3.0.0",
"minimist": "^1.2.6",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"react-test-renderer": "^17.0.1",
Expand All @@ -91,10 +92,10 @@
"build:lambda": "netlify-lambda build src/lambda",
"build:10gb": "NODE_OPTIONS=--max-old-space-size=10240 gatsby build",
"clean": "gatsby clean",
"copy-contributors": "node src/scripts/copy-contributors.js",
"crowdin-clean": "rm -rf .crowdin && mkdir .crowdin",
"crowdin-import": "ts-node src/scripts/crowdin-import.ts",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"generate-heading-ids": "node src/scripts/generate-heading-ids.js",
"merge-translations": "node src/scripts/merge-translations.js",
"start": "gatsby develop",
"start:lambda": "netlify-lambda serve src/lambda",
"start:static": "gatsby build && gatsby serve",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from "react"
import styled from "styled-components"
import { TranslationKey } from "../utils/translations"
import ButtonLink from "./ButtonLink"

import Translation from "../components/Translation"
import Translation from "./Translation"

const CardRow = styled.div`
display: flex;
Expand Down Expand Up @@ -108,7 +109,22 @@ const Text = styled.div`
margin-top: 0.5rem;
`

const bugBountyCardsInfo = [
export interface BugBountyCardInfo {
lowLabelTranslationId?: TranslationKey
mediumLabelTranslationId?: TranslationKey
highLabelTranslationId?: TranslationKey
criticalLabelTranslationId?: TranslationKey
h2TranslationId: TranslationKey
descriptionTranslationId: TranslationKey
subDescriptionTranslationId: TranslationKey
subHeader1TranslationId: TranslationKey
severityList: Array<TranslationKey>
subHeader2TranslationId: TranslationKey
textTranslationId: TranslationKey
styledButtonTranslationId: TranslationKey
}

const bugBountyCardsInfo: Array<BugBountyCardInfo> = [
{
lowLabelTranslationId: "page-upgrades-bug-bounty-card-label-2",
h2TranslationId: "page-upgrades-bug-bounty-card-low",
Expand Down Expand Up @@ -165,7 +181,9 @@ const bugBountyCardsInfo = [
},
]

const BugBountyCards = () => (
export interface IProps {}

const BugBountyCards: React.FC<IProps> = () => (
<CardRow>
{bugBountyCardsInfo.map((card, idx) => (
<Card key={`bug-bounty-card-${idx}`}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,31 @@ export const TokenLogo = graphql`

const USD_PER_POINT = 2

const BugBountyPoints = () => {
const [state, setState] = useState({
currentETHPriceUSD: "",
currentDAIPriceUSD: "",
interface State {
currentETHPriceUSD: number
currentDAIPriceUSD: number
hasError: boolean
}

type GetPriceResponse = {
ethereum: { usd: number }
dai: { usd: number }
}

export interface IProps {}

const BugBountyPoints: React.FC<IProps> = () => {
const [state, setState] = useState<State>({
currentETHPriceUSD: 1,
currentDAIPriceUSD: 1,
hasError: false,
})
const themeContext = useContext(ThemeContext)
const isDarkTheme = themeContext.isDark

useEffect(() => {
axios
.get(
.get<GetPriceResponse>(
"https://api.coingecko.com/api/v3/simple/price?ids=ethereum%2Cdai&vs_currencies=usd"
)
.then((response) => {
Expand All @@ -112,15 +125,20 @@ const BugBountyPoints = () => {
.catch((error) => {
console.error(error)
setState({
...state,
hasError: true,
})
})
}, [])

const isLoading = !state.currentETHPriceUSD

const pointsInETH = (USD_PER_POINT / state.currentETHPriceUSD).toFixed(5)
const pointsInDAI = (USD_PER_POINT / state.currentDAIPriceUSD).toFixed(5)
const pointsInETH = !state.hasError
? (USD_PER_POINT / state.currentETHPriceUSD!).toFixed(5)
: 0
const pointsInDAI = !state.hasError
? (USD_PER_POINT / state.currentDAIPriceUSD!).toFixed(5)
: 0

const tooltipContent = (
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { ButtonSecondary } from "./SharedStyledComponents"

// Utils
import { useOnClickOutside } from "../hooks/useOnClickOutside"
import { translateMessageId } from "../utils/translations"
import { translateMessageId, TranslationKey } from "../utils/translations"
import { trackCustomEvent } from "../utils/matomo"

const Container = styled.div`
Expand Down Expand Up @@ -113,16 +113,38 @@ const NakedNavLink = styled.div`
}
`

const ButtonDropdown = ({ list, className }) => {
const [isOpen, setIsOpen] = useState(false)
export interface ListItem {
text: TranslationKey
to?: string
matomo?: {
eventCategory: string
eventAction: string
eventName: string
}
callback?: (idx: number) => void
}

export interface List {
text: TranslationKey
ariaLabel: string
items: Array<ListItem>
}

export interface IProps {
list: List
className?: string
}

const ButtonDropdown: React.FC<IProps> = ({ list, className }) => {
const [isOpen, setIsOpen] = useState<boolean>(false)
const intl = useIntl()
const ref = createRef()
const ref = createRef<HTMLInputElement>()

useOnClickOutside(ref, () => setIsOpen(false))

// Toggle on `enter` key
const onKeyDownHandler = (e) => {
if (e.keyCode === 13) {
const onKeyDownHandler = (e: React.KeyboardEvent<HTMLElement>): void => {
if (e.key === "13") {
setIsOpen(!isOpen)
}
}
Expand All @@ -136,7 +158,7 @@ const ButtonDropdown = ({ list, className }) => {
<Button
onClick={() => setIsOpen(!isOpen)}
onKeyDown={onKeyDownHandler}
tabIndex="0"
tabIndex={0}
>
<StyledIcon name="menu" />
<Translation id={list.text} />
Expand All @@ -155,13 +177,12 @@ const ButtonDropdown = ({ list, className }) => {
trackCustomEvent(matomo)
}}
to={to}
tabIndex="-1"
>
<Translation id={text} />
</NavLink>
)}
{!!to && !matomo && (
<NavLink isPartiallyActive={false} to={to} tabIndex="-1">
<NavLink isPartiallyActive={false} to={to}>
<Translation id={text} />
</NavLink>
)}
Expand Down
Loading