Skip to content

Commit

Permalink
Merge pull request #11468 from ethereum/staging
Browse files Browse the repository at this point in the history
Deploy v7.22.3
  • Loading branch information
corwintines authored Oct 20, 2023
2 parents 21a4edd + 453e106 commit 46201e9
Show file tree
Hide file tree
Showing 235 changed files with 8,625 additions and 1,958 deletions.
11 changes: 10 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -10591,7 +10591,7 @@
"login": "natpicone",
"name": "Natalino Picone",
"avatar_url": "https://avatars.githubusercontent.com/u/4753402?v=4",
"profile": "http://nozominetworks.com",
"profile": "https://chainlabo.com",
"contributions": [
"content"
]
Expand Down Expand Up @@ -10640,6 +10640,15 @@
"contributions": [
"content"
]
},
{
"login": "MohamedFekryyy",
"name": "Fekry Aiad",
"avatar_url": "https://avatars.githubusercontent.com/u/36033065?v=4",
"profile": "http://www.scienft.com",
"contributions": [
"ideas"
]
}
],
"contributorsPerLine": 7,
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1657,14 +1657,15 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="http://taminobaumann.com"><img src="https://avatars.githubusercontent.com/u/48290617?v=4?s=100" width="100px;" alt="Tamino"/><br /><sub><b>Tamino</b></sub></a><br /><a href="#content-taminobaumann" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/keccers"><img src="https://avatars.githubusercontent.com/u/770277?v=4?s=100" width="100px;" alt="Katherine Champagne"/><br /><sub><b>Katherine Champagne</b></sub></a><br /><a href="#content-keccers" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://coderoostr.com"><img src="https://avatars.githubusercontent.com/u/103231131?v=4?s=100" width="100px;" alt="Marcos González"/><br /><sub><b>Marcos González</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=Coderoostr" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://nozominetworks.com"><img src="https://avatars.githubusercontent.com/u/4753402?v=4?s=100" width="100px;" alt="Natalino Picone"/><br /><sub><b>Natalino Picone</b></sub></a><br /><a href="#content-natpicone" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://chainlabo.com"><img src="https://avatars.githubusercontent.com/u/4753402?v=4?s=100" width="100px;" alt="Natalino Picone"/><br /><sub><b>Natalino Picone</b></sub></a><br /><a href="#content-natpicone" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/hammadsaedi"><img src="https://avatars.githubusercontent.com/u/71373419?v=4?s=100" width="100px;" alt="Hammad Saaedi"/><br /><sub><b>Hammad Saaedi</b></sub></a><br /><a href="#content-hammadsaedi" title="Content">🖋</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/srn08"><img src="https://avatars.githubusercontent.com/u/105499798?v=4?s=100" width="100px;" alt="Shaunak Nagrecha"/><br /><sub><b>Shaunak Nagrecha</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Asrn08" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/schwindtkevin"><img src="https://avatars.githubusercontent.com/u/1700789?v=4?s=100" width="100px;" alt="Kevin Schwindt"/><br /><sub><b>Kevin Schwindt</b></sub></a><br /><a href="#content-schwindtkevin" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/robertkodra"><img src="https://avatars.githubusercontent.com/u/36516516?v=4?s=100" width="100px;" alt="Robert"/><br /><sub><b>Robert</b></sub></a><br /><a href="#content-robertkodra" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xObsidian"><img src="https://avatars.githubusercontent.com/u/131651958?v=4?s=100" width="100px;" alt="obsidian"/><br /><sub><b>obsidian</b></sub></a><br /><a href="#content-0xObsidian" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.scienft.com"><img src="https://avatars.githubusercontent.com/u/36033065?v=4?s=100" width="100px;" alt="Fekry Aiad"/><br /><sub><b>Fekry Aiad</b></sub></a><br /><a href="#ideas-MohamedFekryyy" title="Ideas, Planning, & Feedback">🤔</a></td>
</tr>
</tbody>
</table>
Expand Down
8 changes: 4 additions & 4 deletions docs/ds-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Follow the new component directory structure:
```markdown
src/
└── components/
└── ComponentA/
├── index.tsx
├── ComponentA.stories.tsx
└── // Any other files as applicable (utils, child components, useHook, etc.)
····└── ComponentA/
··········├── index.tsx
··········├── ComponentA.stories.tsx
··········└── // Any other files as applicable (utils, child components, useHook, etc.)
```

