Skip to content

Commit 950bbae

Browse files
authored
[Dashboard] Update URL rewrites for grants and superchain pages (#7320)
1 parent 99d6b3b commit 950bbae

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

apps/dashboard/framer-rewrites.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ module.exports = [
4040
"/community/ambassadors",
4141
"/community/startup-program",
4242
// -- grants --
43-
"/grant/superchain",
43+
"/grants",
44+
"/superchain",
4445
// -- templates --
4546
"/templates",
4647
"/templates/:template_slug",

apps/dashboard/redirects.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,12 @@ async function redirects() {
368368
destination: "/learn/guides",
369369
permanent: false,
370370
},
371+
// redirect to /grant/superchain to /superchain
372+
{
373+
source: "/grant/superchain",
374+
destination: "/superchain",
375+
permanent: false,
376+
},
371377

372378
...legacyDashboardToTeamRedirects,
373379
];

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/connect/account-abstraction/AccountAbstractionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function GasCreditAlert(props: {
110110
target="_blank"
111111
label="superchain-landing"
112112
category={TRACKING_CATEGORY}
113-
href="https://thirdweb.com/grant/superchain"
113+
href="https://thirdweb.com/superchain"
114114
>
115115
Learn More
116116
</TrackedUnderlineLink>

apps/portal/src/app/account/billing/credits/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const metadata = createMetadata({
1616
Credits let you cover the costs of using thirdweb services. There are currently two types of credits available on thirdweb:
1717

1818
- **Optimism Superchain Credits**
19-
Optimism superchain credits are redeemed from a program which aims to enable developers to create seamless web3 user onboarding experiences powered by Smart Accounts. [Learn more about the OP Superchain program.](https://thirdweb.com/grant/superchain)
19+
Optimism superchain credits are redeemed from a program which aims to enable developers to create seamless web3 user onboarding experiences powered by Smart Accounts. [Learn more about the OP Superchain program.](https://thirdweb.com/superchain)
2020

2121
- **Service Credits**: These credits can be applied across any thirdweb service on any chain. This includes usage across In-App Wallets, RPC, and IPFS storage. To get thirdweb credits, apply to join the [startup program.](https://thirdweb.com/community/startup-program).
2222

0 commit comments

Comments
 (0)