Skip to content

Commit df03dbd

Browse files
committed
Ink mainnet chain page update (#5806)
## Problem solved Update Ink Mainnet Chain Page Add OP Superchain Application CTA to chain page Linear Issues: INFRA-520 <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces a new blockchain entry for `Ink` in the dashboard, including the addition of an image asset and relevant metadata. ### Detailed summary - Added `inkBanner.jpg` to the project assets. - Updated `ApplyForOpCreditsForm.tsx` to include `Ink` in the chain options. - Enhanced `utils.ts` with `Ink` metadata, including: - `headerImgUrl`: set to `inkBanner.src` - `about` description for `Ink` - `cta` and `gasSponsored` attributes set to true. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent cfc1398 commit df03dbd

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

apps/dashboard/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/// <reference types="next/navigation-types/compat/navigation" />
44

55
// NOTE: This file should not be edited
6-
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
6+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
Loading

apps/dashboard/src/app/(dashboard)/(chain)/utils.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import funkiBanner from "./temp-assets/funkiBanner.jpg";
2121
import funkiCTA from "./temp-assets/funkiCTA.jpg";
2222
import hashfireBanner from "./temp-assets/hashfireBanner.png";
2323
import hashfireCTA from "./temp-assets/hashfireCTA.png";
24+
import inkBanner from "./temp-assets/inkBanner.jpg";
2425
import laosBanner from "./temp-assets/laosBanner.jpg";
2526
import laosCTA from "./temp-assets/laosCTA.jpg";
2627
import liskBanner from "./temp-assets/liskBanner.png";
@@ -221,6 +222,14 @@ const chainMetaRecord = {
221222
cta: OP_CTA,
222223
gasSponsored: true,
223224
},
225+
// Ink
226+
57073: {
227+
headerImgUrl: inkBanner.src,
228+
about:
229+
"Ink is an Ethereum OP Stack layer 2 blockchain designed to be the house of DeFi for the Superchain, a powerful base layer for deploying innovative DeFi protocols.",
230+
cta: OP_CTA,
231+
gasSponsored: true,
232+
},
224233
// vanar
225234
2040: {
226235
headerImgUrl: vanarBanner.src,

apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ export const ApplyForOpCreditsForm: React.FC<ApplyForOpCreditsFormProps> = ({
217217
"Lisk",
218218
"Arena-Z",
219219
"Superseed",
220+
"Ink",
220221
].map((chain) => ({
221222
label: chain === "Optimism" ? "OP Mainnet" : chain,
222223
value: chain,

0 commit comments

Comments
 (0)