Skip to content

Commit c2d5346

Browse files
authored
Merge pull request #1525 from scroll-tech/downgrade-sessions
Downgrade sessions
2 parents 41d7554 + ba42402 commit c2d5346

File tree

3 files changed

+12
-19
lines changed

3 files changed

+12
-19
lines changed

src/app/_components/Hero/index.tsx

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

1010
const ANNOUNCEMENT_HEIGHT = "0rem"
1111

@@ -45,12 +45,12 @@ const LandingHero = () => {
4545
</Button>
4646

4747
<Button
48-
href={process.env.NEXT_PUBLIC_USER_PORTAL_BASE_URL}
48+
href={BRIDGE_URL}
4949
target="_blank"
5050
className="!w-[180px] sm:!w-[250px]"
51-
gaEvent={{ event: "click_landing", label: "Open User Portal" }}
51+
gaEvent={{ event: "click_landing", label: "Bridge to Scroll" }}
5252
>
53-
Open User Portal
53+
Bridge to Scroll
5454
</Button>
5555
</Stack>
5656
</Container>

src/app/_components/Portal/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Ecosystem from "@/assets/svgs/landingpage/ecosystem.svg"
99
import Levelup from "@/assets/svgs/landingpage/levelup.svg"
1010
import ScrollOpen from "@/assets/svgs/landingpage/scroll-open.svg"
1111
import Sessions from "@/assets/svgs/landingpage/sessions.svg"
12-
import { BRIDGE_URL, DOC_URL, ECOSYSTEM_URL, LEVEL_UP_URL, SCROLL_OPEN_URL, SESSIONS_URL } from "@/constants/link"
12+
import { BRIDGE_URL, DOC_URL, ECOSYSTEM_URL, LEVEL_UP_URL, SCROLL_OPEN_URL } from "@/constants/link"
1313

1414
import PortalCard from "./PortalCard"
1515

@@ -27,7 +27,7 @@ const BUILDER_LIST = [
2727
items: [
2828
{ icon: Bridge, label: "Bridge", content: "Deposit your assets to Scroll", href: BRIDGE_URL },
2929
{ icon: Ecosystem, label: "Projects", content: "Explore the dApps on Scroll", href: ECOSYSTEM_URL },
30-
{ icon: Sessions, label: "Session 2", content: "Receive Marks for your contributions", href: SESSIONS_URL },
30+
{ icon: Sessions, label: "Get SCR", content: "Vote or propose on Scroll", href: "/SCR-sSCR" },
3131
],
3232
},
3333
]

src/components/Header/data.ts

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,6 @@ const mainnetNavigations: Navigation[] = [
106106
label: "Use",
107107
key: "use",
108108
children: [
109-
{
110-
rootKey: "use",
111-
label: "User Portal",
112-
key: "portal",
113-
href: process.env.NEXT_PUBLIC_USER_PORTAL_BASE_URL,
114-
isNew: true,
115-
},
116-
{
117-
rootKey: "participate",
118-
label: "Session 2",
119-
key: "session-2",
120-
href: SESSIONS_URL,
121-
},
122109
{
123110
rootKey: "use",
124111
label: "Projects",
@@ -149,6 +136,12 @@ const mainnetNavigations: Navigation[] = [
149136
key: "governance",
150137
href: "https://gov.scroll.io/info",
151138
},
139+
{
140+
rootKey: "use",
141+
label: "Sessions",
142+
key: "sessions",
143+
href: SESSIONS_URL,
144+
},
152145
// {
153146
// rootKey: "use",
154147
// label: "Community",

0 commit comments

Comments
 (0)