Skip to content

Commit 1bf84f7

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

File tree

2 files changed

+30
-17
lines changed

2 files changed

+30
-17
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 & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,6 @@ async function redirects() {
238238
destination: "/contracts/explore",
239239
permanent: false,
240240
},
241-
{
242-
source: "/build",
243-
destination: "/contracts/modular-contracts",
244-
permanent: false,
245-
},
246241
{
247242
source: "/ui-components",
248243
destination: "/sdk",
@@ -319,12 +314,6 @@ async function redirects() {
319314
destination: "/templates/:slug",
320315
permanent: false,
321316
},
322-
// redirect /account-abstraction to /connect/account-abstraction
323-
{
324-
source: "/account-abstraction",
325-
destination: "/connect/account-abstraction",
326-
permanent: false,
327-
},
328317
// redirect /connect/pay to /connect/universal-bridge
329318
{
330319
source: "/connect/pay",
@@ -374,6 +363,28 @@ async function redirects() {
374363
destination: "/superchain",
375364
permanent: false,
376365
},
366+
// connect -> build redirects
367+
{
368+
source: "/connect",
369+
destination: "/wallets",
370+
permanent: false,
371+
},
372+
{
373+
source: "/connect/account-abstraction",
374+
destination: "/account-abstraction",
375+
permanent: false,
376+
},
377+
{
378+
source: "/connect/universal-bridge",
379+
destination: "/universal-bridge",
380+
permanent: false,
381+
},
382+
{
383+
source: "/engine",
384+
destination: "/transactions",
385+
permanent: false,
386+
},
387+
//
377388

378389
...legacyDashboardToTeamRedirects,
379390
];

0 commit comments

Comments
 (0)