## Components creation/modification from the DS
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "7.22.2",
"version": "7.22.3",
"description": "Website of ethereum.org",
"main": "index.js",
"repository": "git@github.com:ethereum/ethereum-org-website.git",
Expand Down
2 changes: 2 additions & 0 deletions src/@chakra-ui/gatsby-plugin/foundations/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const colors = {
500: "#646464",
600: "#333333",
700: "#222222",
800: "#1B1B1B",
900: "#141414",
},
blue: {
Expand All @@ -30,6 +31,7 @@ const colors = {
300: "#FFB185",
400: "#FF985C",
500: "#FF7324",
550: "#DF5A0E",
600: "#B84300",
700: "#7A2D00",
800: "#521E00",
Expand Down
10 changes: 5 additions & 5 deletions src/@chakra-ui/gatsby-plugin/semanticTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ const semanticTokens = {
primary: {
base: { _light: "blue.500", _dark: "orange.500" },
highContrast: { _light: "blue.800", _dark: "orange.100" },
lowContrast: { _light: "blue.100", _dark: "orange.900" },
lowContrast: { _light: "blue.100", _dark: "orange.800" },
hover: { _light: "blue.400", _dark: "orange.400" },
visited: { _light: "blue.700", _dark: "orange.400" },
visited: { _light: "blue.700", _dark: "orange.550" },
// ! Deprecating primary.light
light: { _light: "blue.100", _dark: "orange.100" },
// ! Deprecating primary.dark
Expand All @@ -50,14 +50,14 @@ const semanticTokens = {
pressed: { _light: "blue.400", _dark: "orange.800" },
},
body: {
base: { _light: "gray.700", _dark: "gray.100" },
base: { _light: "gray.800", _dark: "gray.100" },
medium: { _light: "gray.500", _dark: "gray.300" },
light: { _light: "gray.200", _dark: "gray.600" },
// ! Deprecating body.inverted
inverted: { _light: "gray.100", _dark: "gray.700" },
inverted: { _light: "gray.100", _dark: "gray.800" },
},
background: {
base: { _light: "white", _dark: "gray.700" },
base: { _light: "white", _dark: "gray.800" },
highlight: { _light: "gray.100", _dark: "gray.900" },
},
disabled: { _light: "gray.400", _dark: "gray.500" },
Expand Down
2 changes: 1 addition & 1 deletion src/@chakra-ui/gatsby-plugin/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const styles = {
body: {
// TODO: when we have Chakra v2, this should be done by overriding the
// native Chakra semantic tokens
bg: mode("white", "gray.700")(props),
bg: mode("white", "gray.800")(props),
lineHeight: "base",
fontSize: "md",
},
Expand Down
Binary file added src/assets/dapps/artblocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/dapps/curve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/dapps/dodo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/dapps/ens.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/use-cases/refi-regenerative-economy-diagram.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 29 additions & 24 deletions src/components/EnergyConsumptionChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,24 @@ const EnergyConsumptionChart: React.FC = () => {
base: [
{
name: t("energy-consumption-chart-global-data-centers-label"),
amount: 200,
amount: 190,
color: "#FF0000",
},
{
name: t("energy-consumption-chart-btc-pow-label"),
amount: 131,
amount: 149,
color: "#F2A900",
},
{
name: t("energy-consumption-chart-eth-pow-label"),
amount: 78,
color: "#C1B6F5",
},
{
name: t("energy-consumption-chart-gaming-us-label"),
amount: 34,
color: "#71BB8A",
},
{
name: t("energy-consumption-chart-eth-pow-label"),
amount: 21,
color: "#C1B6F5",
},
{
name: t("energy-consumption-chart-eth-pos-label"),
amount: 0.0026,
Expand All @@ -109,27 +109,27 @@ const EnergyConsumptionChart: React.FC = () => {
sm: [
{
name: t("energy-consumption-chart-global-data-centers-label"),
amount: 200,
amount: 190,
color: "#FF0000",
},
{
name: t("energy-consumption-gold-mining-cbeci-label"),
amount: 131,
color: "#F2A900",
name: t("energy-consumption-chart-btc-pow-label"),
amount: 149,
color: "#D7B14A",
},
{
name: t("energy-consumption-chart-btc-pow-label"),
name: t("energy-consumption-gold-mining-cbeci-label"),
amount: 131,
color: "#D7B14A",
color: "#F2A900",
},
{
name: t("energy-consumption-chart-eth-pow-label"),
amount: 78,
amount: 21,
color: "#C1B6F5",
},
{
name: t("energy-consumption-chart-netflix-label"),
amount: 0.451,
amount: 0.457,
color: "#E50914",
},
{
Expand All @@ -141,32 +141,37 @@ const EnergyConsumptionChart: React.FC = () => {
md: [
{
name: t("energy-consumption-chart-global-data-centers-label"),
amount: 200,
amount: 190,
color: "#FF0000",
},
{
name: t("energy-consumption-gold-mining-cbeci-label"),
amount: 131,
name: t("energy-consumption-chart-btc-pow-label"),
amount: 149,
color: "#D7B14A",
},
{
name: t("energy-consumption-chart-btc-pow-label"),
name: t("energy-consumption-gold-mining-cbeci-label"),
amount: 131,
color: "#D7B14A",
},
{
name: t("energy-consumption-chart-gaming-us-label"),
amount: 34,
color: "#71BB8A",
},
{
name: t("energy-consumption-chart-eth-pow-label"),
amount: 78,
amount: 21,
color: "#C1B6F5",
},
{
name: t("energy-consumption-chart-gaming-us-label"),
amount: 34,
color: "#71BB8A",
name: "Google",
amount: 19,
color: "#E50914",
},
{
name: t("energy-consumption-chart-netflix-label"),
amount: 0.451,
amount: 0.457,
color: "#E50914",
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/FindWallet/WalletFilterSidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const WalletFilterSidebar: React.FC<WalletFilterSidebarProps> = ({
}}
>
<Icon as={BsArrowCounterclockwise} aria-hidden="true" fontSize="sm" />
{"Reset filters".toUpperCase()}
{t("page-find-wallet-reset-filters").toUpperCase()}
</Center>
<TabPanels
m={0}
Expand Down
16 changes: 12 additions & 4 deletions src/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,34 @@ import {
ModalOverlay,
ModalContent,
ModalCloseButton,
type ModalProps,
type ModalContentProps,
} from "@chakra-ui/react"

export interface IPropsOverlay {
isActive: boolean
}

export interface IProps {
export interface IProps extends ModalContentProps, Pick<ModalProps, "size"> {
children?: React.ReactNode
isOpen: boolean
setIsOpen: (isOpen: boolean) => void
}

const Modal: React.FC<IProps> = ({ children, isOpen, setIsOpen, ...props }) => {
const Modal: React.FC<IProps> = ({
children,
isOpen,
setIsOpen,
size,
...restProps
}) => {
return (
<ChakraModal
isOpen={isOpen}
onClose={() => setIsOpen(false)}
isCentered
size="xl"
size={size ?? "xl"}
scrollBehavior="inside"
{...props}
>
<ModalOverlay bgColor="blackAlpha.700" />

Expand All @@ -35,6 +42,7 @@ const Modal: React.FC<IProps> = ({ children, isOpen, setIsOpen, ...props }) => {
border="1px"
borderColor="border"
borderRadius="md"
{...restProps}
>
<ModalCloseButton />
{children}
Expand Down
4 changes: 2 additions & 2 deletions src/components/TableOfContents/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export const outerListProps: ListProps = {
lineHeight: 1.6,
fontWeight: 400,
m: 0,
mt: 20,
mb: 12,
mt: 2,
mb: 2,
ps: 4,
pe: 1,
pt: 0,
Expand Down
2 changes: 1 addition & 1 deletion src/content/community/language-resources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ If you are bilingual and want to help us reach more people, you can also get inv
- [Gwei.cz](https://gwei.cz) - local community around Web3, creates educational content, organises online and in-person events
- [Gwei.cz Příručka](https://prirucka.gwei.cz/) - Ethereum guide for beginners
- [DAO Příručka](https://dao.gwei.cz/) - beginner's guide to the DAOs
- [Mastering Ethereum](https://ipfs.infura-ipfs.io/ipfs/bafybeidvuxhnsgfx3tncpfxheqglkjwmdxclknlgd7s7qggd2a6bzgb27m) - Mastering Ethereum in Czech
- [Mastering Ethereum](https://ipfs.io/ipfs/bafybeidvuxhnsgfx3tncpfxheqglkjwmdxclknlgd7s7qggd2a6bzgb27m) - Mastering Ethereum in Czech

### French {#fr}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Below is a breakdown of the website pages each content bucket contains.
- [Improving user experience](/roadmap/user-experience/)
- [Future-proofing Ethereum](/roadmap/future-proofing/)
- [Danksharding](/roadmap/danksharding/)
- [Single slot finality](roadmap/single-slot-finality/)
- [Single slot finality](/roadmap/single-slot-finality/)
- [Proposer-builder separation](/roadmap/pbs/)
- [Secret leader election](/roadmap/secret-leader-election/)
- [Account abstraction](/roadmap/account-abstraction/)
Expand Down
Loading

0 comments on commit 46201e9

Please sign in to comment.