Skip to content

Commit 1d4ef15

Browse files
Merge remote-tracking branch 'upstream/dev' into feat/local-use-breakpoint-value
2 parents 8daf17d + 065a055 commit 1d4ef15

File tree

221 files changed

+5112
-3080
lines changed

Some content is hidden

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

221 files changed

+5112
-3080
lines changed

.all-contributorsrc

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12398,6 +12398,87 @@
1239812398
"contributions": [
1239912399
"content"
1240012400
]
12401+
},
12402+
{
12403+
"login": "yannggg",
12404+
"name": "Yann Gerardi",
12405+
"avatar_url": "https://avatars.githubusercontent.com/u/29145014?v=4",
12406+
"profile": "https://www.mtpelerin.com",
12407+
"contributions": [
12408+
"code"
12409+
]
12410+
},
12411+
{
12412+
"login": "panditdhamdhere",
12413+
"name": "Pandit Dhamdhere",
12414+
"avatar_url": "https://avatars.githubusercontent.com/u/85685981?v=4",
12415+
"profile": "https://github.com/panditdhamdhere",
12416+
"contributions": [
12417+
"code"
12418+
]
12419+
},
12420+
{
12421+
"login": "ferreiramarcelo",
12422+
"name": "M@rC3L0",
12423+
"avatar_url": "https://avatars.githubusercontent.com/u/11818521?v=4",
12424+
"profile": "http://linkedin.com/in/fmarcelo",
12425+
"contributions": [
12426+
"ideas"
12427+
]
12428+
},
12429+
{
12430+
"login": "Refdeveloper",
12431+
"name": "DevOFtoken",
12432+
"avatar_url": "https://avatars.githubusercontent.com/u/87125773?v=4",
12433+
"profile": "https://github.com/Refdeveloper",
12434+
"contributions": [
12435+
"ideas"
12436+
]
12437+
},
12438+
{
12439+
"login": "vvvvvv1vvvvvv",
12440+
"name": "vvvvvv1vvvvvv",
12441+
"avatar_url": "https://avatars.githubusercontent.com/u/86296331?v=4",
12442+
"profile": "https://github.com/vvvvvv1vvvvvv",
12443+
"contributions": [
12444+
"doc"
12445+
]
12446+
},
12447+
{
12448+
"login": "abraj",
12449+
"name": "Abhishek Raj",
12450+
"avatar_url": "https://avatars.githubusercontent.com/u/8170980?v=4",
12451+
"profile": "https://raj.me",
12452+
"contributions": [
12453+
"content"
12454+
]
12455+
},
12456+
{
12457+
"login": "p1kalys",
12458+
"name": "Pavan Emani",
12459+
"avatar_url": "https://avatars.githubusercontent.com/u/85685112?v=4",
12460+
"profile": "https://github.com/p1kalys",
12461+
"contributions": [
12462+
"content"
12463+
]
12464+
},
12465+
{
12466+
"login": "makoshan",
12467+
"name": "Mako Shan",
12468+
"avatar_url": "https://avatars.githubusercontent.com/u/7024451?v=4",
12469+
"profile": "https://v2eth.com/",
12470+
"contributions": [
12471+
"content"
12472+
]
12473+
},
12474+
{
12475+
"login": "cratiu222",
12476+
"name": "Christina",
12477+
"avatar_url": "https://avatars.githubusercontent.com/u/156356273?v=4",
12478+
"profile": "https://github.com/cratiu222",
12479+
"contributions": [
12480+
"content"
12481+
]
1240112482
}
1240212483
],
1240312484
"contributorsPerLine": 7,

.github/workflows/wallets-check.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Check Wallet Data for new_to_crypto
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "src/data/wallets/wallet-data.ts"
7+
8+
jobs:
9+
check_new_to_crypto:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Check for new_to_crypto
16+
id: check_new_to_crypto
17+
run: |
18+
if git diff --name-only HEAD^ | grep -q "data/wallets/wallet-data.ts"; then
19+
if git diff -U0 HEAD^ HEAD data/wallets/wallet-data.ts | grep -q "+.*new_to_crypto: true"; then
20+
echo "New wallet added with 'new_to_crypto: true'"
21+
echo "new_to_crypto_found=true" >> $GITHUB_OUTPUT
22+
else
23+
echo "new_to_crypto_found=false" >> $GITHUB_OUTPUT
24+
fi
25+
fi
26+
27+
- name: Comment on PR if new_to_crypto is added
28+
if: steps.check_new_to_crypto.outputs.new_to_crypto_found == 'true'
29+
uses: actions-ecosystem/action-add-comment@v1
30+
with:
31+
github-token: ${{ secrets.GITHUB_TOKEN }}
32+
body: "A wallet has been added with 'new_to_crypto: true'. Please ensure this meets our guidelines."

