Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions apps/dashboard/framer-rewrites.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ module.exports = [
"/bounties",
"/contact-us",
// -- product landing pages --
// -- connect
"/connect",
"/connect/sign-in",
"/connect/account-abstraction",
"/connect/universal-bridge",
"/connect/auth",
"/connect/in-app-wallets",
// -- build category
"/wallets",
"/account-abstraction",
"/universal-bridge",
"/auth",
"/in-app-wallets",
"/transactions",
// -- end build category
// -- storage
"/storage",
// -- nebula
Expand All @@ -24,8 +25,7 @@ module.exports = [
"/contracts/modular-contracts",
"/contracts/explore",
"/contracts/deployment-tool",
// -- engine
"/engine",

// -- solutions pages --
"/solutions/:solution_slug",
// -- campaigns --
Expand Down
58 changes: 33 additions & 25 deletions apps/dashboard/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@ async function redirects() {
destination: "/contracts/explore",
permanent: false,
},
{
source: "/build",
destination: "/contracts/modular-contracts",
permanent: false,
},
{
source: "/ui-components",
destination: "/sdk",
Expand Down Expand Up @@ -319,28 +314,10 @@ async function redirects() {
destination: "/templates/:slug",
permanent: false,
},
// redirect /account-abstraction to /connect/account-abstraction
{
source: "/account-abstraction",
destination: "/connect/account-abstraction",
permanent: false,
},
// redirect /connect/pay to /connect/universal-bridge
// redirect /connect/pay to /universal-bridge
{
source: "/connect/pay",
destination: "/connect/universal-bridge",
permanent: false,
},
// redirect /auth to /connect/auth
{
source: "/auth",
destination: "/connect/auth",
permanent: false,
},
// redirect /in-app-wallets to /connect/in-app-wallets
{
source: "/in-app-wallets",
destination: "/connect/in-app-wallets",
destination: "/universal-bridge",
permanent: false,
},
// PREVIOUS CAMPAIGNS
Expand Down Expand Up @@ -374,6 +351,37 @@ async function redirects() {
destination: "/superchain",
permanent: false,
},
// connect -> build redirects
{
source: "/connect",
destination: "/wallets",
permanent: false,
},
{
source: "/connect/account-abstraction",
destination: "/account-abstraction",
permanent: false,
},
{
source: "/connect/universal-bridge",
destination: "/universal-bridge",
permanent: false,
},
{
source: "/connect/auth",
destination: "/auth",
permanent: false,
},
{
source: "/connect/in-app-wallets",
destination: "/in-app-wallets",
permanent: false,
},
{
source: "/engine",
destination: "/transactions",
permanent: false,
},

...legacyDashboardToTeamRedirects,
];
Expand Down
Loading