Skip to content

Commit d0afa41

Browse files
authored
Merge pull request #10088 from ethereum/dev
Deploy v7.11.1 and v7.11.2
2 parents 4cd043d + 99a84eb commit d0afa41

File tree

45 files changed

+436
-1081
lines changed

Some content is hidden

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

45 files changed

+436
-1081
lines changed

docs/deploy-and-review-process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This documentation outlines our current processes for how we deploy the latest c
44

55
## Deploy process
66

7-
Anything merged into the `dev` branch of [ethereum.org](http://ethereum.org) will go live on ethereum.org at the next release. Currently, we deploy the latest changes to [ethereum.org](http://ethereum.org) twice per week (Monday and Thursday). When deploying, we merge the `dev` branch into the `master` branch. The `master` branch is the latest live version of [ethereum.org](https://ethereum.org).
7+
Anything merged into the `dev` branch of [ethereum.org](http://ethereum.org) will go live on ethereum.org at the next release. Currently, we deploy the latest changes to [ethereum.org](http://ethereum.org) twice per week (Tuesday and Thursday). When deploying, we merge the `dev` branch into the `master` branch. The `master` branch is the latest live version of [ethereum.org](https://ethereum.org).
88

99
Occasionally, we’ll also do a patch deploy to fix an urgent or widespread issue.
1010

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "7.11.0",
3+
"version": "7.11.2",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "git@github.com:ethereum/ethereum-org-website.git",

redirects.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,6 @@
287287
"fromPath": "/*/eth2/deposit-contract/",
288288
"toPath": "/:splat/staking/deposit-contract/"
289289
},
290-
{
291-
"fromPath": "/*/eth2/get-involved/medalla-data-challenge",
292-
"toPath": "/:splat/community/grants/medalla-data-challenge/"
293-
},
294-
{
295-
"fromPath": "/*/eth2/get-involved/staking-community-grants",
296-
"toPath": "/:splat/community/grants/staking-community-grants/"
297-
},
298290
{
299291
"fromPath": "/*/eth2",
300292
"toPath": "/:splat/upgrades/"
@@ -342,5 +334,9 @@
342334
{
343335
"fromPath": "/*/staking/withdraws",
344336
"toPath": "/:splat/staking/withdrawals/"
337+
},
338+
{
339+
"fromPath": "/*/writing-cohort",
340+
"toPath": "https://ethereumwriterscohort.carrd.co/"
345341
}
346342
]
-3.66 KB
Loading
Loading
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import React from "react"
2+
import { Text } from "@chakra-ui/react"
3+
4+
import DismissableBanner from "../DismissableBanner"
5+
import Link from "../../Link"
6+
7+
interface IProps {
8+
pathname: string
9+
}
10+
11+
const WritersCohortBanner = ({ pathname }) => {
12+
if (pathname.includes("contributing") || pathname.includes("community")) {
13+
return (
14+
<DismissableBanner storageKey="writersCohort">
15+
<Text m={0}>
16+
Join the first-ever ethereum.org Writers Cohort, starting May 11th.{" "}
17+
<Link to="https://ethereumwriterscohort.carrd.co/">
18+
Sign up here!
19+
</Link>
20+
</Text>
21+
</DismissableBanner>
22+
)
23+
}
24+
25+
return null
26+
}
27+
28+
export default WritersCohortBanner

src/components/Checkbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import React from "react"
22
import {
33
Checkbox as ChakraCheckbox,
4-
CheckboxIconProps,
54
CheckboxProps,
65
Icon,
6+
IconProps,
77
} from "@chakra-ui/react"
88

9-
const CustomIcon = (props: CheckboxIconProps) => {
9+
const CustomIcon = (props: IconProps) => {
1010
return (
1111
<Icon
1212
viewBox="0 0 24 24"

src/components/Link.tsx

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,15 @@ const Link: React.FC<IProps> = ({
133133
}}
134134
{...commonProps}
135135
>
136-
{children}
137-
<VisuallyHidden>(opens in a new tab)</VisuallyHidden>
138-
{!hideArrow && (
139-
<Box as="span" ml={0.5} mr={1.5} aria-hidden>
140-
141-
</Box>
142-
)}
136+
<>
137+
{children}
138+
<VisuallyHidden>(opens in a new tab)</VisuallyHidden>
139+
{!hideArrow && (
140+
<Box as="span" ml={0.5} mr={1.5} aria-hidden>
141+
142+
</Box>
143+
)}
144+
</>
143145
</ChakraLink>
144146
)
145147
}
@@ -155,19 +157,21 @@ const Link: React.FC<IProps> = ({
155157
whiteSpace={isGlossary ? "nowrap" : "normal"}
156158
{...commonProps}
157159
>
158-
{children}
159-
{isGlossary && (
160-
<Icon
161-
as={BsQuestionSquareFill}
162-
aria-label="See definition"
163-
fontSize="12px"
164-
margin="0 0.25rem 0 0.35rem"
165-
_hover={{
166-
transition: "transform 0.1s",
167-
transform: "scale(1.2)",
168-
}}
169-
/>
170-
)}
160+
<>
161+
{children}
162+
{isGlossary && (
163+
<Icon
164+
as={BsQuestionSquareFill}
165+
aria-label="See definition"
166+
fontSize="12px"
167+
margin="0 0.25rem 0 0.35rem"
168+
_hover={{
169+
transition: "transform 0.1s",
170+
transform: "scale(1.2)",
171+
}}
172+
/>
173+
)}
174+
</>
171175
</ChakraLink>
172176
)
173177
}

src/components/Staking/StakingProductsCardGrid.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import {
3535
KilnGlyphIcon,
3636
LidoGlyphIcon,
3737
RocketPoolGlyphIcon,
38+
SenseiNodeGlyphIcon,
3839
StafiGlyphIcon,
3940
StakefishGlyphIcon,
4041
StakewiseGlyphIcon,
@@ -77,6 +78,7 @@ const getIconFromName = (
7778
kiln: KilnGlyphIcon,
7879
lido: LidoGlyphIcon,
7980
rocketPool: RocketPoolGlyphIcon,
81+
senseiNode: SenseiNodeGlyphIcon,
8082
stafi: StafiGlyphIcon,
8183
stakewise: StakewiseGlyphIcon,
8284
stereum: StereumGlyphIcon,
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from "react"
2+
import { createIcon } from "@chakra-ui/react"
3+
import { commonIconDefaultProps } from "../utils"
4+
5+
export const SenseiNodeGlyphIcon = createIcon({
6+
displayName: "SenseiNodeGlyphIcon",
7+
viewBox: "0 0 23 32",
8+
defaultProps: {
9+
width: "32px",
10+
height: "32px",
11+
...commonIconDefaultProps,
12+
},
13+
path: [
14+
<path d="M22.7664 21.7955C19.6836 18.1969 14.4691 11.8451 11.3965 8.23824C11.1442 7.94022 10.9343 7.9236 10.633 8.17827C10.034 8.70883 9.43684 9.22368 8.81471 9.74686C8.28873 10.1981 8.28504 10.2866 8.73154 10.8052L17.5417 21.3387C17.9319 21.7917 17.9282 21.8803 17.4891 22.2614C15.7907 23.7193 14.0895 25.1762 12.3856 26.6322C11.9733 26.9885 11.8134 26.9683 11.451 26.54C10.229 25.0969 9.0116 23.651 7.78311 22.2098C6.52225 20.7297 5.2537 19.2534 3.97744 17.7807L2.16935 15.6817C2.13151 15.6381 2.08127 15.6071 2.0253 15.5928C1.96934 15.5785 1.91032 15.5816 1.85616 15.6016C1.80201 15.6217 1.75527 15.6578 1.7222 15.705C1.68913 15.7523 1.67131 15.8086 1.67111 15.8662L1.60548 20.4798C1.60487 20.5475 1.62921 20.6132 1.67388 20.6642L1.75338 20.7566V20.7667C4.86299 24.3651 7.89126 27.9637 11.0092 31.5621C11.4492 32.0613 11.5731 32.0733 12.0778 31.6461C15.6145 28.632 19.1579 25.6234 22.7082 22.6204C23.0215 22.3407 23.0419 22.1174 22.7664 21.7955Z" />,
15+
<path d="M11.4197 23.3298C11.684 23.6499 11.9272 23.6472 12.2248 23.3926C12.8247 22.8527 13.4607 22.3305 14.0588 21.7796C14.4867 21.43 14.4961 21.2721 14.1318 20.8468L5.38807 10.6418C5.02943 10.2109 5.03775 10.0309 5.4648 9.66464C7.12869 8.23752 8.79504 6.81101 10.4639 5.38515C10.9584 4.96808 11.0859 4.98101 11.4982 5.46635L17.6139 12.6634C17.908 13.0103 18.2021 13.3567 18.4968 13.7024C18.5073 13.7362 18.5247 13.7676 18.5475 13.7946L20.6404 16.2148C20.678 16.2585 20.7283 16.2897 20.7842 16.3042C20.8402 16.3185 20.8992 16.3155 20.9534 16.2954C21.0075 16.2753 21.0543 16.2391 21.0872 16.1917C21.1202 16.1443 21.1378 16.088 21.1377 16.0303L21.2034 11.4168C21.2035 11.3491 21.1793 11.2836 21.1348 11.2323L20.7651 10.7986C20.7572 10.7899 20.7485 10.7819 20.7393 10.7746C17.7183 7.25269 14.9092 3.87101 11.8578 0.348136C11.4594 -0.113213 11.4446 -0.095683 10.9972 0.280779C7.45253 3.28139 3.90909 6.28323 0.366855 9.28632C-0.0953342 9.684 -0.114746 9.78827 0.274417 10.2431C2.39618 12.7455 4.51915 15.2461 6.64339 17.7447C7.55205 18.8169 10.4944 22.2484 11.4197 23.3298Z" />,
16+
],
17+
})

0 commit comments

Comments
 (0)