Skip to content

Commit fa26eef

Browse files
committed
CORE-659 - rewrite templates to framer (#5808)
closes: CORE-659
1 parent 7c40fda commit fa26eef

File tree

10 files changed

+10
-1462
lines changed

10 files changed

+10
-1462
lines changed

apps/dashboard/framer-rewrites.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ module.exports = [
3838
"/community/startup-program",
3939
// -- grants --
4040
"/grant/superchain",
41+
// -- templates --
42+
"/templates",
43+
"/templates/:template_slug",
4144
];

apps/dashboard/redirects.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,12 @@ async function redirects() {
325325
destination: "/bounties",
326326
permanent: false,
327327
},
328+
// redirect /template/<slug> to /templates/<slug>
329+
{
330+
source: "/template/:slug",
331+
destination: "/templates/:slug",
332+
permanent: false,
333+
},
328334
...legacyDashboardToTeamRedirects,
329335
];
330336
}

apps/dashboard/src/components/homepage/sections/GetStartedSection.tsx

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

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

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

apps/dashboard/src/components/product-pages/homepage/HomepageSection.tsx

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

apps/dashboard/src/components/shared/GeneralCta.tsx

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

apps/dashboard/src/page-id.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ export enum PageId {
77
// marketing / growth pages
88
// ---------------------------------------------------------------------------
99

10-
// thirdweb.com/templates
11-
Templates = "templates-page",
12-
13-
// thirdweb.com/template/[templateId]
14-
Template = "template-page",
15-
1610
// thirdweb.com/account-abstraction
1711
SmartWalletLanding = "smart-wallet-landing",
1812

0 commit comments

Comments
 (0)