Skip to content

Commit eda21b0

Browse files
committed
Merge branch 'dev' into shadcn-get-eth
2 parents c8bce76 + f5a6de0 commit eda21b0

File tree

414 files changed

+6676
-13869
lines changed

Some content is hidden

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

414 files changed

+6676
-13869
lines changed

.all-contributorsrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12479,6 +12479,24 @@
1247912479
"contributions": [
1248012480
"content"
1248112481
]
12482+
},
12483+
{
12484+
"login": "nipunh",
12485+
"name": "Nipun Hedaoo",
12486+
"avatar_url": "https://avatars.githubusercontent.com/u/26524611?v=4",
12487+
"profile": "https://github.com/nipunh",
12488+
"contributions": [
12489+
"code"
12490+
]
12491+
},
12492+
{
12493+
"login": "chenjiali-april",
12494+
"name": "april",
12495+
"avatar_url": "https://avatars.githubusercontent.com/u/132745538?v=4",
12496+
"profile": "https://github.com/chenjiali-april",
12497+
"contributions": [
12498+
"doc"
12499+
]
1248212500
}
1248312501
],
1248412502
"contributorsPerLine": 7,

.env.example

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,5 @@ BUILD_LOCALES=
3535
# fixed number of CPUs (e.g. 2) to limit the demand during build time
3636
LIMIT_CPUS=
3737

