-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8982 from ethereum/dev
Deploy v6.14.1
- Loading branch information
Showing
411 changed files
with
26,005 additions
and
5,049 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ethereum-org-website", | ||
"version": "6.14.0", | ||
"version": "6.14.1", | ||
"description": "Website of ethereum.org", | ||
"main": "index.js", | ||
"repository": "[email protected]:ethereum/ethereum-org-website.git", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,30 @@ | ||
import React from "react" | ||
import styled from "@emotion/styled" | ||
import BannerNotification from "../BannerNotification" | ||
import Translation from "../Translation" | ||
|
||
import { TranslationKey } from "../../utils/translations" | ||
|
||
const StyledBannerNotification = styled(BannerNotification)` | ||
display: flex; | ||
z-index: 1; | ||
justify-content: center; | ||
p { | ||
max-width: 100ch; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
a { | ||
text-decoration: underline; | ||
} | ||
text-align: center; | ||
` | ||
import { Center, Text } from "@chakra-ui/react" | ||
|
||
export interface IProps { | ||
translationString: TranslationKey | ||
} | ||
|
||
const PostMergeBanner: React.FC<IProps> = ({ translationString }) => ( | ||
<StyledBannerNotification shouldShow={true}> | ||
<p> | ||
<Center | ||
as={BannerNotification} | ||
shouldShow={true} | ||
zIndex={1} | ||
textAlign="center" | ||
sx={{ | ||
a: { | ||
"text-decoration": "underline", | ||
}, | ||
}} | ||
> | ||
<Text maxW="100ch" m={0} p={0}> | ||
<Translation id={translationString} /> | ||
</p> | ||
</StyledBannerNotification> | ||
</Text> | ||
</Center> | ||
) | ||
|
||
export default PostMergeBanner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.