From ec84ed37d6db8281d3afb12bc47a20ccc5fe9713 Mon Sep 17 00:00:00 2001 From: Joe-Thirdweb <160192317+Joe-Thirdweb@users.noreply.github.com> Date: Fri, 6 Dec 2024 23:08:57 +0000 Subject: [PATCH] Joe arena z superchain mainnet (#5648) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem solved Short description of the bug fixed or feature added Adding Arena-Z mainnet to OP Superchain grant page. Linear DASH-562 --- ## PR-Codex overview This PR introduces updates related to the `Arena Z` network within the dashboard application, including configurations and UI adjustments. ### Detailed summary - Added configuration for `Arena Z Mainnet` with properties `cta`, and `gasSponsored`. - Included `Arena-Z` in the onboarding form's chain options. - Updated the `superchain` page with `Arena-Z` details, changing the link to `/arena-z` and setting `isComingSoon` to `false`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- apps/dashboard/src/app/(dashboard)/(chain)/utils.ts | 5 +++++ .../src/components/onboarding/ApplyForOpCreditsForm.tsx | 1 + apps/dashboard/src/pages/grant/superchain.tsx | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts b/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts index e7b11cdfab2..d8bcbc1a144 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts +++ b/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts @@ -269,6 +269,11 @@ const chainMetaRecord = { buttonText: "Learn more", }, }, + //Arena Z Mainnet + 7897: { + cta: OP_CTA, + gasSponsored: true, + }, // B3 Mainnet 8333: { headerImgUrl: thirdwebBanner.src, diff --git a/apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx b/apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx index eb8db7127a1..3659d70fff7 100644 --- a/apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx +++ b/apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx @@ -215,6 +215,7 @@ export const ApplyForOpCreditsForm: React.FC = ({ "Mantle", "Soneium", "Lisk", + "Arena-Z", ].map((chain) => ({ label: chain === "Optimism" ? "OP Mainnet" : chain, value: chain, diff --git a/apps/dashboard/src/pages/grant/superchain.tsx b/apps/dashboard/src/pages/grant/superchain.tsx index c99d626503a..526a094ea54 100644 --- a/apps/dashboard/src/pages/grant/superchain.tsx +++ b/apps/dashboard/src/pages/grant/superchain.tsx @@ -102,9 +102,9 @@ const superchains = [ { id: "Arena-Z", name: "ArenaZ", - link: "/arena-z-testnet", + link: "/arena-z", src: require("../../../public/assets/grant/superchain/icon-arena-z.png"), - isComingSoon: true, + isComingSoon: false, }, { id: "campNetworkv2",