Skip to content

Commit 21cefe4

Browse files
committed
[Dashboard] Update rewrites and redirects for Connect to Build migration
1 parent a5163c0 commit 21cefe4

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

apps/dashboard/framer-rewrites.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ module.exports = [
66
"/bounties",
77
"/contact-us",
88
// -- product landing pages --
9-
// -- connect
10-
"/connect",
9+
// -- build category
10+
"/wallets",
11+
"/account-abstraction",
12+
"/universal-bridge",
13+
"/transactions",
14+
// legacy connect rewrites, keeping for now
1115
"/connect/sign-in",
12-
"/connect/account-abstraction",
13-
"/connect/universal-bridge",
1416
"/connect/auth",
1517
"/connect/in-app-wallets",
18+
// -- end build category
1619
// -- storage
1720
"/storage",
1821
// -- nebula
@@ -24,8 +27,7 @@ module.exports = [
2427
"/contracts/modular-contracts",
2528
"/contracts/explore",
2629
"/contracts/deployment-tool",
27-
// -- engine
28-
"/engine",
30+
2931
// -- solutions pages --
3032
"/solutions/:solution_slug",
3133
// -- campaigns --

apps/dashboard/redirects.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,28 @@ async function redirects() {
374374
destination: "/superchain",
375375
permanent: false,
376376
},
377+
// connect -> build redirects
378+
{
379+
source: "/connect",
380+
destination: "/build",
381+
permanent: false,
382+
},
383+
{
384+
source: "/connect/account-abstraction",
385+
destination: "/account-abstraction",
386+
permanent: false,
387+
},
388+
{
389+
source: "/connect/universal-bridge",
390+
destination: "/universal-bridge",
391+
permanent: false,
392+
},
393+
{
394+
source: "/engine",
395+
destination: "/transactions",
396+
permanent: false,
397+
},
398+
//
377399

378400
...legacyDashboardToTeamRedirects,
379401
];

0 commit comments

Comments
 (0)