Skip to content

Commit 03e4939

Browse files
authored
feat: revert Scroll App changes and rename Scroll Open to Open Economy (#1589)
- Revert hero CTA from "Swap on Scroll" back to "Bridge to Scroll" - Rename "Scroll Open" copy to "Open Economy" across site - Update SCROLL_OPEN_URL to https://openeconomyos.com/ - Update "For builders" Open Economy card description to "Take the money test to see where your finances are" Co-authored-by: zzq0826 <12936800+zzq0826@users.noreply.github.com>
1 parent 28e43af commit 03e4939

5 files changed

Lines changed: 14 additions & 10 deletions

File tree

src/app/_components/Hero/index.tsx

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

1010
const ANNOUNCEMENT_HEIGHT = "0rem"
1111

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

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
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
4954
</Button>
5055
</Stack>
5156
</Container>

src/app/_components/Portal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const Portal = () => {
2222
items: [
2323
{ icon: Doc, label: "Developer Docs", content: "Everything you need to start building", href: DOC_URL },
2424
{ icon: Levelup, label: "Level Up", content: "Learn ZK and test your dev skills", href: LEVEL_UP_URL },
25-
{ icon: ScrollOpen, label: "Scroll open", content: "A six-week builder program with a $100,000 prize pool", href: SCROLL_OPEN_URL },
25+
{ icon: ScrollOpen, label: "Open Economy", content: "Take the money test to see where your finances are", href: SCROLL_OPEN_URL },
2626
],
2727
},
2828
{

src/components/Header/announcement.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Announcement = () => {
1515
if (!isSepolia && isHome) {
1616
return (
1717
<>
18-
Join Scroll Open: Build the Future of the Open Economy{" "}
18+
Join Open Economy: Build the Future of the Open Economy{" "}
1919
<div className="inline-block w-[5px] h-[5px] rounded-full bg-current mx-[20px] align-middle"></div>
2020
Jan 27 - March 17
2121
<div className="inline-block w-[5px] h-[5px] rounded-full bg-current mx-[20px] align-middle"></div>
@@ -27,7 +27,7 @@ const Announcement = () => {
2727

2828
const rightHref = useMemo(() => {
2929
if (!isSepolia && isHome) {
30-
return "https://open.scroll.io"
30+
return "https://openeconomyos.com/"
3131
}
3232
return ""
3333
}, [isSepolia, isHome])

src/components/Header/data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const sepoliaNavigations: Navigation[] = [
3434
},
3535
{
3636
rootKey: "build",
37-
label: "Scroll Open",
37+
label: "Open Economy",
3838
key: "scroll-open",
3939
href: SCROLL_OPEN_URL,
4040
},
@@ -79,7 +79,7 @@ const mainnetNavigations: Navigation[] = [
7979
},
8080
{
8181
rootKey: "build",
82-
label: "Scroll Open",
82+
label: "Open Economy",
8383
key: "scroll-open",
8484
href: SCROLL_OPEN_URL,
8585
},

src/constants/link.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
export const DOC_URL = "https://docs.scroll.io/en/home/"
2-
export const SCROLL_OPEN_URL = "https://open.scroll.io"
2+
export const SCROLL_OPEN_URL = "https://openeconomyos.com/"
33
export const LEVEL_UP_URL = "https://www.levelup.xyz/"
44

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"
98
export const ECOSYSTEM_URL = "/ecosystem"
109
export const SESSIONS_URL = `${USER_PORTAL_BASE_URL}/sessions`
1110

0 commit comments

Comments
 (0)