Skip to content

Commit f79ddf8

Browse files
committed
move /deploy and /smart-contracts to framer (#5300)
<!-- start pr-codex --> ## PR-Codex overview This PR focuses on deleting several pages and components from the `dashboard` application and updating the redirects in `redirects.js`. It also modifies the `PRODUCTS` and `SOLUTIONS` lists, removing specific entries and their corresponding links. ### Detailed summary - Deleted multiple files from `apps/dashboard/src/pages` and `apps/dashboard/src/components`. - Updated `apps/dashboard/redirects.js` with new redirect rules for several routes. - Removed entries related to `Interact`, `Sponsored Transactions`, and `Minting` from `PRODUCTS`. - Adjusted `PageId` enum by removing references to deleted pages. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent c63fefd commit f79ddf8

21 files changed

+37
-3194
lines changed

apps/dashboard/redirects.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,43 @@ function redirects() {
284284
destination: "/explore",
285285
permanent: false,
286286
},
287+
288+
// framer redirects
289+
{
290+
source: "/deploy",
291+
destination: "/contracts/deployment-tool",
292+
permanent: false,
293+
},
294+
{
295+
source: "/publish",
296+
destination: "/contracts/deployment-tool",
297+
permanent: false,
298+
},
299+
{
300+
source: "/smart-contracts",
301+
destination: "/contracts/explore",
302+
permanent: false,
303+
},
304+
{
305+
source: "/build",
306+
destination: "/contracts/modular-contracts",
307+
permanent: false,
308+
},
309+
{
310+
source: "/ui-components",
311+
destination: "/sdk",
312+
permanent: false,
313+
},
314+
{
315+
source: "/interact",
316+
destination: "/sdk",
317+
permanent: false,
318+
},
319+
{
320+
source: "/sponsored-transactions",
321+
destination: "/account-abstraction",
322+
permanent: false,
323+
},
287324
];
288325
}
289326

apps/dashboard/src/components/landing-pages/hero.tsx

Lines changed: 0 additions & 88 deletions
This file was deleted.

apps/dashboard/src/components/landing-pages/option-selector.tsx

Lines changed: 0 additions & 175 deletions
This file was deleted.

apps/dashboard/src/components/product-pages/common/SolutionsTextImage.tsx

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)