Skip to content

Commit 8e3ddf6

Browse files
authored
Merge pull request #10162 from ethereum/dev
Deploy v7.11.4
2 parents d10f7b1 + 5e5b2fb commit 8e3ddf6

File tree

31 files changed

+446
-190
lines changed

31 files changed

+446
-190
lines changed

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.3",
3+
"version": "7.11.4",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "git@github.com:ethereum/ethereum-org-website.git",

src/assets/roadmap/roadmap-future.png

290 KB
Loading

src/assets/roadmap/roadmap-main.png

432 KB
Loading
284 KB
Loading
307 KB
Loading

src/assets/roadmap/roadmap-ux.png

265 KB
Loading

src/components/Button/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ export interface IProps extends ButtonProps {
88
}
99

1010
const Button: React.FC<IProps> = ({ toId, children, ...props }) => {
11-
const handleOnClick = () => {
12-
if (!toId) {
13-
return
11+
const handleOnClick = (e: React.MouseEvent<HTMLButtonElement>) => {
12+
if (toId) {
13+
scrollIntoView(toId)
1414
}
1515

16-
scrollIntoView(toId)
16+
props.onClick?.(e)
1717
}
1818

1919
return (
20-
<ChakraButton onClick={handleOnClick} {...props}>
20+
<ChakraButton {...props} onClick={handleOnClick}>
2121
{children}
2222
</ChakraButton>
2323
)

src/components/EnvWarningBanner.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from "react"
2+
import { FlexProps } from "@chakra-ui/react"
3+
import InfoBanner from "./InfoBanner"
4+
import Translation from "./Translation"
5+
6+
const EnvWarningBanner: React.FC<FlexProps> = ({ ...flexProps }) => (
7+
<InfoBanner isWarning {...flexProps}>
8+
<Translation id="page-tutorials-env-banner" />
9+
</InfoBanner>
10+
)
11+
12+
export default EnvWarningBanner

src/components/InfoBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const InfoBanner: React.FC<IProps> = ({
2929
borderRadius={"sm"}
3030
maxW={shouldCenter ? "55rem" : "100%"}
3131
sx={{
32-
"*": {
32+
":not(button)": {
3333
color: "black300 !important",
3434
},
3535
}}

src/components/Roadmap/RoadmapActionCard.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const RoadmapActionCard: React.FC<IProps> = ({
3434
}) => {
3535
const data = useStaticQuery(graphql`
3636
query RoadmapActionCard {
37-
futureProofing: file(relativePath: { eq: "upgrades/core.png" }) {
37+
futureProofing: file(relativePath: { eq: "roadmap/roadmap-future.png" }) {
3838
childImageSharp {
3939
gatsbyImageData(
4040
width: 400
@@ -45,7 +45,7 @@ const RoadmapActionCard: React.FC<IProps> = ({
4545
)
4646
}
4747
}
48-
scaling: file(relativePath: { eq: "eth.png" }) {
48+
scaling: file(relativePath: { eq: "roadmap/roadmap-transactions.png" }) {
4949
childImageSharp {
5050
gatsbyImageData(
5151
height: 260
@@ -55,7 +55,7 @@ const RoadmapActionCard: React.FC<IProps> = ({
5555
)
5656
}
5757
}
58-
security: file(relativePath: { eq: "hackathon_transparent.png" }) {
58+
security: file(relativePath: { eq: "roadmap/roadmap-security.png" }) {
5959
childImageSharp {
6060
gatsbyImageData(
6161
width: 380
@@ -66,7 +66,7 @@ const RoadmapActionCard: React.FC<IProps> = ({
6666
)
6767
}
6868
}
69-
userExperience: file(relativePath: { eq: "enterprise-eth.png" }) {
69+
userExperience: file(relativePath: { eq: "roadmap/roadmap-ux.png" }) {
7070
childImageSharp {
7171
gatsbyImageData(
7272
width: 380

0 commit comments

Comments
 (0)