From 98920134eae08f70e67b2631e24931c5f23422a5 Mon Sep 17 00:00:00 2001 From: zzq0826 <770166635@qq.com> Date: Sat, 19 Oct 2024 09:46:10 +0800 Subject: [PATCH] Update copy and adjust menu --- src/components/Header/constants.ts | 8 +------- src/constants/community.ts | 15 ++++++++------- src/pages/community/Join/CardLarge.tsx | 2 +- src/pages/community/Join/index.tsx | 2 +- 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/src/components/Header/constants.ts b/src/components/Header/constants.ts index 630f615f..c8f9e821 100644 --- a/src/components/Header/constants.ts +++ b/src/components/Header/constants.ts @@ -131,7 +131,7 @@ const mainnetNavigations = [ icon: StatusSvg, }, { - label: "Are you a developer?", + label: "Learn, build and innovate", text: "Level Up", key: "lelvel-up", href: "https://levelupweb3.xyz", @@ -247,12 +247,6 @@ const mainnetNavigations = [ href: "/brand-kit", rootKey: "resources", }, - { - label: "Forum", - key: "forum", - href: "https://community.scroll.io", - isExternal: true, - }, { label: "Security", key: "security", diff --git a/src/constants/community.ts b/src/constants/community.ts index f6d2abf3..0288f738 100644 --- a/src/constants/community.ts +++ b/src/constants/community.ts @@ -1,6 +1,7 @@ import { ReactComponent as ContributeIcon } from "@/assets/svgs/community/contribute.svg" import { ReactComponent as DiscordIcon } from "@/assets/svgs/community/discord.svg" -import { ReactComponent as ForumIcon } from "@/assets/svgs/community/forum.svg" + +// import { ReactComponent as ForumIcon } from "@/assets/svgs/community/forum.svg" export const DISCORD_LINK = "https://discord.gg/scroll" export const COMMUNITY_FORUM_LINK = "https://community.scroll.io/" @@ -13,12 +14,12 @@ export const COMMUNITY_EXPLORER_LIST = [ title: "Join our Discord", content: "Connect with other Scroll developers and users", }, - { - icon: ForumIcon, - href: COMMUNITY_FORUM_LINK, - title: "Community Forum", - content: "Discuss and propose changes to Scroll", - }, + // { + // icon: ForumIcon, + // href: COMMUNITY_FORUM_LINK, + // title: "Community Forum", + // content: "Discuss and propose changes to Scroll", + // }, { icon: ContributeIcon, href: CONTRIBUTE_TO_SCROLL_LINK, diff --git a/src/pages/community/Join/CardLarge.tsx b/src/pages/community/Join/CardLarge.tsx index c762577f..c1f20167 100644 --- a/src/pages/community/Join/CardLarge.tsx +++ b/src/pages/community/Join/CardLarge.tsx @@ -65,7 +65,7 @@ const ContributeCard = props => { cursor: "inherit", }} > - Are you a developer? + Learn, build and innovate ({ flex: { marginTop: "4.8rem", display: "grid", - gridTemplateColumns: "repeat(3, 1fr)", + gridTemplateColumns: "repeat(2, 1fr)", gridGap: "3rem", [theme.breakpoints.down("md")]: { gridTemplateColumns: "100%",