Skip to content

Commit 3d0ffe6

Browse files
committed
cleanup
1 parent 2d40136 commit 3d0ffe6

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

src/intl/en/page-layer-2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"page-layer-2-meta-description": "Learn about Ethereum layer 2 networks",
1515
"page-layer-2-powered-by-ethereum-title": "Powered by Ethereum",
1616
"page-layer-2-powered-by-ethereum-description-1": "Ethereum is no longer just a single network.",
17-
"page-layer-2-powered-by-ethereum-description-2": "Withhundreds of blockchains now built on top of it, Ethereum hasbecome more cost-effective, faster, and accessible for everyday use.",
17+
"page-layer-2-powered-by-ethereum-description-2": "With hundreds of blockchains now built on top of it, Ethereum has become more cost-effective, faster, and accessible for everyday use.",
1818
"page-layer-2-powered-by-ethereum-description-3": "Embrace the future by joining one of the many networks powered by Ethereum!",
1919
"page-layer-2-man-and-dog-alt": "Man and dog playing",
2020
"page-layer-2-blockchain-transaction-cost": "Average transaction cost on the Ethereum blockchain",

src/pages/[locale]/layer-2/index.tsx

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ const Layer2Hub = ({
119119
? { error: growThePieData.txCostsMedianUsd.error }
120120
: growThePieData.txCostsMedianUsd.value
121121

122-
// TODO: setup translation
123122
const heroContent: HubHeroProps = {
124123
title: t("page-layer-2-hero-title"),
125124
header: t("page-layer-2-hero-header"),
@@ -147,7 +146,6 @@ const Layer2Hub = ({
147146
],
148147
}
149148

150-
// TODO: Setup for translation
151149
const calloutCards = [
152150
{
153151
title: t("page-layer-2-calloutCard-1-title"),
@@ -168,8 +166,6 @@ const Layer2Hub = ({
168166

169167
return (
170168
<MainArticle className="relative flex flex-col">
171-
{/* TODO: Clarify title and description here */}
172-
{/* TODO: Setup for translation */}
173169
<PageMetadata
174170
title={t("page-layer-2-meta-title")}
175171
description={t("page-layer-2-meta-description")}
@@ -178,7 +174,6 @@ const Layer2Hub = ({
178174

179175
<HubHero {...heroContent} />
180176

181-
{/* TODO: Setup for translation */}
182177
<div
183178
id="layer-2-powered-by-ethereum"
184179
className="flex w-full flex-col gap-8 px-8 py-9"
@@ -208,7 +203,6 @@ const Layer2Hub = ({
208203
</div>
209204
</div>
210205

211-
{/* TODO: Setup for translation */}
212206
<div id="layer-2-stats-box" className="w-full px-8 py-9">
213207
<div className="m-auto max-w-[992px] py-9">
214208
<div className="flex flex-col gap-8 border border-body-light p-8 md:flex-row md:gap-14">
@@ -243,17 +237,8 @@ const Layer2Hub = ({
243237
</div>
244238
</div>
245239
</div>
246-
{/* TODO: Commented out for now, remove before release if we don't ship with it. */}
247-
{/* <div className="relative m-auto -mt-4 h-44 w-44 -rotate-12 rounded-full bg-primary sm:absolute sm:right-10 sm:-mt-28 md:-mt-80 xl:right-52">
248-
<div className="flex h-full w-full flex-col items-center justify-center">
249-
<p className="text-background">over</p>
250-
<p className="text-5xl text-background">100x</p>
251-
<p className="text-background">cheaper</p>
252-
</div>
253-
</div> */}
254240
</div>
255241

256-
{/* TODO: Setup for translation */}
257242
<div id="layer-2-the-network-of-networks" className="w-full py-9 sm:px-8">
258243
<div className="flex flex-col gap-8 overflow-hidden bg-[#B9B9F1] bg-opacity-20 px-4 py-10 text-center">
259244
<h2>{t("page-layer-2-network-of-networks-title")}</h2>
@@ -391,7 +376,6 @@ const Layer2Hub = ({
391376
</div>
392377
</div>
393378

394-
{/* TODO: Setup for translation */}
395379
<div id="layer-2-ready-to-start" className="w-full px-8 py-9">
396380
<div className="flex flex-col items-center gap-8">
397381
<h2>{t("page-layer-2-ready-to-start-title")}</h2>
@@ -411,7 +395,6 @@ const Layer2Hub = ({
411395
</div>
412396
</div>
413397

414-
{/* TODO: Setup for translation */}
415398
<div id="layer-2-cta" className="w-full px-8 py-9">
416399
<div className="mx-auto flex max-w-[640px] flex-col gap-6 rounded bg-main-gradient p-8">
417400
<div className="flex flex-col gap-6">
@@ -476,7 +459,6 @@ const Layer2Hub = ({
476459
</div>
477460
</div>
478461

479-
{/* TODO: Setup for translation */}
480462
<div
481463
id="layer-2-why-do-we-need-multiple-networks"
482464
className="w-full px-8 py-9"
@@ -504,7 +486,6 @@ const Layer2Hub = ({
504486
</div>
505487
</div>
506488

507-
{/* TODO: Setup for translation */}
508489
<div
509490
id="layer-2-faq"
510491
className="flex w-full max-w-[832px] flex-col gap-12 px-8 py-9"
@@ -564,7 +545,6 @@ const Layer2Hub = ({
564545
</div>
565546
</div>
566547

567-
{/* TODO: Setup for translation */}
568548
<div
569549
id="layer-2-callout-cards"
570550
className="flex w-full flex-col px-8 py-8 md:flex-row"

0 commit comments

Comments
 (0)