Skip to content

Commit 053ab8f

Browse files
authored
Merge pull request #1422 from scroll-tech/copy-update
chore: update text content in hero
2 parents 2689eec + 68fb862 commit 053ab8f

File tree

3 files changed

+12
-30
lines changed

3 files changed

+12
-30
lines changed

src/app/_components/BuildWithScroll/index.tsx

+11-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import Image from "next/image"
44

5-
import { Stack, SvgIcon, Typography } from "@mui/material"
5+
import { Box, Stack, SvgIcon, Typography } from "@mui/material"
66
import { Button as MuiButton } from "@mui/material"
77

88
import FeatureImage1 from "@/assets/images/home/feature-img-1.webp"
@@ -23,9 +23,10 @@ const FEATURES = [
2323
},
2424
{
2525
icon: FeatureImage2,
26-
title: "Deploy a chain",
27-
description: "Scroll SDK makes the process of launching a chain seamless. Own your blockspace, we'll take care of the rest.",
28-
href: "https://docs.scroll.io/en/sdk",
26+
title: "Explore Session 2",
27+
description:
28+
"Created to promote the sustained growth of assets and protocols on Scroll. Discover our new Marks Dashboard and join Session 2, the program designed for everyone, everywhere.",
29+
href: "/sessions",
2930
},
3031
]
3132

@@ -35,10 +36,12 @@ const Feature = () => {
3536
return FEATURES.map((feature, featureIdx) => {
3637
return (
3738
<OrientationToView key={feature.title}>
38-
<Stack key={featureIdx} direction="column" spacing="2.4rem" sx={{ maxWidth: "56rem" }}>
39-
<Image src={feature.icon} alt={feature.title} width={isMobile ? 320 : 400} height={isMobile ? 320 : 400}></Image>
40-
<Typography sx={{ fontSize: ["2rem", "2.4rem"], fontWeight: 600 }}>{feature.title}</Typography>
41-
<Typography sx={{ fontSize: ["1.6rem", "2rem"], mt: ["0.8rem !important", 0] }}>{feature.description}</Typography>
39+
<Stack key={featureIdx} justifyContent="space-between" direction="column" spacing="2.4rem" sx={{ maxWidth: "56rem", height: "100%" }}>
40+
<Box>
41+
<Image src={feature.icon} alt={feature.title} width={isMobile ? 320 : 400} height={isMobile ? 320 : 400}></Image>
42+
<Typography sx={{ fontSize: ["2rem", "2.4rem"], fontWeight: 600 }}>{feature.title}</Typography>
43+
<Typography sx={{ fontSize: ["1.6rem", "2rem"], mt: ["0.8rem !important", 0] }}>{feature.description}</Typography>
44+
</Box>
4245
<MuiButton
4346
href={feature.href}
4447
target="_blank"

src/app/_components/Header/index.tsx

+1-9
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,7 @@ const Header = () => {
7373
<OrientationToView>
7474
<Stack direction="column" alignItems="center" gap={isMobile ? "2.4rem" : "3.2rem"}>
7575
<Title data-aos="fade-up">
76-
{isMobile ? (
77-
<>
78-
Homepage of the<br></br> Multichain World
79-
</>
80-
) : (
81-
<>
82-
The Homepage of the<br></br> Multichain World
83-
</>
84-
)}
76+
We are building the<br></br> Open Economy
8577
</Title>
8678
<Typography sx={{ fontSize: ["1.8rem", "2.4rem"], lineHeight: ["2.8rem", "3.6rem"], textAlign: "center", mt: "-1.8rem" }}>
8779
Scroll is the leading zero-knowledge rollup.<br></br>Scaling Ethereum for good.{" "}

src/components/Header/constants.ts

-13
Original file line numberDiff line numberDiff line change
@@ -141,19 +141,6 @@ const mainnetNavigations = [
141141
},
142142
],
143143
},
144-
{
145-
label: "DEPLOY A CHAIN",
146-
items: [
147-
{
148-
label: "Own your blockspace",
149-
text: "Scroll SDK",
150-
key: "sdk",
151-
href: "https://docs.scroll.io/en/sdk",
152-
isExternal: true,
153-
icon: SDKSvg,
154-
},
155-
],
156-
},
157144
{
158145
label: "MORE",
159146
items: [

0 commit comments

Comments
 (0)