Skip to content

Commit fec0eaa

Browse files
authored
Merge pull request #1582 from scroll-tech/sepolia
feat: change hero CTA from "Bridge to Scroll" to "Swap on Scroll" (#1
2 parents 7649846 + ad2f7c2 commit fec0eaa

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

src/app/_components/Hero/index.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Box, Container, Stack, Typography } from "@mui/material"
55
import HeroMobileSvg from "@/assets/svgs/landingpage/hero-bg-mobile.svg?url"
66
import HeroSvg from "@/assets/svgs/landingpage/hero-bg.svg?url"
77
import Button from "@/components/Button"
8-
import { BRIDGE_URL, DOC_URL } from "@/constants/link"
8+
import { DOC_URL, SWAP_URL } from "@/constants/link"
99

1010
const ANNOUNCEMENT_HEIGHT = "0rem"
1111

@@ -44,13 +44,8 @@ const LandingHero = () => {
4444
Build now
4545
</Button>
4646

47-
<Button
48-
href={BRIDGE_URL}
49-
target="_blank"
50-
className="!w-[180px] sm:!w-[250px]"
51-
gaEvent={{ event: "click_landing", label: "Bridge to Scroll" }}
52-
>
53-
Bridge to Scroll
47+
<Button href={SWAP_URL} target="_blank" className="!w-[180px] sm:!w-[250px]" gaEvent={{ event: "click_landing", label: "Swap on Scroll" }}>
48+
Swap on Scroll
5449
</Button>
5550
</Stack>
5651
</Container>

src/constants/link.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export const LEVEL_UP_URL = "https://www.levelup.xyz/"
55
const USER_PORTAL_BASE_URL = process.env.NEXT_PUBLIC_USER_PORTAL_BASE_URL
66

77
export const BRIDGE_URL = `${USER_PORTAL_BASE_URL}/bridge`
8+
export const SWAP_URL = "https://swap.scroll.io"
89
export const ECOSYSTEM_URL = "/ecosystem"
910
export const SESSIONS_URL = `${USER_PORTAL_BASE_URL}/sessions`
1011

0 commit comments

Comments
 (0)