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

const ANNOUNCEMENT_HEIGHT = "0rem"

Expand Down Expand Up @@ -45,12 +45,12 @@ const LandingHero = () => {
</Button>

<Button
href={process.env.NEXT_PUBLIC_USER_PORTAL_BASE_URL}
href={BRIDGE_URL}
target="_blank"
className="!w-[180px] sm:!w-[250px]"
gaEvent={{ event: "click_landing", label: "Open User Portal" }}
gaEvent={{ event: "click_landing", label: "Bridge to Scroll" }}
>
Open User Portal
Bridge to Scroll
</Button>
</Stack>
</Container>
Expand Down
4 changes: 2 additions & 2 deletions src/app/_components/Portal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Ecosystem from "@/assets/svgs/landingpage/ecosystem.svg"
import Levelup from "@/assets/svgs/landingpage/levelup.svg"
import ScrollOpen from "@/assets/svgs/landingpage/scroll-open.svg"
import Sessions from "@/assets/svgs/landingpage/sessions.svg"
import { BRIDGE_URL, DOC_URL, ECOSYSTEM_URL, LEVEL_UP_URL, SCROLL_OPEN_URL, SESSIONS_URL } from "@/constants/link"
import { BRIDGE_URL, DOC_URL, ECOSYSTEM_URL, LEVEL_UP_URL, SCROLL_OPEN_URL } from "@/constants/link"

import PortalCard from "./PortalCard"

Expand All @@ -27,7 +27,7 @@ const BUILDER_LIST = [
items: [
{ icon: Bridge, label: "Bridge", content: "Deposit your assets to Scroll", href: BRIDGE_URL },
{ icon: Ecosystem, label: "Projects", content: "Explore the dApps on Scroll", href: ECOSYSTEM_URL },
{ icon: Sessions, label: "Session 2", content: "Receive Marks for your contributions", href: SESSIONS_URL },
{ icon: Sessions, label: "Get SCR", content: "Vote or propose on Scroll", href: "/SCR-sSCR" },
],
},
]
Expand Down
19 changes: 6 additions & 13 deletions src/components/Header/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,6 @@ const mainnetNavigations: Navigation[] = [
label: "Use",
key: "use",
children: [
{
rootKey: "use",
label: "User Portal",
key: "portal",
href: process.env.NEXT_PUBLIC_USER_PORTAL_BASE_URL,
isNew: true,
},
{
rootKey: "participate",
label: "Session 2",
key: "session-2",
href: SESSIONS_URL,
},
{
rootKey: "use",
label: "Projects",
Expand Down Expand Up @@ -149,6 +136,12 @@ const mainnetNavigations: Navigation[] = [
key: "governance",
href: "https://gov.scroll.io/info",
},
{
rootKey: "use",
label: "Sessions",
key: "sessions",
href: SESSIONS_URL,
},
// {
// rootKey: "use",
// label: "Community",
Expand Down