Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions src/app/_components/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Box, Container, Stack, Typography } from "@mui/material"
import HeroMobileSvg from "@/assets/svgs/landingpage/hero-bg-mobile.svg?url"
import HeroSvg from "@/assets/svgs/landingpage/hero-bg.svg?url"
import Button from "@/components/Button"
import { BRIDGE_URL, DOC_URL } from "@/constants/link"
import { DOC_URL, SWAP_URL } from "@/constants/link"

const ANNOUNCEMENT_HEIGHT = "0rem"

Expand Down Expand Up @@ -44,13 +44,8 @@ const LandingHero = () => {
Build now
</Button>

<Button
href={BRIDGE_URL}
target="_blank"
className="!w-[180px] sm:!w-[250px]"
gaEvent={{ event: "click_landing", label: "Bridge to Scroll" }}
>
Bridge to Scroll
<Button href={SWAP_URL} target="_blank" className="!w-[180px] sm:!w-[250px]" gaEvent={{ event: "click_landing", label: "Swap on Scroll" }}>
Swap on Scroll
</Button>
</Stack>
</Container>
Expand Down
1 change: 1 addition & 0 deletions src/constants/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const LEVEL_UP_URL = "https://www.levelup.xyz/"
const USER_PORTAL_BASE_URL = process.env.NEXT_PUBLIC_USER_PORTAL_BASE_URL

export const BRIDGE_URL = `${USER_PORTAL_BASE_URL}/bridge`
export const SWAP_URL = "https://swap.scroll.io"
export const ECOSYSTEM_URL = "/ecosystem"
export const SESSIONS_URL = `${USER_PORTAL_BASE_URL}/sessions`

Expand Down