Skip to content

Commit 8c3b803

Browse files
Merge remote-tracking branch 'upstream/dev' into feat/shadcn-migrate-simulator-sendreceive-screen
2 parents 824cb60 + fec8b9a commit 8c3b803

39 files changed

+769
-658
lines changed

docs/applying-storybook.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
StorybookJS is a UI tool for isolating UI components to visually test their styles and states.
5+
StorybookJS is a UI tool for isolating UI components to visually test its styles and states.
66

77
This is great for checking the various iterations of a component in a sandbox versus scouring all the pages in a large scale project it is used to verify that the component is rendering properly.
88

@@ -22,7 +22,7 @@ It's as easy as running `yarn storybook` to boot up a dedicated localhost to see
2222
2323
A Storybook "story" is an instance of a component in a certain state or with certain parameters applied to show an alternative version of the component.
2424

25-
There may be some exceptions, but generally each component should have only on story file.
25+
There may be some exceptions, but generally each component should have only one story file.
2626

2727
The stories file will reside with each component. So the base folder structure in `src` will look like this:
2828

@@ -134,7 +134,7 @@ export const Button: StoryObj<typeof meta> = {
134134
}
135135
```
136136

137-
As you go and make adjustments to the component itself or it's variant styles, Storybook will hot reload and those changes will appear in the stories that emphasize them.
137+
As you go and make adjustments to the component itself or its variant styles, Storybook will hot reload and those changes will appear in the stories that emphasize them.
138138

139139
## Storybook Dashboard
140140

public/content/contributing/translation-program/translatathon/details/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Bonus points breakdown:
6666

6767
1) ETHglossary translators
6868
[ETHglossary](https://ethglossaryproject.vercel.app/) is an open-source glossary of key Ethereum terms, and an initiative to create and maintain a glossary of Ethereum terms and their translations in 60+ languages that anyone can use and contribute to.
69-
Translatathon participants can suggest translations for these terms and vote or discuss existing translations to earn bonus points in the Translathon.
69+
Translatathon participants can suggest translations for these terms and vote or discuss existing translations to earn bonus points in the Translatathon.
7070
Each 10 translated terms will earn you 100 bonus points, with a bonus for completing all 70 terms currently available in the glossary app. The bonus points will be automatically added to your final score once the Translatathon ends and the final scores are calculated.
7171

7272
Participants can earn a maximum of 1,000 bonus points by translating all of the terms in their native language, but translating multiple languages will not result in any additional points!

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ For more details, [see the full Terms & conditions](/contributing/translation-pr
8686
## Stay up to date
8787

8888
<TranslationHubCallout>
89-
<h3 style={{margin:0}}>Translataton hubs</h3>
89+
<h3 style={{margin:0}}>Translatathon hubs</h3>
9090

91-
This year we bring IRL community hugs to join local communities and help translate. These hubs are located all over the world, find out if there is one close to you and join the community!
91+
This year we bring IRL community hubs to join local communities and help translate. These hubs are located all over the world, find out if there is one close to you and join the community!
9292
</TranslationHubCallout>
9393

9494
<TranslatathonCalendar />

public/content/contributing/translation-program/translatathon/terms-and-conditions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ Participants agree that the Ethereum Foundation, its affiliates, and all of thei
4040

4141
## Governing Law
4242

43-
Any dispute or claim arising out of or relating to the Translatathon (in each case, including non-contractual disputes or claims), shall be governed by and construed in accordance with the laws of Switzerland without giving effect to any choice or conflict of law provision or rule (whether of Switzerland or any other jurisdiction).
43+
Any dispute or claim arising out of or relating to the Translatathon (in each case, including non-contractual disputes or claims), shall be governed by and construed in accordance with the laws of Switzerland without giving effect to any choice or conflict of law provision or rule (whether of Switzerland or any other jurisdiction).

public/content/developers/docs/oracles/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,8 @@ There are multiple oracle applications you can integrate into your Ethereum dapp
388388

389389
**[Chainlink](https://chain.link/)** - _Chainlink decentralized oracle networks provide tamper-proof inputs, outputs, and computations to support advanced smart contracts on any blockchain._
390390

391+
**[RedStone Oracles](https://redstone.finance/)** - _RedStone is a decentralized modular oracle that provides gas-optimized data feeds. It specializes in offering price feeds for emerging assets, such as liquid staking tokens (LSTs), liquid restaking tokens (LRTs), and Bitcoin staking derivatives._
392+
391393
**[Chronicle](https://chroniclelabs.org/)** - _Chronicle overcomes the current limitations of transferring data on-chain by developing truly scalable, cost-efficient, decentralized, and verifiable oracles._
392394

393395
**[Witnet](https://witnet.io/)** - _Witnet is a permissionless, decentralized, and censorship-resistant oracle helping smart contracts to react to real world events with strong crypto-economic guarantees._

public/content/translations/zh/roadmap/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ buttons:
6161

6262
<RoadmapImageContent title="路线图是如何制定的?">
6363

64-
因为协议的技术性很强,所以路线图主要是研究人员和开发者多年来工作的结果,但任何有意向的人都可以参与进来。 想法通常都始于论坛上的讨论,比如[ethresear.ch] (https://ethresear.ch/)、[以太坊魔术师] (https://ethereum-magicians.org/) 或者以太坊研发 discord 服务器。 它们可能是对新发现的漏洞的响应、来自从事于应用程序层的组织(例如[去中心化应用程序] (/glossary/#dapp) 和交易所)的建议或终端用户面临的已知问题(例如费用或交易速度)。 这些想法一旦成熟,就可以作为 [以太坊改进建议](https://eips.ethereum.org/) 提出。 整个过程都是公开进行的,社区的任何人可以随时发表意见。
64+
因为协议的技术性很强,所以路线图主要是研究人员和开发者多年来工作的结果,但任何有意向的人都可以参与进来。 想法通常都始于论坛上的讨论,比如 [ethresear.ch](https://ethresear.ch/)[以太坊魔术师](https://ethereum-magicians.org/) 或者以太坊研发 discord 服务器。 它们可能是对新发现的漏洞的响应、来自从事于应用程序层的组织(例如[去中心化应用程序] (/glossary/#dapp) 和交易所)的建议或终端用户面临的已知问题(例如费用或交易速度)。 这些想法一旦成熟,就可以作为 [以太坊改进建议](https://eips.ethereum.org/) 提出。 整个过程都是公开进行的,社区的任何人可以随时发表意见。
6565

6666
[更多关于以太坊治理的信息](/governance/)
6767

public/images/dapps/crackandstack.png

-149 KB
Binary file not shown.

src/components/Layer2NetworksTable/NetworksSubComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ const NetworkSubComponent = ({ network }) => {
236236
<div className="flex flex-col gap-0.5">
237237
<div>
238238
<InlineLink
239-
href={network.growThePieLink}
239+
href={network.growthepieLink}
240240
customEventOptions={{
241241
eventCategory: "l2_networks",
242242
eventAction: "analytics_profiles",

src/components/Logo/index.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { useTranslation } from "next-i18next"
2-
import { useColorModeValue } from "@chakra-ui/react"
32

4-
import { Image } from "@/components/Image"
3+
import { TwImage as Image } from "@/components/Image"
54

5+
import useColorModeValue from "@/hooks/useColorModeValue"
66
import darkImage from "@/public/images/ef-logo.png"
77
import lightImage from "@/public/images/ef-logo-white.png"
88

@@ -11,7 +11,11 @@ const Logo = () => {
1111
const image = useColorModeValue(darkImage, lightImage)
1212

1313
return (
14-
<Image src={image} h={100} w="auto" alt={t("ethereum-foundation-logo")} />
14+
<Image
15+
src={image}
16+
className="h-[100px] w-auto"
17+
alt={t("ethereum-foundation-logo")}
18+
/>
1519
)
1620
}
1721

src/components/MdComponents/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { type HTMLAttributes } from "react"
2-
import { Box, type BoxProps } from "@chakra-ui/react"
1+
import { type ComponentProps, type HTMLAttributes } from "react"
32

43
import type { ChildOnlyProp } from "@/lib/types"
54

@@ -111,7 +110,6 @@ export const HR = () => (
111110
// All base html element components
112111
export const htmlElements = {
113112
a: TooltipLink,
114-
div: Box,
115113
h1: Heading1,
116114
h2: Heading2,
117115
h3: Heading3,
@@ -147,7 +145,7 @@ export const Title = (props: ChildOnlyProp) => (
147145
<Heading1 className="mt-4" {...props} />
148146
)
149147

150-
export const ContentContainer = (props: Pick<BoxProps, "id" | "children">) => {
148+
export const ContentContainer = (props: ComponentProps<"article">) => {
151149
return (
152150
<MainArticle className="relative flex-[1_1_992px] px-8 pb-8" {...props} />
153151
)

0 commit comments

Comments
 (0)