Skip to content

Deploy v10.4.0 #15531

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

Merged
merged 180 commits into from
May 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
f21f016
Fix developers/tutorials page
JoeChenJ Jan 16, 2025
7765d8f
Implement contributors counter
JoeChenJ Feb 13, 2025
41d99a0
little tweaks
JoeChenJ Feb 13, 2025
c099d4e
made it visible on mobile
JoeChenJ Feb 14, 2025
a912086
Merge branch 'dev' into Use_new_design_for_FileContributors
JoeChenJ Feb 14, 2025
e39dfe8
little tweaks
JoeChenJ Feb 14, 2025
3448575
extend to markdown pages
JoeChenJ Feb 15, 2025
cdbcaf8
Merge branch 'Use_new_design_for_FileContributors' of https://github.…
JoeChenJ Feb 15, 2025
4ea279c
update story
JoeChenJ Feb 15, 2025
097f93a
update translator fetching logic
JoeChenJ Feb 15, 2025
fd3677f
some tweaks
JoeChenJ Feb 17, 2025
e72a3bc
Merge branch 'dev' into Use_new_design_for_FileContributors
JoeChenJ Feb 18, 2025
294f5e8
add it on what-is-ethereum page
JoeChenJ Feb 18, 2025
30a3259
Merge branch 'dev' into Use_new_design_for_FileContributors
JoeChenJ Feb 19, 2025
4d5f6bd
add call to action & change copy
JoeChenJ Feb 19, 2025
f700177
add it on learn page
JoeChenJ Feb 19, 2025
a55a64a
add it on run-a-node page
JoeChenJ Feb 19, 2025
d24cbbd
add it on eth page
JoeChenJ Feb 19, 2025
7967620
add it on dapps page
JoeChenJ Feb 19, 2025
5c39f98
add target _blank
JoeChenJ Feb 19, 2025
08a7b1d
Merge branch 'dev' into Use_new_design_for_FileContributors
JoeChenJ Feb 20, 2025
404c5c7
add it on get-eth page
JoeChenJ Feb 20, 2025
083cf2d
add it on gas page
JoeChenJ Feb 20, 2025
742c559
add it on bug-bounty page
JoeChenJ Feb 20, 2025
db90f9e
add it on wallets/index page
JoeChenJ Feb 20, 2025
8f1fef6
add it on staking/index page
JoeChenJ Feb 20, 2025
9791be1
add it on roadmap/vision page
JoeChenJ Feb 20, 2025
6a8b8ef
add it on layer-2/learn page
JoeChenJ Feb 20, 2025
0ea5700
Merge branch 'dev' into Use_new_design_for_FileContributors
JoeChenJ Feb 21, 2025
a256928
Merge branch 'dev' into fix_tutorials_page
JoeChenJ Feb 24, 2025
d93e8cc
update tutorials page
JoeChenJ Feb 24, 2025
319de22
Merge branch 'dev' into Use_new_design_for_FileContributors
JoeChenJ Feb 27, 2025
a9152e4
update pages path
JoeChenJ Feb 27, 2025
0257a06
update contributors fetching logic
JoeChenJ Feb 28, 2025
b3fe8bb
add validISO639 prop to each language config and update PageMetadata …
pettinarip Mar 28, 2025
e3d67ec
patch
pettinarip Mar 28, 2025
da1f70f
Merge branch 'dev' into Use_new_design_for_FileContributors
JoeChenJ Mar 29, 2025
f17e33e
unify component position
JoeChenJ Mar 29, 2025
0319ac9
update types
JoeChenJ Mar 31, 2025
9f72347
cosmetic: mobile view for action card
pawanjl Apr 3, 2025
e3238eb
fix: corrected Spanish translation of UX/UI in footer
chainide-agent-bob Apr 1, 2025
b5cf08a
Update README.md
braveocheretovych Apr 16, 2025
abb3223
Fix typo in python example code
dlm Apr 16, 2025
c8ea8e4
fix: improve some translations in pt-BR [Fixes #15306]
hotequil Apr 17, 2025
500485d
Update index.md, break sentence and improve readability
CodeLeom Apr 25, 2025
92a4457
Fix quotes escaping in German gas page link
chainide-agent-bob Apr 28, 2025
afd9e66
Merge branch 'dev' into fix_tutorials_page
JoeChenJ May 14, 2025
784e8ad
Fix go to top [Fixes #15412]
smithrashell May 14, 2025
c82b3b6
Merge pull request #15445 from ethereum/staging
corwintines May 14, 2025
c2b1cd6
Merge pull request #15253 from chainide-agent-bob/fix-spanish-uxui-tr…
corwintines May 15, 2025
179ef74
Update some EthereumJS related links
holgerd77 May 15, 2025
6bf0181
Merge branch 'dev' into pr/JoeChenJ/14690
wackerow May 15, 2025
c93e87b
chore: use DEFAULT_LOCALE constant
wackerow May 15, 2025
249b15c
Merge pull request #14690 from JoeChenJ/fix_tutorials_page
wackerow May 15, 2025
46279d1
Adding in consolidation tooling, augmented FAQ
nixorokish May 15, 2025
5859496
wording
nixorokish May 15, 2025
87454d4
fix: layout component set logic
wackerow May 15, 2025
116406f
feat: update h2 styling
wackerow May 15, 2025
3b8d66e
refactor: use tw classes for defaults
wackerow May 15, 2025
cd8c362
fix: intl strings for go/back to top
wackerow May 15, 2025
52042c8
added updated license type
nixorokish May 15, 2025
b6448d1
Merge branch 'dev' into pr/JoeChenJ/14898
wackerow May 15, 2025
24e325c
new link
nloureiro May 16, 2025
f5946ca
reduce the spacing on the links
nloureiro May 16, 2025
86a8e8d
primary color when is active
nloureiro May 16, 2025
4519f7f
final details on the spacing
nloureiro May 16, 2025
b6f71bb
Update Crowdin translation progress
actions-user May 16, 2025
590f3ac
Update chains data
corwintines May 16, 2025
46c1700
fix: apply feedback on Go to top button [Fixes #15412]
smithrashell May 16, 2025
ba4845b
Merge pull request #15458 from ethereum/automated-update-20250516162927
wackerow May 16, 2025
107cbc3
Merge pull request #15459 from ethereum/update-chains-1747413008
wackerow May 16, 2025
7317e44
Merge branch 'dev' into fix-h-fonts
wackerow May 16, 2025
80d1f9c
fix: declare use-cases CardGrid at layout level
wackerow May 16, 2025
9c961a7
chore: rm unused CardGrid from roadmap layout
wackerow May 16, 2025
2002005
fix: use all historical page paths for contributions
wackerow May 17, 2025
aafe223
refactor: use `body` selector for scroll to top
wackerow May 17, 2025
f19858b
Merge pull request #15439 from smithrashell/fix/go-to-top-button
wackerow May 17, 2025
7f23a9f
docs: update README.md [skip ci]
allcontributors[bot] May 17, 2025
5cd46aa
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] May 17, 2025
43f26fa
Merge pull request #15463 from ethereum/all-contributors/add-smithras…
wackerow May 17, 2025
c622521
fix: getLastModifiedDate for non-markdown pages
wackerow May 17, 2025
c421743
Update Crowdin contributors
actions-user May 18, 2025
a791bb1
Update community events
actions-user May 18, 2025
da62563
feat: implement real-world-assets page
JoeChenJ May 18, 2025
1b0a345
feat: add rwa section to navigation
JoeChenJ May 18, 2025
22afe46
feat: update src/layouts/md/UseCases.tsx
JoeChenJ May 18, 2025
48755b0
Merge pull request #15465 from ethereum/automated-update-20250518001608
wackerow May 19, 2025
4764366
patch: add descriptions and image urls
wackerow May 19, 2025
9de428d
Merge pull request #15466 from ethereum/automated-update-20250518003039
wackerow May 19, 2025
a8a753e
Merge pull request #15455 from ethereum/inpage-navigation-spacing
wackerow May 19, 2025
d7df58f
fix developers metadeta
Anish-Gupta1 May 19, 2025
aa01bfe
Merge branch 'ethereum:dev' into Anish_Gupta1/#15474
Anish-Gupta1 May 19, 2025
8a6cc65
fix: separate logic for markdown vs app page
wackerow May 19, 2025
f24d9a3
fix: use github history for last app page edit
wackerow May 19, 2025
cce14aa
Merge pull request #14898 from JoeChenJ/Use_new_design_for_FileContri…
wackerow May 20, 2025
4f97108
fusaka image and date
nloureiro May 20, 2025
e985ea6
fusaka image call
nloureiro May 20, 2025
7169725
updates copy
nloureiro May 20, 2025
baf2bd6
Merge pull request #15482 from ethereum/fusaka-image
corwintines May 20, 2025
0cd0160
Merge pull request #15483 from ethereum/master
corwintines May 20, 2025
dffa92f
Merge pull request #15484 from ethereum/staging
corwintines May 20, 2025
feb8949
fix hero regression
corwintines May 20, 2025
f84f901
Merge pull request #15477 from Anish-Gupta1/Anish_Gupta1/#15474
corwintines May 20, 2025
77d0303
Merge pull request #15468 from JoeChenJ/Real_world_assets_page
corwintines May 20, 2025
90147c7
Merge pull request #15340 from CodeLeom/patch-2
corwintines May 20, 2025
e31043f
Merge pull request #15303 from dlm/patch-2
corwintines May 20, 2025
21fc02b
Merge pull request #15450 from nixorokish/dev
corwintines May 20, 2025
476f801
Merge branch 'dev' into fix/translations-pt-br
corwintines May 20, 2025
734c4e5
Merge pull request #15307 from hotequil/fix/translations-pt-br
corwintines May 20, 2025
5b529a1
Merge pull request #15350 from chainide-agent-bob/fix-quote-escaping-…
corwintines May 21, 2025
e0f7cee
Merge pull request #15294 from braveocheretovych/patch-3
corwintines May 21, 2025
9f30633
Update src/components/ActionCard.tsx
corwintines May 21, 2025
41e7178
Merge pull request #15237 from 0xPawanL/cosmetic/resize-img-action-card
corwintines May 21, 2025
7dd8ae0
Merge pull request #15446 from holgerd77/holgerd77-basic-js-page-link…
minimalsm May 21, 2025
4583927
panda ops icon
nloureiro May 21, 2025
970eab6
Pectrified update
nloureiro May 21, 2025
a74496d
statigic reserves link
nloureiro May 21, 2025
53b8a9e
added a wallet section on the dashboard with 2 links
nloureiro May 21, 2025
ee2b4a1
chore: rename pectrified
wackerow May 21, 2025
a771ef4
update: sia link, rm skynet [Fixes #11329]
wackerow May 21, 2025
683a120
feat: pass optional className for specific items
wackerow May 21, 2025
24415c6
patch: reduce img asset size, dark mode invert
wackerow May 21, 2025
f80bda3
chore: extract intl strings
wackerow May 21, 2025
9983a36
fix: ethereumadoption description
wackerow May 21, 2025
348e0de
update grants page
corwintines May 21, 2025
1796d2d
update: icons and improve resolution
wackerow May 22, 2025
83f843b
prune: no longer accessible
wackerow May 22, 2025
887fbb2
chore: bump resolution
wackerow May 23, 2025
2e68bcb
Merge pull request #15487 from ethereum/dashboard-links-update
wackerow May 23, 2025
83b1104
Merge pull request #15485 from ethereum/removeFindWalletHero
wackerow May 23, 2025
31568f5
fix: curve.finance links
wackerow May 23, 2025
319d3d0
fix: /dapps category selector layout
wackerow May 23, 2025
bd93558
fix: rm unintentional string
wackerow May 23, 2025
a38b7d5
Merge pull request #15503 from ethereum/string-removal
wackerow May 23, 2025
f7c8dd4
Merge branch 'dev' into fix-h-fonts
wackerow May 23, 2025
ddedb41
Merge pull request #15451 from ethereum/fix-h-fonts
wackerow May 23, 2025
0212a9a
fix: prevent cookie transfer during xml fetches
wackerow May 23, 2025
34e9ea2
fix: no-referrer anonymous img loads
wackerow May 26, 2025
2732417
fix: use internally hosted image
wackerow May 26, 2025
919cc31
fix: rm hyphenation from onchain
wackerow May 27, 2025
eaff4de
new homepage button
nloureiro May 27, 2025
742d3f6
tranlation strings
nloureiro May 27, 2025
322ff2e
new icon
nloureiro May 27, 2025
c65024f
new copy
nloureiro May 27, 2025
8a9d3e2
Merge pull request #15452 from ethereum/intl-to-top
pettinarip May 27, 2025
31cdfbf
update: community grants breakdown and listing
wackerow May 28, 2025
5991884
Merge pull request #15502 from ethereum/dapps-patch
pettinarip May 28, 2025
3061385
ignore matrix files from middleware
pettinarip May 28, 2025
43f921a
Add translations for new strings
lukassim May 28, 2025
8dd4d30
Merge pull request #15518 from ethereum/ignore-matrix
wackerow May 28, 2025
7e8e181
Update src/intl/en/page-index.json
minimalsm May 28, 2025
2dbb2cc
Merge branch 'dev' into patch-hreflang-invalid-locales
wackerow May 28, 2025
b828ba9
Merge branch 'dev' into onchain
wackerow May 28, 2025
0fe0020
Merge pull request #15200 from ethereum/patch-hreflang-invalid-locales
wackerow May 28, 2025
d5e8c04
fix: rm hyphenation from onchain
wackerow May 28, 2025
b48f2fb
Merge pull request #15504 from ethereum/cookies
pettinarip May 28, 2025
198a412
Merge pull request #15492 from ethereum/patch-11329
pettinarip May 28, 2025
f3bdc54
use getMetadata in home page for improved SEO
pettinarip May 28, 2025
c6f88af
filter valid locales using isLocaleValidISO639_1 for alternates
pettinarip May 28, 2025
4dae8d4
refactor: namespace syntax
wackerow May 28, 2025
ab31268
Merge pull request #15522 from ethereum/metadata
wackerow May 28, 2025
971d331
Merge branch 'dev' into updateGrants
wackerow May 28, 2025
66e9417
fix: add custom header ids
wackerow May 28, 2025
a182d43
Merge pull request #15521 from ethereum/onchain
corwintines May 28, 2025
954fbeb
Merge pull request #15526 from ethereum/master
corwintines May 28, 2025
cc30149
Merge pull request #15527 from ethereum/staging
corwintines May 28, 2025
c69b7d7
v10.4.0
corwintines May 28, 2025
3a51b93
Merge pull request #15528 from ethereum/v10-4-0
corwintines May 28, 2025
c4e91fe
Merge pull request #15529 from ethereum/dev
corwintines May 28, 2025
3ded310
Updated translations
lukassim May 28, 2025
c390604
fix: start index for Roadmap carousel
wackerow May 29, 2025
0bcf4d2
fix(temp): force roadmap release carousel to LTR
wackerow May 29, 2025
d409f9c
fix: use direction-responsive positioning
wackerow May 29, 2025
f01c1e5
chore: remove whitespace
wackerow May 29, 2025
a504139
Merge pull request #15513 from ethereum/homepage-build-CTA
wackerow May 29, 2025
7d31832
Merge pull request #15540 from ethereum/roadmap-fix
corwintines May 29, 2025
438f1dd
Merge branch 'staging' into updateGrants
wackerow May 29, 2025
983c845
Merge pull request #15493 from ethereum/updateGrants
wackerow May 29, 2025
5232db6
Merge branch 'staging' into roadmap-rtl-patch
corwintines May 29, 2025
206da9c
Merge pull request #15542 from ethereum/roadmap-rtl-patch
corwintines May 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -12725,6 +12725,13 @@
"bug"
]
},
{
"login": "hotequil",
"name": "João Paulo Hotequil",
"avatar_url": "https://avatars.githubusercontent.com/u/46814712?v=4",
"profile": "https://github.com/hotequil",
"contributions": ["code", "translation"]
},
{
"login": "microHoffman",
"name": "microHoffman",
Expand All @@ -12733,6 +12740,15 @@
"contributions": [
"bug"
]
},
{
"login": "smithrashell",
"name": "Rashell Smith",
"avatar_url": "https://avatars.githubusercontent.com/u/36465023?v=4",
"profile": "https://github.com/smithrashell",
"contributions": [
"bug"
]
}
],
"contributorsPerLine": 7,
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="https://www.yashkarthik.xyz/"><img src="https://avatars.githubusercontent.com/u/52369876?v=4?s=100" width="100px;" alt="yash"/><br /><sub><b>yash</b></sub></a><br /><a href="#ideas-YashKarthik" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ibeale"><img src="https://avatars.githubusercontent.com/u/46497763?v=4?s=100" width="100px;" alt="Isaac Beale"/><br /><sub><b>Isaac Beale</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=ibeale" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aibeale" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/chrishna1"><img src="https://avatars.githubusercontent.com/u/26048398?v=4?s=100" width="100px;" alt="Bal Krishna Jha"/><br /><sub><b>Bal Krishna Jha</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=chrishna1" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.linkedin.com/in/mradziwon"><img src="https://avatars.githubusercontent.com/u/6785984?v=4?s=100" width="100px;" alt="mradziwon"/><br /><sub><b>mradziwon</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=mradziwon" title="Code">💻</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Amradziwon" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.linkedin.com/in/maciejrrr"><img src="https://avatars.githubusercontent.com/u/6785984?v=4?s=100" width="100px;" alt="maciejrrr"/><br /><sub><b>maciejrrr</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=maciejrrr" title="Code">💻</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Amaciejrrr" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mmilenkovic"><img src="https://avatars.githubusercontent.com/u/2448210?v=4?s=100" width="100px;" alt="mmilenkovic"/><br /><sub><b>mmilenkovic</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=mmilenkovic" title="Documentation">📖</a> <a href="#ideas-mmilenkovic" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/guevaraf"><img src="https://avatars.githubusercontent.com/u/2633129?v=4?s=100" width="100px;" alt="Fernando Guevara"/><br /><sub><b>Fernando Guevara</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=guevaraf" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/garrivjo"><img src="https://avatars.githubusercontent.com/u/31991694?v=4?s=100" width="100px;" alt="Jose Manuel Garcia Rivas"/><br /><sub><b>Jose Manuel Garcia Rivas</b></sub></a><br /><a href="#ideas-garrivjo" title="Ideas, Planning, & Feedback">🤔</a></td>
Expand Down Expand Up @@ -1948,6 +1948,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JJOptimist"><img src="https://avatars.githubusercontent.com/u/86833563?v=4?s=100" width="100px;" alt="JJOptimist"/><br /><sub><b>JJOptimist</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AJJOptimist" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://pwn.xyz"><img src="https://avatars.githubusercontent.com/u/61500778?v=4?s=100" width="100px;" alt="microHoffman"/><br /><sub><b>microHoffman</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AmicroHoffman" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/smithrashell"><img src="https://avatars.githubusercontent.com/u/36465023?v=4?s=100" width="100px;" alt="Rashell Smith"/><br /><sub><b>Rashell Smith</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Asmithrashell" title="Bug reports">🐛</a></td>
</tr>
</tbody>
</table>
Expand All @@ -1962,3 +1963,5 @@ This project follows the [all-contributors](https://github.com/all-contributors/
### Join our Discord server

We have a space to discuss all things ethereum.org – share your ideas or just say hi over [on Discord](https://discord.gg/ethereum-org).

[🔼Back to top!](#Table-of-contents)
16 changes: 3 additions & 13 deletions app/[locale]/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import mdComponents from "@/components/MdComponents"

import { dataLoader } from "@/lib/utils/data/dataLoader"
import { dateToString } from "@/lib/utils/date"
import { getLayoutFromSlug } from "@/lib/utils/layout"
import { getPostSlugs } from "@/lib/utils/md"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

Expand All @@ -19,18 +20,6 @@ import { getMdMetadata } from "@/lib/md/metadata"

const loadData = dataLoader([["gfissues", fetchGFIs]])

function getLayoutFromSlug(slug: string) {
if (slug.includes("developers/docs")) {
return "docs"
}

if (slug.includes("developers/tutorials")) {
return "tutorial"
}

return "static"
}

export default async function Page({
params,
}: {
Expand Down Expand Up @@ -69,7 +58,8 @@ export default async function Page({
slug,
// TODO: Address component typing error here (flip `FC` types to prop object types)
// @ts-expect-error Incompatible component function signatures
components: { ...mdComponents, ...componentsMapping },
baseComponents: mdComponents,
componentsMapping,
scope: {
gfissues,
},
Expand Down
4 changes: 4 additions & 0 deletions app/[locale]/_components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ const HomePage = ({
e.currentTarget.onerror = null
e.currentTarget.src = EventFallback.src
}}
referrerPolicy="no-referrer"
crossOrigin="anonymous"
/>
</CardBanner>
<CardContent>
Expand Down Expand Up @@ -738,6 +740,8 @@ const HomePage = ({
}}
className="max-w-full object-cover object-center"
loading="lazy"
referrerPolicy="no-referrer"
crossOrigin="anonymous"
/>
) : (
<Image src={EventFallback} alt="" />
Expand Down
13 changes: 11 additions & 2 deletions app/[locale]/bug-bounty/_components/bug-bounty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { HTMLAttributes } from "react"

import type { ChildOnlyProp } from "@/lib/types"
import type { ChildOnlyProp, PageWithContributorsProps } from "@/lib/types"

/* Uncomment for Bug Bounty Banner: */
import BugBountyBanner from "@/components/Banners/BugBountyBanner"
Expand All @@ -13,6 +13,7 @@ import CardList from "@/components/CardList"
import Emoji from "@/components/Emoji"
import ExpandableCard from "@/components/ExpandableCard"
import FeedbackCard from "@/components/FeedbackCard"
import FileContributors from "@/components/FileContributors"
import { Image, type ImageProps } from "@/components/Image"
import Leaderboard from "@/components/Leaderboard"
import MainArticle from "@/components/MainArticle"
Expand Down Expand Up @@ -224,7 +225,10 @@ const sortBountyHuntersFn = (a: BountyHuntersArg, b: BountyHuntersArg) => {
return b.score - a.score
}

const BugBountiesPage = () => {
const BugBountiesPage = ({
contributors,
lastEditLocaleTimestamp,
}: PageWithContributorsProps) => {
const pathname = usePathname()
const { t } = useTranslation("page-bug-bounty")

Expand Down Expand Up @@ -768,6 +772,11 @@ const BugBountiesPage = () => {
</ExpandableCard>
</RightColumn>
</Faq>
<FileContributors
className="my-10 border-t"
contributors={contributors}
lastEditLocaleTimestamp={lastEditLocaleTimestamp}
/>
</Content>
<Divider />
<Contact>
Expand Down
16 changes: 14 additions & 2 deletions app/[locale]/bug-bounty/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import {
setRequestLocale,
} from "next-intl/server"

import { type Params } from "@/lib/types"
import type { CommitHistory, Lang, Params } from "@/lib/types"

import I18nProvider from "@/components/I18nProvider"

import { getAppPageContributorInfo } from "@/lib/utils/contributors"
import { getMetadata } from "@/lib/utils/metadata"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

Expand All @@ -24,9 +25,20 @@ export default async function Page({ params }: { params: Promise<Params> }) {
const requiredNamespaces = getRequiredNamespacesForPage("/bug-bounty")
const messages = pick(allMessages, requiredNamespaces)

const commitHistoryCache: CommitHistory = {}
const { contributors, lastEditLocaleTimestamp } =
await getAppPageContributorInfo(
"bug-bounty",
locale as Lang,
commitHistoryCache
)

return (
<I18nProvider locale={locale} messages={messages}>
<BugBountiesPage />
<BugBountiesPage
contributors={contributors}
lastEditLocaleTimestamp={lastEditLocaleTimestamp}
/>
</I18nProvider>
)
}
Expand Down
17 changes: 13 additions & 4 deletions app/[locale]/dapps/_components/dapps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import React, {
import { useSearchParams } from "next/navigation"
import { useLocale } from "next-intl"

import type { ChildOnlyProp } from "@/lib/types"
import type { ChildOnlyProp, PageWithContributorsProps } from "@/lib/types"

import BoxGrid from "@/components/BoxGrid"
import Callout from "@/components/Callout"
Expand All @@ -20,6 +20,7 @@ import Card from "@/components/Card"
import DocLink from "@/components/DocLink"
import Emoji from "@/components/Emoji"
import FeedbackCard from "@/components/FeedbackCard"
import FileContributors from "@/components/FileContributors"
import GhostCard from "@/components/GhostCard"
import { Image } from "@/components/Image"
import InfoBanner from "@/components/InfoBanner"
Expand Down Expand Up @@ -270,7 +271,10 @@ interface Categories {
[key: string]: Category
}

const DappsPage = () => {
const DappsPage = ({
contributors,
lastEditLocaleTimestamp,
}: PageWithContributorsProps) => {
const { t } = useTranslation(["page-dapps", "common"])
const searchParams = useSearchParams()
const locale = useLocale()
Expand Down Expand Up @@ -538,7 +542,7 @@ const DappsPage = () => {
{
title: "Curve",
description: t("page-dapps-dapp-description-curve"),
link: "https://curve.fi/",
link: "https://www.curve.finance/",
image: curve,
alt: t("page-dapps-curve-logo-alt"),
},
Expand Down Expand Up @@ -1107,7 +1111,7 @@ const DappsPage = () => {
<H2 id="explore">{t("page-dapps-explore-dapps-title")}</H2>
<CenterText>{t("page-dapps-explore-dapps-description")}</CenterText>
<H3>{t("page-dapps-choose-category")}</H3>
<div className="mb-8 grid w-full grid-cols-1 justify-center gap-4 px-8 sm:grid-cols-2 lg:w-auto lg:grid-cols-3 2xl:grid-cols-6">
<div className="mb-8 grid w-full grid-cols-1 justify-center gap-4 px-8 sm:grid-cols-2 lg:w-auto lg:grid-cols-[repeat(4,auto)]">
{categoryKeys.map((key, idx) => {
const categoryType = key as CategoryType
const category = categories[categoryType]
Expand Down Expand Up @@ -1530,6 +1534,11 @@ const DappsPage = () => {
</Row>
</Content>
<Content>
<FileContributors
className="my-10 border-t"
contributors={contributors}
lastEditLocaleTimestamp={lastEditLocaleTimestamp}
/>
<FeedbackCard />
</Content>
</Page>
Expand Down
12 changes: 10 additions & 2 deletions app/[locale]/dapps/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import {
setRequestLocale,
} from "next-intl/server"

import { Params } from "@/lib/types"
import type { CommitHistory, Lang, Params } from "@/lib/types"

import I18nProvider from "@/components/I18nProvider"

import { getAppPageContributorInfo } from "@/lib/utils/contributors"
import { getMetadata } from "@/lib/utils/metadata"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

Expand All @@ -22,9 +23,16 @@ export default async function Page({ params }: { params: Promise<Params> }) {
const requiredNamespaces = getRequiredNamespacesForPage("/dapps")
const pickedMessages = pick(allMessages, requiredNamespaces)

const commitHistoryCache: CommitHistory = {}
const { contributors, lastEditLocaleTimestamp } =
await getAppPageContributorInfo("dapps", locale as Lang, commitHistoryCache)

return (
<I18nProvider locale={locale} messages={pickedMessages}>
<DappsPage />
<DappsPage
contributors={contributors}
lastEditLocaleTimestamp={lastEditLocaleTimestamp}
/>
</I18nProvider>
)
}
Expand Down
9 changes: 6 additions & 3 deletions app/[locale]/developers/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ export async function generateMetadata({
}) {
const { locale } = await params

const t = await getTranslations({ locale, namespace: "page-developers" })
const t = await getTranslations({
locale,
namespace: "page-developers-index",
})

return await getMetadata({
locale,
slug: ["developers"],
title: t("page-developers-index:page-developer-meta-title"),
description: t("page-developers-index:page-developers-meta-desc"),
title: t("page-developer-meta-title"),
description: t("page-developers-meta-desc"),
})
}

Expand Down
7 changes: 5 additions & 2 deletions app/[locale]/developers/tutorials/_components/tutorials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ import {

import externalTutorials from "@/data/externalTutorials.json"

import { DEFAULT_LOCALE } from "@/lib/constants"

import { useBreakpointValue } from "@/hooks/useBreakpointValue"

type LinkFlexProps = FlexProps & {
Expand Down Expand Up @@ -93,14 +95,15 @@ const TutorialPage = ({
contentNotTranslated,
}: TutorialPageProps) => {
const locale = useLocale()
const effectiveLocale = internalTutorials.length > 0 ? locale : DEFAULT_LOCALE
const filteredTutorialsByLang = useMemo(
() =>
filterTutorialsByLang(
internalTutorials,
externalTutorials,
locale as Lang
effectiveLocale as Lang
),
[internalTutorials, locale]
[internalTutorials, effectiveLocale]
)

const allTags = useMemo(
Expand Down
13 changes: 11 additions & 2 deletions app/[locale]/eth/_components/eth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import type { ComponentProps, HTMLAttributes } from "react"

import type { ChildOnlyProp } from "@/lib/types"
import type { ChildOnlyProp, PageWithContributorsProps } from "@/lib/types"

import ActionCard from "@/components/ActionCard"
import CalloutBanner from "@/components/CalloutBanner"
Expand All @@ -11,6 +11,7 @@ import CardList from "@/components/CardList"
import EthPriceCard from "@/components/EthPriceCard"
import EthVideo from "@/components/EthVideo"
import FeedbackCard from "@/components/FeedbackCard"
import FileContributors from "@/components/FileContributors"
import HorizontalCard from "@/components/HorizontalCard"
import { Image } from "@/components/Image"
import InfoBanner from "@/components/InfoBanner"
Expand Down Expand Up @@ -168,7 +169,10 @@ const CentralActionCard = (props: ComponentProps<typeof ActionCard>) => (
<ActionCard className="my-8" imageWidth={260} {...props} />
)

const EthPage = () => {
const EthPage = ({
contributors,
lastEditLocaleTimestamp,
}: PageWithContributorsProps) => {
const { t } = useTranslation("page-eth")
const pathname = usePathname()

Expand Down Expand Up @@ -448,6 +452,11 @@ const EthPage = () => {
<StandaloneQuizWidget quizKey="what-is-ether" />
</Content>
<Content>
<FileContributors
className="my-10 border-t"
contributors={contributors}
lastEditLocaleTimestamp={lastEditLocaleTimestamp}
/>
<FeedbackCard />
</Content>
</Page>
Expand Down
12 changes: 10 additions & 2 deletions app/[locale]/eth/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import {
setRequestLocale,
} from "next-intl/server"

import { Lang } from "@/lib/types"
import type { CommitHistory, Lang } from "@/lib/types"

import I18nProvider from "@/components/I18nProvider"

import { getAppPageContributorInfo } from "@/lib/utils/contributors"
import { getMetadata } from "@/lib/utils/metadata"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

Expand All @@ -28,9 +29,16 @@ export default async function Page({
const requiredNamespaces = getRequiredNamespacesForPage("/eth")
const pickedMessages = pick(allMessages, requiredNamespaces)

const commitHistoryCache: CommitHistory = {}
const { contributors, lastEditLocaleTimestamp } =
await getAppPageContributorInfo("eth", locale as Lang, commitHistoryCache)

return (
<I18nProvider locale={locale} messages={pickedMessages}>
<EthPage />
<EthPage
contributors={contributors}
lastEditLocaleTimestamp={lastEditLocaleTimestamp}
/>
</I18nProvider>
)
}
Expand Down
Loading
Loading