diff --git a/nx-dev/nx-dev/app/powerpack/page.tsx b/nx-dev/nx-dev/app/powerpack/page.tsx index d3f157355ede9..1b03b6cfe51ec 100644 --- a/nx-dev/nx-dev/app/powerpack/page.tsx +++ b/nx-dev/nx-dev/app/powerpack/page.tsx @@ -5,9 +5,9 @@ import { Hero, PowerpackFeatures, } from '@nx/nx-dev/ui-powerpack'; -import { contactButton } from '../../lib/components/headerCtaConfigs'; import type { Metadata } from 'next'; +import { type ReactElement } from 'react'; export const metadata: Metadata = { title: 'Nx Powerpack', @@ -32,10 +32,10 @@ export const metadata: Metadata = { }, }; -export default function NxPowerPackPage(): JSX.Element { +export default function NxPowerPackPage(): ReactElement { const headerCTAConfig: ButtonLinkProps[] = [ { - href: 'https://cloud.nx.app/powerpack/purchase?licenseBusinessType=small&utm_source=nx.dev&utm_medium=referral&utm_campaign=nx-powerpackurl', + href: '/powerpack/trial', variant: 'primary', size: 'small', title: 'Request a free trial', diff --git a/nx-dev/nx-dev/lib/components/headerCtaConfigs.tsx b/nx-dev/nx-dev/lib/components/headerCtaConfigs.tsx index 1d773b90efffc..bf4cc26c89c6f 100644 --- a/nx-dev/nx-dev/lib/components/headerCtaConfigs.tsx +++ b/nx-dev/nx-dev/lib/components/headerCtaConfigs.tsx @@ -2,7 +2,7 @@ import { ButtonLinkProps } from '@nx/nx-dev/ui-common'; import { NxCloudAnimatedIcon } from '@nx/nx-dev/ui-icons'; export const requestFreeTrial: ButtonLinkProps = { - href: '/contact/sales', + href: '/enterprise/trial', variant: 'primary', size: 'small', title: 'Request a free trial', diff --git a/nx-dev/nx-dev/pages/contact/sales.tsx b/nx-dev/nx-dev/pages/contact/sales.tsx index 4b84ea74b5c2d..1636bd89e2479 100644 --- a/nx-dev/nx-dev/pages/contact/sales.tsx +++ b/nx-dev/nx-dev/pages/contact/sales.tsx @@ -1,21 +1,22 @@ import { useRouter } from 'next/router'; import { NextSeo } from 'next-seo'; import { Footer, Header } from '@nx/nx-dev/ui-common'; -import { TalkToOurSalesTeam } from '@nx/nx-dev/ui-contact'; +import { TalkToOurTeam } from '@nx/nx-dev/ui-contact'; +import { type ReactElement } from 'react'; -export function ContactSales(): JSX.Element { +export function ContactSales(): ReactElement { const router = useRouter(); return ( <>
- +