.storybook/i18next.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const ns = [
2222
"page-developers-index",
2323
"page-what-is-ethereum",
2424
"page-upgrades-index",
25+
"page-developers-docs",
2526
] as const
2627
const supportedLngs = Object.keys(baseLocales)
2728

.storybook/preview.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
import isChromatic from "chromatic/isChromatic"
22
import { MotionGlobalConfig } from "framer-motion"
3-
import { withThemeByDataAttribute } from "@storybook/addon-themes"
43
import type { Preview } from "@storybook/react"
54

65
import ThemeProvider from "@/components/ThemeProvider"
6+
import { TooltipProvider } from "@/components/ui/tooltip"
77

88
import i18n, { baseLocales } from "./i18next"
9+
import { withNextThemes } from "./withNextThemes"
910

10-
import "@docsearch/css"
1111
import "../src/styles/global.css"
1212
import "../src/styles/fonts.css"
1313
import "../src/styles/docsearch.css"
1414

15+
import "@docsearch/css"
16+
1517
MotionGlobalConfig.skipAnimations = isChromatic()
1618

1719
export const breakpointSet: [token: string, value: string][] = [
@@ -29,7 +31,7 @@ const preview: Preview = {
2931
locales: baseLocales,
3032
},
3133
decorators: [
32-
withThemeByDataAttribute({
34+
withNextThemes({
3335
themes: {
3436
light: "light",
3537
dark: "dark",
@@ -38,7 +40,9 @@ const preview: Preview = {
3840
}),
3941
(Story) => (
4042
<ThemeProvider>
41-
<Story />
43+
<TooltipProvider>
44+
<Story />
45+
</TooltipProvider>
4246
</ThemeProvider>
4347
),
4448
],

.storybook/withNextThemes.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import { useEffect } from "react"
2+
import { useTheme } from "next-themes"
3+
import {
4+
type DataAttributeStrategyConfiguration,
5+
DecoratorHelpers,
6+
} from "@storybook/addon-themes"
7+
import type { Decorator } from "@storybook/react/*"
8+
9+
const { initializeThemeState, pluckThemeFromContext } = DecoratorHelpers
10+
11+
export const withNextThemes = ({
12+
themes,
13+
defaultTheme,
14+
}: DataAttributeStrategyConfiguration): Decorator => {
15+
initializeThemeState(Object.keys(themes), defaultTheme)
16+
17+
return (getStory, context) => {
18+
const selectedTheme = pluckThemeFromContext(context)
19+
const selected = selectedTheme || defaultTheme
20+
const { setTheme } = useTheme()
21+
22+
useEffect(() => {
23+
setTheme(selected)
24+
}, [selected, setTheme])
25+
26+
return getStory(context)
27+
}
28+
}

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Netlify Status](https://api.netlify.com/api/v1/badges/e8f2e766-888b-4954-8500-1b647d84db99/deploy-status)](https://app.netlify.com/sites/ethereumorg/deploys)
22
[![All Contributors](https://img.shields.io/github/all-contributors/ethereum/ethereum-org-website?color=orange&style=flat-square)](#contributors-)
33
[![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/ethereum-org)
4-
[![Twitter Follow](https://img.shields.io/twitter/follow/ethdotorg.svg?style=social)](https://twitter.com/ethdotorg)
4+
[![Twitter Follow](https://img.shields.io/twitter/follow/ethdotorg.svg?style=social)](https://x.com/ethdotorg)
55
[![Crowdin](https://badges.crowdin.net/ethereum-org/localized.svg)](https://crowdin.com/project/ethereum-org)
66
[![gitpoap badge](https://public-api.gitpoap.io/v1/repo/ethereum/ethereum-org-website/badge)](https://www.gitpoap.io/gh/ethereum/ethereum-org-website)
77

@@ -1896,6 +1896,19 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
18961896
<td align="center" valign="top" width="14.28%"><a href="https://github.com/sanjanaynvsdl"><img src="https://avatars.githubusercontent.com/u/142678317?v=4?s=100" width="100px;" alt="Sanjana"/><br /><sub><b>Sanjana</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Asanjanaynvsdl" title="Bug reports">🐛</a></td>
18971897
<td align="center" valign="top" width="14.28%"><a href="https://www.zaryabs.com/"><img src="https://avatars.githubusercontent.com/u/42082608?v=4?s=100" width="100px;" alt="Zaryab"/><br /><sub><b>Zaryab</b></sub></a><br /><a href="#content-zaryab2000" title="Content">🖋</a></td>
18981898
</tr>
1899+
<tr>
1900+
<td align="center" valign="top" width="14.28%"><a href="https://www.mtpelerin.com"><img src="https://avatars.githubusercontent.com/u/29145014?v=4?s=100" width="100px;" alt="Yann Gerardi"/><br /><sub><b>Yann Gerardi</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=yannggg" title="Code">💻</a></td>
1901+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/panditdhamdhere"><img src="https://avatars.githubusercontent.com/u/85685981?v=4?s=100" width="100px;" alt="Pandit Dhamdhere"/><br /><sub><b>Pandit Dhamdhere</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=panditdhamdhere" title="Code">💻</a></td>
1902+
<td align="center" valign="top" width="14.28%"><a href="http://linkedin.com/in/fmarcelo"><img src="https://avatars.githubusercontent.com/u/11818521?v=4?s=100" width="100px;" alt="M@rC3L0"/><br /><sub><b>M@rC3L0</b></sub></a><br /><a href="#ideas-ferreiramarcelo" title="Ideas, Planning, & Feedback">🤔</a></td>
1903+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Refdeveloper"><img src="https://avatars.githubusercontent.com/u/87125773?v=4?s=100" width="100px;" alt="DevOFtoken"/><br /><sub><b>DevOFtoken</b></sub></a><br /><a href="#ideas-Refdeveloper" title="Ideas, Planning, & Feedback">🤔</a></td>
1904+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/vvvvvv1vvvvvv"><img src="https://avatars.githubusercontent.com/u/86296331?v=4?s=100" width="100px;" alt="vvvvvv1vvvvvv"/><br /><sub><b>vvvvvv1vvvvvv</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=vvvvvv1vvvvvv" title="Documentation">📖</a></td>
1905+
<td align="center" valign="top" width="14.28%"><a href="https://raj.me"><img src="https://avatars.githubusercontent.com/u/8170980?v=4?s=100" width="100px;" alt="Abhishek Raj"/><br /><sub><b>Abhishek Raj</b></sub></a><br /><a href="#content-abraj" title="Content">🖋</a></td>
1906+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/p1kalys"><img src="https://avatars.githubusercontent.com/u/85685112?v=4?s=100" width="100px;" alt="Pavan Emani"/><br /><sub><b>Pavan Emani</b></sub></a><br /><a href="#content-p1kalys" title="Content">🖋</a></td>
1907+
</tr>
1908+
<tr>
1909+
<td align="center" valign="top" width="14.28%"><a href="https://v2eth.com/"><img src="https://avatars.githubusercontent.com/u/7024451?v=4?s=100" width="100px;" alt="Mako Shan"/><br /><sub><b>Mako Shan</b></sub></a><br /><a href="#content-makoshan" title="Content">🖋</a></td>
1910+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/cratiu222"><img src="https://avatars.githubusercontent.com/u/156356273?v=4?s=100" width="100px;" alt="Christina"/><br /><sub><b>Christina</b></sub></a><br /><a href="#content-cratiu222" title="Content">🖋</a></td>
1911+
</tr>
18991912
</tbody>
19001913
</table>
19011914

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "8.9.0",
3+
"version": "8.10.1",
44
"license": "MIT",
55
"private": true,
66
"scripts": {
@@ -46,6 +46,7 @@
4646
"@radix-ui/react-radio-group": "^1.2.0",
4747
"@radix-ui/react-slot": "^1.1.0",
4848
"@radix-ui/react-switch": "^1.1.0",
49+
"@radix-ui/react-tooltip": "^1.1.2",
4950
"@radix-ui/react-visually-hidden": "^1.1.0",
5051
"@sentry/nextjs": "^8.19.0",
5152
"@socialgouv/matomo-next": "^1.8.0",
@@ -63,7 +64,6 @@
6364
"lodash.merge": "^4.6.2",
6465
"lodash.shuffle": "^4.2.0",
6566
"lodash.union": "^4.6.0",
66-
"lucide-react": "^0.400.0",
6767
"next": "^14.2.3",
6868
"next-i18next": "^14.0.3",
6969
"next-mdx-remote": "^3.0.8",
@@ -82,6 +82,7 @@
8282
"react-select": "5.8.0",
8383
"reading-time": "^1.5.0",
8484
"remark-gfm": "^3.0.1",
85+
"swiper": "^11.1.10",
8586
"tailwind-merge": "^2.3.0",
8687
"tailwindcss-animate": "^1.0.7",
8788
"usehooks-ts": "^3.1.0",
@@ -104,6 +105,8 @@
104105
"@types/node": "^20.4.2",
105106
"@types/react": "18.2.57",
106107
"@types/react-dom": "18.2.19",
108+
"@types/swiper": "^6.0.0",
109+
"@types/xml2js": "^0.4.14",
107110
"@typescript-eslint/eslint-plugin": "^6.19.0",
108111
"@typescript-eslint/parser": "^6.19.0",
109112
"autoprefixer": "^10.4.19",
@@ -133,7 +136,8 @@
133136
"tsconfig-paths-webpack-plugin": "4.1.0",
134137
"typescript": "^5.5.2",
135138
"unified": "^10.0.0",
136-
"unist-util-visit": "^5.0.0"
139+
"unist-util-visit": "^5.0.0",
140+
"xml2js": "^0.6.2"
137141
},
138142
"resolutions": {
139143
"jackspeak": "2.1.1",

public/content/bridges/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,15 @@ Many bridging solutions adopt models between these two extremes with varying deg
9595

9696
<Divider />
9797

98+
## Use bridge {#use-bridge}
99+
100+
Using bridges allows you to move your assets across different blockchains. Here are some resources that can help you find and use bridges:
101+
102+
- **[L2BEAT Bridges Summary](https://l2beat.com/bridges/summary) & [L2BEAT Bridges Risk Analysis](https://l2beat.com/bridges/risk)**: A comprehensive summary of various bridges, including details on market share, bridge type, and destination chains. L2BEAT also has a risk analysis for bridges, helping users make informed decisions when selecting a bridge.
103+
- **[DefiLlama Bridge Summary](https://defillama.com/bridges/Ethereum)**: A summary of bridge volumes across Ethereum networks.
104+
105+
<Divider />
106+
98107
## Risk using bridges {#bridge-risk}
99108

100109
Bridges are in the early stages of development. It is likely that the optimal bridge design has not yet been discovered. Interacting with any type of bridge carries risk:

public/content/community/support/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,6 @@ Most of the teams building Ethereum clients also have dedicated, public-facing,
100100
- [Lighthouse](https://discord.gg/cyAszAh)
101101
- [Teku](https://discord.gg/7hPv2T6)
102102
- [Lodestar](https://discord.gg/aMxzVcr)
103+
- [Grandine](https://discord.gg/H9XCdUSyZd)
103104

104105
You can also [learn how to run a node here](/developers/docs/nodes-and-clients/run-a-node/).

public/content/contributing/adding-staking-products/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ For any custom software or smart contracts involved:
8787

8888
For software products related to node or client setup, management or migration:
8989

90-
**Which consensus layer clients (i.e. Lighthouse, Teku, Nimbus, Prysm) are supported?**
90+
**Which consensus layer clients (i.e. Lighthouse, Teku, Nimbus, Prysm, Grandine) are supported?**
9191

9292
- Which clients are supported? Can the user choose?
9393
- This is used to determine the products "multi-client" score.

0 commit comments

Comments
 (0)