diff --git a/apps/dashboard/framer-rewrites.js b/apps/dashboard/framer-rewrites.js index 5cb74627f82..22d971c9367 100644 --- a/apps/dashboard/framer-rewrites.js +++ b/apps/dashboard/framer-rewrites.js @@ -17,6 +17,7 @@ module.exports = [ "/solutions/gaming", "/solutions/consumer-apps", "/solutions/defi", + "/solutions/ecosystem", // -- campaigns -- "/unlimited-wallets", ]; diff --git a/apps/dashboard/redirects.js b/apps/dashboard/redirects.js index dba72b8a4cd..297e3e42200 100644 --- a/apps/dashboard/redirects.js +++ b/apps/dashboard/redirects.js @@ -265,6 +265,12 @@ async function redirects() { destination: "/account-abstraction", permanent: false, }, + // redirect /solutions/chains to /solutions/ecosystem + { + source: "/solutions/chains", + destination: "/solutions/ecosystem", + permanent: false, + }, ...legacyDashboardToTeamRedirects, ]; } diff --git a/apps/dashboard/src/components/landing-pages/plan.tsx b/apps/dashboard/src/components/landing-pages/plan.tsx deleted file mode 100644 index 4a9d7231b57..00000000000 --- a/apps/dashboard/src/components/landing-pages/plan.tsx +++ /dev/null @@ -1,108 +0,0 @@ -import { Flex } from "@chakra-ui/react"; -import { ChakraNextImage } from "components/Image"; -import type { ReactNode } from "react"; -import { Heading, Text, TrackedLinkButton } from "tw-components"; - -interface LandingPlanProps { - title: string; - active?: boolean; - description: string; - listTitle?: string; - list: { id: string; description: string | ReactNode }[]; - btnHref?: string; - btnTitle?: string; - trackingCategory: string; -} - -export const LandingPlan = ({ - title, - active, - description, - listTitle, - list, - btnHref, - btnTitle, - trackingCategory, -}: LandingPlanProps) => { - return ( - - - - {title} - - - - {description} - - - - {listTitle && ( - - {listTitle} - - )} - - {list.map((listItem) => { - return ( - - - {typeof listItem.description === "string" ? ( - - {listItem.description} - - ) : ( - listItem.description - )} - - ); - })} - - - - {btnTitle && ( - - - {btnTitle} - - - )} - - ); -}; diff --git a/apps/dashboard/src/page-id.ts b/apps/dashboard/src/page-id.ts index 56782494744..091e09b38b9 100644 --- a/apps/dashboard/src/page-id.ts +++ b/apps/dashboard/src/page-id.ts @@ -67,11 +67,6 @@ export enum PageId { // thirdweb.com/404 PageNotFound = "page-not-found", - // --------------------------------------------------------------------------- - // solutions pages - // --------------------------------------------------------------------------- - SolutionsChains = "solutions-chains", - // --------------------------------------------------------------------------- // "publish" product pages // --------------------------------------------------------------------------- diff --git a/apps/dashboard/src/pages/solutions/chains.tsx b/apps/dashboard/src/pages/solutions/chains.tsx deleted file mode 100644 index a0fc88c39f5..00000000000 --- a/apps/dashboard/src/pages/solutions/chains.tsx +++ /dev/null @@ -1,341 +0,0 @@ -import { Box, Container, Flex } from "@chakra-ui/react"; -import { ChakraNextImage } from "components/Image"; -import { LandingCardWithImage } from "components/landing-pages/card-with-image"; -import { LandingEndCTA } from "components/landing-pages/end-cta"; -import { Gradients } from "components/landing-pages/gradients"; -import { LandingGridSection } from "components/landing-pages/grid-section"; -import { LandingHeroWithSideImage } from "components/landing-pages/hero-with-side-image"; -import { LandingIconSectionItem } from "components/landing-pages/icon-section-item"; -import { LandingLayout } from "components/landing-pages/layout"; -import { LandingPlan } from "components/landing-pages/plan"; -import { LandingSectionHeading } from "components/landing-pages/section-heading"; -import { getAbsoluteUrl } from "lib/vercel-utils"; -import { PageId } from "page-id"; -import { Text, TrackedLink, TrackedLinkButton } from "tw-components"; -import type { ThirdwebNextPage } from "utils/types"; - -const TRACKING_CATEGORY = "chains-landing"; - -const SolutionsChains: ThirdwebNextPage = () => { - return ( - - - - - - - - - - - - - - - - - - - - - - - Added to{" "} - - thirdweb Chainlist - - - ), - }, - ]} - trackingCategory={TRACKING_CATEGORY} - /> - - - - - - - - - } - desktopColumns={4} - > - - - - - - - - - - - - - - - - - - Contact Us - - - } - /> - - - - - - - ); -}; - -SolutionsChains.pageId = PageId.SolutionsChains; - -export default SolutionsChains;