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: 8 additions & 3 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 { DOC_URL, SWAP_URL } from "@/constants/link"
import { BRIDGE_URL, DOC_URL } from "@/constants/link"

const ANNOUNCEMENT_HEIGHT = "0rem"

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

<Button href={SWAP_URL} target="_blank" className="!w-[180px] sm:!w-[250px]" gaEvent={{ event: "click_landing", label: "Swap on Scroll" }}>
Swap on Scroll
<Button
href={BRIDGE_URL}
target="_blank"
className="!w-[180px] sm:!w-[250px]"
gaEvent={{ event: "click_landing", label: "Bridge to Scroll" }}
>
Bridge to Scroll
</Button>
</Stack>
</Container>
Expand Down
2 changes: 1 addition & 1 deletion src/app/_components/Portal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Portal = () => {
items: [
{ icon: Doc, label: "Developer Docs", content: "Everything you need to start building", href: DOC_URL },
{ icon: Levelup, label: "Level Up", content: "Learn ZK and test your dev skills", href: LEVEL_UP_URL },
{ icon: ScrollOpen, label: "Scroll open", content: "A six-week builder program with a $100,000 prize pool", href: SCROLL_OPEN_URL },
{ icon: ScrollOpen, label: "Open Economy", content: "Take the money test to see where your finances are", href: SCROLL_OPEN_URL },
],
},
{
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/announcement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Announcement = () => {
if (!isSepolia && isHome) {
return (
<>
Join Scroll Open: Build the Future of the Open Economy{" "}
Join Open Economy: Build the Future of the Open Economy{" "}
<div className="inline-block w-[5px] h-[5px] rounded-full bg-current mx-[20px] align-middle"></div>
Jan 27 - March 17
<div className="inline-block w-[5px] h-[5px] rounded-full bg-current mx-[20px] align-middle"></div>
Expand All @@ -27,7 +27,7 @@ const Announcement = () => {

const rightHref = useMemo(() => {
if (!isSepolia && isHome) {
return "https://open.scroll.io"
return "https://openeconomyos.com/"
}
return ""
}, [isSepolia, isHome])
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const sepoliaNavigations: Navigation[] = [
},
{
rootKey: "build",
label: "Scroll Open",
label: "Open Economy",
key: "scroll-open",
href: SCROLL_OPEN_URL,
},
Expand Down Expand Up @@ -79,7 +79,7 @@ const mainnetNavigations: Navigation[] = [
},
{
rootKey: "build",
label: "Scroll Open",
label: "Open Economy",
key: "scroll-open",
href: SCROLL_OPEN_URL,
},
Expand Down
3 changes: 1 addition & 2 deletions src/constants/link.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
export const DOC_URL = "https://docs.scroll.io/en/home/"
export const SCROLL_OPEN_URL = "https://open.scroll.io"
export const SCROLL_OPEN_URL = "https://openeconomyos.com/"
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
Loading