38-
# Sentry auth token required for error tracking
39-
SENTRY_AUTH_TOKEN=
40-
NEXT_PUBLIC_SENTRY_DSN=
41-
4238
# Enables the bundle analyzer
4339
ANALYZE=false

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ git push
119119
- In your PR description, reference the issue it resolves (see [linking a pull request to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
120120
- ex. `Updates out of date content [Fixes #1234]`
121121
- Netlify (our hosting service for build previews) deploys all PRs to a publicly accessible preview URL, e.g.: ![Netlify deploy preview](public/images/preview-deploy.png)
122-
- _Confirm your Netlify preview deploy looks & functions as expected_
122+
- _Confirm that your Netlify preview deploy looks and functions as expected_
123123
- Why not say hi and draw attention to your PR in [our discord server](https://discord.gg/ethereum-org)?
124124

125125
### 6. Wait for review
@@ -1908,6 +1908,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
19081908
<tr>
19091909
<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>
19101910
<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+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nipunh"><img src="https://avatars.githubusercontent.com/u/26524611?v=4?s=100" width="100px;" alt="Nipun Hedaoo"/><br /><sub><b>Nipun Hedaoo</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=nipunh" title="Code">💻</a></td>
1912+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/chenjiali-april"><img src="https://avatars.githubusercontent.com/u/132745538?v=4?s=100" width="100px;" alt="april"/><br /><sub><b>april</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=chenjiali-april" title="Documentation">📖</a></td>
19111913
</tr>
19121914
</tbody>
19131915
</table>

instrumentation.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

next.config.js

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint-disable @typescript-eslint/no-var-requires */
22
const { PHASE_DEVELOPMENT_SERVER } = require("next/constants")
3-
const { withSentryConfig } = require("@sentry/nextjs")
43

54
const withBundleAnalyzer = require("@next/bundle-analyzer")({
65
enabled: process.env.ANALYZE === "true",
@@ -27,7 +26,7 @@ module.exports = (phase, { defaultConfig }) => {
2726
let nextConfig = {
2827
...defaultConfig,
2928
reactStrictMode: true,
30-
webpack: (config, { webpack }) => {
29+
webpack: (config) => {
3130
config.module.rules.push({
3231
test: /\.ya?ml$/,
3332
use: "yaml-loader",
@@ -58,30 +57,13 @@ module.exports = (phase, { defaultConfig }) => {
5857
// Modify the file loader rule to ignore *.svg, since we have it handled now.
5958
fileLoaderRule.exclude = /\.svg$/i
6059

61-
// Tree shake Sentry debug code
62-
// ref. https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/tree-shaking/#tree-shaking-with-nextjs
63-
config.plugins.push(
64-
new webpack.DefinePlugin({
65-
__SENTRY_DEBUG__: false,
66-
__RRWEB_EXCLUDE_IFRAME__: true,
67-
__RRWEB_EXCLUDE_SHADOW_DOM__: true,
68-
__SENTRY_EXCLUDE_REPLAY_WORKER__: true,
69-
})
70-
)
71-
7260
return config
7361
},
7462
i18n,
7563
trailingSlash: true,
7664
images: {
7765
deviceSizes: [640, 750, 828, 1080, 1200, 1504, 1920],
7866
},
79-
env: {
80-
NEXT_PUBLIC_CONTEXT: process.env.CONTEXT,
81-
},
82-
experimental: {
83-
instrumentationHook: true,
84-
},
8567
}
8668

8769
if (phase !== PHASE_DEVELOPMENT_SERVER) {
@@ -110,15 +92,5 @@ module.exports = (phase, { defaultConfig }) => {
11092
}
11193
}
11294

113-
return withBundleAnalyzer(
114-
withSentryConfig(nextConfig, {
115-
// TODO: temp config, update this to the correct org & project
116-
org: "ethereumorg-ow",
117-
project: "javascript-nextjs",
118-
authToken: process.env.SENTRY_AUTH_TOKEN,
119-
release: `${process.env.BUILD_ID}_${process.env.REVIEW_ID}`,
120-
disableLogger: true,
121-
silent: true,
122-
})
123-
)
95+
return withBundleAnalyzer(nextConfig)
12496
}

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "8.10.1",
3+
"version": "9.0.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {
@@ -48,14 +48,12 @@
4848
"@radix-ui/react-switch": "^1.1.0",
4949
"@radix-ui/react-tooltip": "^1.1.2",
5050
"@radix-ui/react-visually-hidden": "^1.1.0",
51-
"@sentry/nextjs": "^8.19.0",
5251
"@socialgouv/matomo-next": "^1.8.0",
5352
"chart.js": "^4.4.2",
5453
"chartjs-plugin-datalabels": "^2.2.0",
5554
"class-variance-authority": "^0.7.0",
5655
"clsx": "^2.1.1",
5756
"cmdk": "^1.0.0",
58-
"embla-carousel-react": "^7.0.0",
5957
"ethereum-blockies-base64": "^1.0.2",
6058
"framer-motion": "^10.13.0",
6159
"gray-matter": "^4.0.3",
@@ -64,7 +62,7 @@
6462
"lodash.merge": "^4.6.2",
6563
"lodash.shuffle": "^4.2.0",
6664
"lodash.union": "^4.6.0",
67-
"next": "^14.2.3",
65+
"next": "^14.2.10",
6866
"next-i18next": "^14.0.3",
6967
"next-mdx-remote": "^3.0.8",
7068
"next-sitemap": "^4.2.3",

public/content/about/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ lang: en
88

99
ethereum.org is a public, open-source resource for the Ethereum community that anyone can contribute to. We have a small core team dedicated to maintaining and developing the site with contributions from thousands of community members across the globe.
1010

11+
**Nobody from ethereum.org will ever contact you. Do not respond.**
12+
1113
## A note on names {#a-note-on-names}
1214

1315
It's common for people to confuse names within the Ethereum landscape, which can lead to poor mental models about how Ethereum works. Here's a quick explainer to clear things up:

public/content/community/support/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ lang: en
1010

1111
Are you looking for the official Ethereum support? The first thing you should know is that Ethereum is decentralized. This means no central organization, entity, or person owns Ethereum, and because of this, no official support channels exist.
1212

13-
Understanding the decentralized nature of Ethereum is vital because anyone claiming to be official support for Ethereum is probably trying to scam you! The best protection against scammers is educating yourself and taking security seriously.
13+
Understanding the decentralized nature of Ethereum is vital because **anyone claiming to be official support for Ethereum is probably trying to scam you!** The best protection against scammers is educating yourself and taking security seriously.
1414

1515
<DocLink href="/security/">
1616
Ethereum security and scam prevention

public/content/contributing/translation-program/content-buckets/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ Below is a breakdown of the website pages each content bucket contains.
341341
- [Set up web3.js to use the Ethereum blockchain in JavaScript](/developers/tutorials/set-up-web3js-to-use-ethereum-in-javascript/)
342342
- [Short ABIs for calldata optimization](/developers/tutorials/short-abi/)
343343
- [Smart contract security guidelines](/developers/tutorials/smart-contract-security-guidelines/)
344-
- [Solidity and Truffle continuous integration setup](/developers/tutorials/solidity-and-truffle-continuous-integration-setup/)
345344
- [Testing ERC-20 tokens with Waffle](/developers/tutorials/testing-erc-20-tokens-with-waffle/)
346345
- [Token integration checklist](/developers/tutorials/token-integration-checklist/)
347346
- [Using WebSockets](/developers/tutorials/using-websockets/)

public/content/desci/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ We welcome suggestions for new projects to list - please look at our [listing po
127127
- [DeSci: The Future of Research by Samuel Akinosho](https://lucidsamuel.medium.com/desci-the-future-of-research-b76cfc88c8ec)
128128
- [Science Funding (Epilogue: DeSci and new crypto primitives) by Nadia](https://nadia.xyz/science-funding)
129129
- [Decentralisation is Disrupting Drug Development](https://medium.com/id-theory/decentralisation-is-disrupting-drug-development-28b5ba5d447f)
130+
- [What Is DeSci – Decentralized Science?](​https://usadailytimes.com/2022/09/12/what-is-desci-decentralized-science/)
130131

131132
### Videos {#videos}
132133

@@ -135,3 +136,4 @@ We welcome suggestions for new projects to list - please look at our [listing po
135136
- [Scientific Publishing Is Broken. Can Web3 Fix It?](https://www.youtube.com/watch?v=WkvzYgCvWj8)
136137
- [Juan Benet - DeSci, Independent Labs, & Large Scale Data Science](https://www.youtube.com/watch?v=zkXM9H90g_E)
137138
- [Sebastian Brunemeier - How DeSci Can Transform Biomedical Research & Venture Capital](https://www.youtube.com/watch?v=qB4Tc3FcVbM)
139+
- [Paige Donner - Tooling Open Science with Web3 & The Blockchain](https://www.youtube.com/watch?v=nC-2QWQ-lgw&t=17s)

0 commit comments

Comments
 (0)