From 53e0c1c6305af5508c31fa8fb8192049e582f0eb Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Thu, 18 Aug 2022 15:04:53 -0600 Subject: [PATCH 1/3] create PostMergeBanner component --- src/components/Banners/PostMergeBanner.tsx | 30 +++++++++++++++++++ .../{ => Banners}/PreMergeBanner.tsx | 6 ++-- src/intl/en/page-upgrades.json | 3 +- src/pages/developers/index.tsx | 2 +- src/pages/index.tsx | 2 +- src/templates/docs.tsx | 5 +++- src/templates/tutorial.tsx | 5 +++- src/templates/use-cases.tsx | 2 +- 8 files changed, 46 insertions(+), 9 deletions(-) create mode 100644 src/components/Banners/PostMergeBanner.tsx rename src/components/{ => Banners}/PreMergeBanner.tsx (88%) diff --git a/src/components/Banners/PostMergeBanner.tsx b/src/components/Banners/PostMergeBanner.tsx new file mode 100644 index 00000000000..75c18282d07 --- /dev/null +++ b/src/components/Banners/PostMergeBanner.tsx @@ -0,0 +1,30 @@ +import React from "react" +import styled from "styled-components" +import BannerNotification from "../BannerNotification" +import Link from "../Link" +import Translation from "../Translation" + +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; +` + +const PostMergeBanner: React.FC = () => ( + +

+ +

+
+) + +export default PostMergeBanner diff --git a/src/components/PreMergeBanner.tsx b/src/components/Banners/PreMergeBanner.tsx similarity index 88% rename from src/components/PreMergeBanner.tsx rename to src/components/Banners/PreMergeBanner.tsx index 41afc6b0021..161465f7533 100644 --- a/src/components/PreMergeBanner.tsx +++ b/src/components/Banners/PreMergeBanner.tsx @@ -1,8 +1,8 @@ import React from "react" import styled from "styled-components" -import BannerNotification from "./BannerNotification" -import Link from "./Link" -import Translation from "./Translation" +import BannerNotification from "../BannerNotification" +import Link from "../Link" +import Translation from "../Translation" const StyledBannerNotification = styled(BannerNotification)` display: flex; diff --git a/src/intl/en/page-upgrades.json b/src/intl/en/page-upgrades.json index eb1036db228..ed36d0d3328 100644 --- a/src/intl/en/page-upgrades.json +++ b/src/intl/en/page-upgrades.json @@ -6,5 +6,6 @@ "page-upgrades-shards-date": "~2023", "page-upgrades-merge-banner-intro": "The Merge is approaching, and comes with changes to Ethereum.", "page-upgrades-merge-banner-content-outdated": "Some content on this page is out-of-date related to these changes. Updates are coming soon.", - "page-upgrades-merge-banner-developers-landing": "Some docs have a banner indicating they are out-of-date. Updates coming soon." + "page-upgrades-merge-banner-developers-landing": "Some docs have a banner indicating they are out-of-date. Updates coming soon.", + "page-upgrades-post-merge-banner": "This page has outdated content because of the Merge. If you notice any outdated content, please open a PR to update it." } diff --git a/src/pages/developers/index.tsx b/src/pages/developers/index.tsx index bee7e2e3248..1daeac1f18d 100644 --- a/src/pages/developers/index.tsx +++ b/src/pages/developers/index.tsx @@ -9,7 +9,7 @@ import Card from "../../components/Card" import Callout from "../../components/Callout" import Link from "../../components/Link" import Translation from "../../components/Translation" -import PreMergeBanner from "../../components/PreMergeBanner" +import PreMergeBanner from "../../components/Banners/PreMergeBanner" import ButtonLink from "../../components/ButtonLink" import PageMetadata from "../../components/PageMetadata" import { diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 2dcecb09e4e..1cd761a5f09 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -24,7 +24,7 @@ import { LeftColumn, } from "../components/SharedStyledComponents" import { translateMessageId, isLangRightToLeft } from "../utils/translations" -import PreMergeBanner from "../components/PreMergeBanner" +import PreMergeBanner from "../components/Banners/PreMergeBanner" const Hero = styled(GatsbyImage)` width: 100%; diff --git a/src/templates/docs.tsx b/src/templates/docs.tsx index ca1b483e7ce..9de47a3f43a 100644 --- a/src/templates/docs.tsx +++ b/src/templates/docs.tsx @@ -33,7 +33,8 @@ import { Header4, ListItem, } from "../components/SharedStyledComponents" -import PreMergeBanner from "../components/PreMergeBanner" +import PreMergeBanner from "../components/Banners/PreMergeBanner" +import PostMergeBanner from "../components/Banners/PostMergeBanner" import { ZenModeContext } from "../contexts/ZenModeContext.js" import { isLangRightToLeft } from "../utils/translations" @@ -188,6 +189,7 @@ const DocsPage = ({ const absoluteEditPath = `${editContentUrl}${relativePath}` const isDevelopersHome = relativePath.endsWith("/developers/docs/index.md") const showMergeBanner = !!mdx.frontmatter.preMergeBanner || isDevelopersHome + const showPostMergeBanner = !!mdx.frontmatter.postMergeBanner return ( @@ -207,6 +209,7 @@ const DocsPage = ({ )} )} + {showPostMergeBanner && }

{mdx.frontmatter.title}

diff --git a/src/templates/tutorial.tsx b/src/templates/tutorial.tsx index 0c4cb8a4724..ac11e3e0cf1 100644 --- a/src/templates/tutorial.tsx +++ b/src/templates/tutorial.tsx @@ -29,7 +29,8 @@ import { } from "../components/SharedStyledComponents" import Emoji from "../components/Emoji" import YouTube from "../components/YouTube" -import PreMergeBanner from "../components/PreMergeBanner" +import PreMergeBanner from "../components/Banners/PreMergeBanner" +import PostMergeBanner from "../components/Banners/PostMergeBanner" import FeedbackCard from "../components/FeedbackCard" import { isLangRightToLeft } from "../utils/translations" @@ -162,6 +163,7 @@ const TutorialPage = ({ const isRightToLeft = isLangRightToLeft(mdx.frontmatter.lang as Lang) const showMergeBanner = !!mdx.frontmatter.preMergeBanner + const showPostMergeBanner = !!mdx.frontmatter.postMergeBanner const tocItems = mdx.tableOfContents?.items @@ -170,6 +172,7 @@ const TutorialPage = ({ return (
{showMergeBanner && } + {showPostMergeBanner && } Date: Fri, 19 Aug 2022 12:18:03 -0600 Subject: [PATCH 2/3] Remove premerge banner --- src/components/Banners/PreMergeBanner.tsx | 46 ------------------- src/content/developers/docs/blocks/index.md | 1 - .../pow/mining-algorithms/index.md | 3 +- src/content/developers/docs/dapps/index.md | 1 - .../block-explorers/index.md | 1 - .../docs/development-networks/index.md | 1 - src/content/developers/docs/gas/index.md | 1 - .../developers/docs/intro-to-ether/index.md | 1 - .../docs/intro-to-ethereum/index.md | 2 - src/content/developers/docs/mev/index.md | 1 - .../developers/docs/networking-layer/index.md | 1 - src/content/developers/docs/networks/index.md | 2 - .../client-diversity/index.md | 1 - .../docs/nodes-and-clients/index.md | 1 - .../nodes-as-a-service/index.md | 16 +++---- .../nodes-and-clients/run-a-node/index.md | 1 - .../developers/docs/transactions/index.md | 1 - .../tutorials/run-light-node-geth/index.md | 1 - .../tutorials/run-node-raspberry-pi/index.md | 1 - src/content/nft/index.md | 1 - src/pages/developers/index.tsx | 4 -- src/pages/developers/tutorials.tsx | 1 - src/pages/index.tsx | 2 - src/schema/sdls/Frontmatter.ts | 1 - src/templates/docs.tsx | 10 ---- src/templates/tutorial.tsx | 4 -- src/templates/use-cases.tsx | 25 ++++------ 27 files changed, 16 insertions(+), 115 deletions(-) delete mode 100644 src/components/Banners/PreMergeBanner.tsx diff --git a/src/components/Banners/PreMergeBanner.tsx b/src/components/Banners/PreMergeBanner.tsx deleted file mode 100644 index 161465f7533..00000000000 --- a/src/components/Banners/PreMergeBanner.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import React from "react" -import styled from "styled-components" -import BannerNotification from "../BannerNotification" -import Link from "../Link" -import Translation from "../Translation" - -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; -` - -export interface IProps { - announcementOnly?: boolean - className?: string -} - -const PreMergeBanner: React.FC = ({ - announcementOnly = false, - className, - children, -}) => ( - -

- {" "} - {!announcementOnly && ( - - )}{" "} - {children}{" "} - - - -

-
-) - -export default PreMergeBanner diff --git a/src/content/developers/docs/blocks/index.md b/src/content/developers/docs/blocks/index.md index 473138a3eed..707b1f30cff 100644 --- a/src/content/developers/docs/blocks/index.md +++ b/src/content/developers/docs/blocks/index.md @@ -3,7 +3,6 @@ title: Blocks description: An overview of blocks in the Ethereum blockchain – their data structure, why they're needed, and how they're made. lang: en sidebar: true -preMergeBanner: true --- Blocks are batches of transactions with a hash of the previous block in the chain. This links blocks together (in a chain) because hashes are cryptographically derived from the block data. This prevents fraud, because one change in any block in history would invalidate all the following blocks as all subsequent hashes would change and everyone running the blockchain would notice. diff --git a/src/content/developers/docs/consensus-mechanisms/pow/mining-algorithms/index.md b/src/content/developers/docs/consensus-mechanisms/pow/mining-algorithms/index.md index b5dbd3016da..a14096d619d 100644 --- a/src/content/developers/docs/consensus-mechanisms/pow/mining-algorithms/index.md +++ b/src/content/developers/docs/consensus-mechanisms/pow/mining-algorithms/index.md @@ -3,13 +3,12 @@ title: Mining algorithms description: A detailed look at the algorithms used for Ethereum mining. lang: en sidebar: true -preMergeBanner: true --- Proof-of-work is no longer underlying Ethereum's consensus mechanism, meaning mining has been switched off. Instead, Ethereum is secured by validators who stake ETH. You can start staking your ETH today. Read more on [The Merge](/upgrades/merge/), [proof-of-stake](/developers/docs/consensus-mechanisms/pos/), and [staking](/staking/). This page is for historical interest only. - + diff --git a/src/content/developers/docs/dapps/index.md b/src/content/developers/docs/dapps/index.md index 5275cdc09e4..d33e5b29331 100644 --- a/src/content/developers/docs/dapps/index.md +++ b/src/content/developers/docs/dapps/index.md @@ -3,7 +3,6 @@ title: Introduction to dapps description: lang: en sidebar: true -preMergeBanner: true --- A decentralized application (dapp) is an application built on a decentralized network that combines a [smart contract](/developers/docs/smart-contracts/) and a frontend user interface. On Ethereum, smart contracts are accessible and transparent – like open APIs – so your dapp can even include a smart contract that someone else has written. diff --git a/src/content/developers/docs/data-and-analytics/block-explorers/index.md b/src/content/developers/docs/data-and-analytics/block-explorers/index.md index 20149a2568b..2506f4dd60c 100644 --- a/src/content/developers/docs/data-and-analytics/block-explorers/index.md +++ b/src/content/developers/docs/data-and-analytics/block-explorers/index.md @@ -4,7 +4,6 @@ description: An introduction to block explorers, your portal into the world of b lang: en sidebar: true sidebarDepth: 3 -preMergeBanner: true --- Block explorers are your portal to Ethereum's data. You can use them to see real-time data on blocks, transactions, miners, accounts, and other on-chain activity. diff --git a/src/content/developers/docs/development-networks/index.md b/src/content/developers/docs/development-networks/index.md index 8c9b0796255..17e4890c3c9 100644 --- a/src/content/developers/docs/development-networks/index.md +++ b/src/content/developers/docs/development-networks/index.md @@ -3,7 +3,6 @@ title: Development Networks description: An overview of development networks and the tools available to help build Ethereum applications. lang: en sidebar: true -preMergeBanner: true --- When building an Ethereum application with smart contracts, you'll want to run it on a local network to see how it works before deploying it. diff --git a/src/content/developers/docs/gas/index.md b/src/content/developers/docs/gas/index.md index 29d5e01ca70..b069851c3fd 100644 --- a/src/content/developers/docs/gas/index.md +++ b/src/content/developers/docs/gas/index.md @@ -3,7 +3,6 @@ title: Gas and fees description: lang: en sidebar: true -preMergeBanner: true --- Gas is essential to the Ethereum network. It is the fuel that allows it to operate, in the same way that a car needs gasoline to run. diff --git a/src/content/developers/docs/intro-to-ether/index.md b/src/content/developers/docs/intro-to-ether/index.md index 8b72d2eeaba..61f61f91dd5 100644 --- a/src/content/developers/docs/intro-to-ether/index.md +++ b/src/content/developers/docs/intro-to-ether/index.md @@ -3,7 +3,6 @@ title: Intro to ether description: A developer's introduction to the ether cryptocurrency. lang: en sidebar: true -preMergeBanner: true --- ## Prerequisites {#prerequisites} diff --git a/src/content/developers/docs/intro-to-ethereum/index.md b/src/content/developers/docs/intro-to-ethereum/index.md index 2f54854b5c6..08141eabdb4 100644 --- a/src/content/developers/docs/intro-to-ethereum/index.md +++ b/src/content/developers/docs/intro-to-ethereum/index.md @@ -3,7 +3,6 @@ title: Intro to Ethereum description: A dapp developer's introduction to the core concepts of Ethereum. lang: en sidebar: true -preMergeBanner: true --- ## What is a blockchain? {#what-is-a-blockchain} @@ -18,7 +17,6 @@ Every computer in the network must agree upon each new block and the chain as a Ethereum uses a [proof-of-stake-based consensus mechanism](/developers/docs/consensus-mechanisms/pos/). Anyone who wants to add new blocks to the chain must stake at least 32 ETH into the deposit contract and run validator software. They then can be randomly selected to propose blocks that other validators check and add to the blockchain. In this model, there is usually only one chain, but network latency and dishonest behavior can cause multiple blocks to exist at the same position near the head of the chain. To resolve this, a fork-choice algorithm selects one canonical set of blocks. The blocks selected are the ones that form the heaviest possible chain, where 'heavy' refers to the number of validators that have endorsed the blocks (weighted by the ETH they have staked). There is a system of rewards and penalties that strongly incentivize participants to be honest and online as much as possible. - If you want to see how blockchain hashes data and then the previous block references all the past blocks, be sure to check out [this demo](https://andersbrownworth.com/blockchain/blockchain) by Anders Brownworth and watch the accompanying video below. Watch Anders explain hashes in blockchains: diff --git a/src/content/developers/docs/mev/index.md b/src/content/developers/docs/mev/index.md index 65ea0f9f728..d1f5bc83471 100644 --- a/src/content/developers/docs/mev/index.md +++ b/src/content/developers/docs/mev/index.md @@ -3,7 +3,6 @@ title: Maximal extractable value (MEV) description: An introduction to maximal extractable value (MEV) lang: en sidebar: true -preMergeBanner: true --- Maximal extractable value (MEV) refers to the maximum value that can be extracted from block production in excess of the standard block reward and gas fees by including, excluding, and changing the order of transactions in a block. diff --git a/src/content/developers/docs/networking-layer/index.md b/src/content/developers/docs/networking-layer/index.md index fa91247c55f..04d8c6f5953 100644 --- a/src/content/developers/docs/networking-layer/index.md +++ b/src/content/developers/docs/networking-layer/index.md @@ -4,7 +4,6 @@ description: An introduction to Ethereum's networking layer. lang: en sidebar: true sidebarDepth: 2 -preMergeBanner: true --- Ethereum is a peer-to-peer network with thousands of nodes that must be able to communicate with one another using standardized protocols. The "networking layer" is the stack of protocols that allow those nodes to find each other and exchange information. This includes "gossiping" information (one-to-many communication) over the network as well as swapping requests and responses between specific nodes (one-to-one communication). Each node must adhere to specific networking rules to ensure they are sending and receiving the correct information. diff --git a/src/content/developers/docs/networks/index.md b/src/content/developers/docs/networks/index.md index a909353079e..5b9318f68f3 100644 --- a/src/content/developers/docs/networks/index.md +++ b/src/content/developers/docs/networks/index.md @@ -3,7 +3,6 @@ title: Networks description: An overview of Ethereum's networks and where to get testnet ether (ETH) for testing your application. lang: en sidebar: true -preMergeBanner: true --- Networks are different Ethereum environments you can access for development, testing, or production use cases. Since Ethereum is a protocol, there can be multiple independent "networks" that conform to the protocol without interacting with each other. @@ -62,7 +61,6 @@ Sepolia is a proof-of-stake testnet. Although Sepolia is still running, it is no - [Sepolia faucet](https://faucet.sepolia.dev/) - [FaucETH](https://fauceth.komputing.org) - #### Ropsten _(deprecated)_ {#ropsten} _Note, [the Ropsten testnet is deprecated](https://github.com/ethereum/pm/issues/460) and will no longer receive protocol upgrades. Please consider migrating your applications to Sepolia or Goerli._ diff --git a/src/content/developers/docs/nodes-and-clients/client-diversity/index.md b/src/content/developers/docs/nodes-and-clients/client-diversity/index.md index f17e541d618..b7ccfc5b45b 100644 --- a/src/content/developers/docs/nodes-and-clients/client-diversity/index.md +++ b/src/content/developers/docs/nodes-and-clients/client-diversity/index.md @@ -4,7 +4,6 @@ description: A high level explanation of the importance of Ethereum client diver lang: en sidebar: true sidebarDepth: 2 -preMergeBanner: true --- The behavior of an Ethereum node is controlled by the client software it runs. There are several production-level Ethereum clients, each one developed and maintained in different languages by separate teams. The clients are built to a common spec that ensures the clients seamlessly communicate with each other and have the same functionality and provide an equivalent user experience. However, at the moment the distribution of clients across nodes is not equal enough to realize this network fortification to its full potential. Ideally, users divide roughly equally across the various clients to bring as much client diversity as possible to the network. diff --git a/src/content/developers/docs/nodes-and-clients/index.md b/src/content/developers/docs/nodes-and-clients/index.md index 648404df3d3..098bf427238 100644 --- a/src/content/developers/docs/nodes-and-clients/index.md +++ b/src/content/developers/docs/nodes-and-clients/index.md @@ -4,7 +4,6 @@ description: An overview of Ethereum nodes and client software, plus how to set lang: en sidebar: true sidebarDepth: 2 -preMergeBanner: true --- Ethereum is a distributed network of computers (known as nodes) running software that can verify blocks and transaction data. The software application, known as a client, must be run on your computer to turn it into an Ethereum node. diff --git a/src/content/developers/docs/nodes-and-clients/nodes-as-a-service/index.md b/src/content/developers/docs/nodes-and-clients/nodes-as-a-service/index.md index 21b63b6d2f4..ca1def781fd 100644 --- a/src/content/developers/docs/nodes-and-clients/nodes-as-a-service/index.md +++ b/src/content/developers/docs/nodes-and-clients/nodes-as-a-service/index.md @@ -4,7 +4,6 @@ description: An entry-level overview of node services, the pros and cons, and po lang: en sidebar: true sidebarDepth: 2 -preMergeBanner: true --- ## Introduction {#Introduction} @@ -199,16 +198,13 @@ Here is a list of some of the most popular Ethereum node providers, feel free to - Suitable for Developers to Enterprises - [**Rivet**](https://rivet.cloud/) - [Docs](https://rivet.readthedocs.io/en/latest/) - - Features - - Free tier option - - Scale as you go --[**SenseiNode**](https://senseinode.com) + - Features - Free tier option - Scale as you go -[**SenseiNode**](https://senseinode.com) - [Docs](https://docs.senseinode.com/) - - Features - - Dedicated and Share nodes - - Dashboard - - Hosting off AWS on multiple hosting providers accross different locations in Latin America - - Prysm and Lighthouse clients + - Features + - Dedicated and Share nodes + - Dashboard + - Hosting off AWS on multiple hosting providers accross different locations in Latin America + - Prysm and Lighthouse clients - [**SettleMint**](https://console.settlemint.com/) - [Docs](https://docs.settlemint.com/) - Features diff --git a/src/content/developers/docs/nodes-and-clients/run-a-node/index.md b/src/content/developers/docs/nodes-and-clients/run-a-node/index.md index 88cd75aefbb..4cf976f829b 100644 --- a/src/content/developers/docs/nodes-and-clients/run-a-node/index.md +++ b/src/content/developers/docs/nodes-and-clients/run-a-node/index.md @@ -4,7 +4,6 @@ description: General introduction to running your own instance of an Ethereum cl lang: en sidebar: true sidebarDepth: 2 -preMergeBanner: true --- Running your own node provides you various benefits, opens new possibilities, and helps to support the ecosystem. This page will guide you through spinning up your own node and taking part in validating Ethereum transactions. diff --git a/src/content/developers/docs/transactions/index.md b/src/content/developers/docs/transactions/index.md index 99450221a1c..58ebacdd744 100644 --- a/src/content/developers/docs/transactions/index.md +++ b/src/content/developers/docs/transactions/index.md @@ -3,7 +3,6 @@ title: Transactions description: An overview of Ethereum transactions – how they work, their data structure, and how to send them via an application. lang: en sidebar: true -preMergeBanner: true --- Transactions are cryptographically signed instructions from accounts. An account will initiate a transaction to update the state of the Ethereum network. The simplest transaction is transferring ETH from one account to another. diff --git a/src/content/developers/tutorials/run-light-node-geth/index.md b/src/content/developers/tutorials/run-light-node-geth/index.md index 6f398363d8e..772eafc4ff8 100644 --- a/src/content/developers/tutorials/run-light-node-geth/index.md +++ b/src/content/developers/tutorials/run-light-node-geth/index.md @@ -7,7 +7,6 @@ skill: beginner lang: en sidebar: true published: 2022-03-04 -preMergeBanner: true --- **Please note that Geth light clients can be very slow to find peers. This is because they rely on full-node operators volunteering themselves as light servers from which the light clients can request data. There are usually only a small number of light servers available.** diff --git a/src/content/developers/tutorials/run-node-raspberry-pi/index.md b/src/content/developers/tutorials/run-node-raspberry-pi/index.md index f1c6719f176..5b2060707e8 100644 --- a/src/content/developers/tutorials/run-node-raspberry-pi/index.md +++ b/src/content/developers/tutorials/run-node-raspberry-pi/index.md @@ -9,7 +9,6 @@ skill: intermediate published: 2022-06-10 source: Ethereum on ARM sourceUrl: https://ethereum-on-arm-documentation.readthedocs.io/en/latest/kiln/kiln-testnet.html -preMergeBanner: true --- **Ethereum on Arm is a custom Linux image that can turn a Raspberry Pi into an Ethereum node.** diff --git a/src/content/nft/index.md b/src/content/nft/index.md index e311a1dc430..0ea49c711e8 100644 --- a/src/content/nft/index.md +++ b/src/content/nft/index.md @@ -11,7 +11,6 @@ alt: An Eth logo being displayed via hologram. summaryPoint1: A way to represent anything unique as an Ethereum-based asset. summaryPoint2: NFTs are giving more power to content creators than ever before. summaryPoint3: Powered by smart contracts on the Ethereum blockchain. -preMergeBanner: true --- NFTs are currently taking the digital art and collectibles world by storm. Digital artists are seeing their lives change thanks to huge sales to a new crypto-audience. And celebrities are joining in as they spot a new opportunity to connect with fans. But digital art is only one way to use NFTs. Really they can be used to represent ownership of any unique asset, like a deed for an item in the digital or physical realm. diff --git a/src/pages/developers/index.tsx b/src/pages/developers/index.tsx index 1daeac1f18d..ae96742c333 100644 --- a/src/pages/developers/index.tsx +++ b/src/pages/developers/index.tsx @@ -9,7 +9,6 @@ import Card from "../../components/Card" import Callout from "../../components/Callout" import Link from "../../components/Link" import Translation from "../../components/Translation" -import PreMergeBanner from "../../components/Banners/PreMergeBanner" import ButtonLink from "../../components/ButtonLink" import PageMetadata from "../../components/PageMetadata" import { @@ -248,9 +247,6 @@ const DevelopersPage = ({ title={translateMessageId("page-developer-meta-title", intl)} description={translateMessageId("page-developers-meta-desc", intl)} /> - - - diff --git a/src/pages/developers/tutorials.tsx b/src/pages/developers/tutorials.tsx index 9c2f210dcbe..c43310168ec 100644 --- a/src/pages/developers/tutorials.tsx +++ b/src/pages/developers/tutorials.tsx @@ -562,7 +562,6 @@ export const query = graphql` skill published lang - preMergeBanner } } } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1cd761a5f09..4add5e8aba1 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -24,7 +24,6 @@ import { LeftColumn, } from "../components/SharedStyledComponents" import { translateMessageId, isLangRightToLeft } from "../utils/translations" -import PreMergeBanner from "../components/Banners/PreMergeBanner" const Hero = styled(GatsbyImage)` width: 100%; @@ -705,7 +704,6 @@ contract SimpleDomainRegistry { title={translateMessageId("page-index-meta-title", intl)} description={translateMessageId("page-index-meta-description", intl)} /> -