-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nx-dev): Migrate pricing page from nx.app (#27012)
Co-authored-by: Juri <[email protected]>
- Loading branch information
Showing
26 changed files
with
2,054 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
import type { Metadata } from 'next'; | ||
import { | ||
StandardPlans, | ||
ComparablePlans, | ||
Oss, | ||
Faq, | ||
} from '@nx/nx-dev/ui-pricing'; | ||
import { | ||
Testimonials, | ||
TrustedBy, | ||
DefaultLayout, | ||
CallToAction, | ||
} from '@nx/nx-dev/ui-common'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'Nx Cloud - Available Plans', | ||
description: | ||
"Distribute everything, don't waste time waiting on CI. Use Nx Cloud's distributed task execution and caching features to release faster. Save time and money.", | ||
openGraph: { | ||
url: 'https://nx.dev/pricing', | ||
title: 'Nx Cloud - Available Plans', | ||
description: | ||
"Distribute everything, don't waste time waiting on CI. Use Nx Cloud's distributed task execution and caching features to release faster. Save time and money.", | ||
images: [ | ||
{ | ||
url: 'https://nx.dev/socials/nx-media.png', | ||
width: 800, | ||
height: 421, | ||
alt: 'Nx: Smart Monorepos · Fast CI', | ||
type: 'image/jpeg', | ||
}, | ||
], | ||
siteName: 'NxDev', | ||
type: 'website', | ||
}, | ||
}; | ||
|
||
export default function PricingPage() { | ||
return ( | ||
<DefaultLayout> | ||
<StandardPlans /> | ||
<div className="mt-18 lg:mt-32"> | ||
<TrustedBy utmSource="pricingpage" utmCampaign="pricing" /> | ||
</div> | ||
<div className="mt-32 lg:mt-56"> | ||
<ComparablePlans /> | ||
</div> | ||
<div className="mt-32 lg:mt-56"> | ||
<Testimonials /> | ||
</div> | ||
<div className="mt-32 lg:mt-56"> | ||
<Oss /> | ||
</div> | ||
<div className="mt-32 lg:mt-56"> | ||
<Faq /> | ||
</div> | ||
<div className="mt-32 lg:mt-56"> | ||
<CallToAction | ||
mainActionLinkText="Sign up" | ||
mainActionLink="https://cloud.nx.app?utm_source=nx.dev&utm_medium=cta&utm_campaign=pricing" | ||
mainActionTitle="Sign up to Nx Cloud" | ||
/> | ||
</div> | ||
</DefaultLayout> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { ChatBubbleLeftEllipsisIcon } from '@heroicons/react/24/outline'; | ||
import { SectionHeading } from './typography'; | ||
|
||
export function Testimonials(): JSX.Element { | ||
return ( | ||
<section id="people-are-talking" className="relative"> | ||
<header className="mx-auto max-w-2xl text-center"> | ||
<SectionHeading as="h2" variant="title"> | ||
People are talking | ||
</SectionHeading> | ||
<SectionHeading as="p" variant="subtitle" className="mt-6"> | ||
Whether your workspace{' '} | ||
<span className="font-semibold"> | ||
has a single project or thousands | ||
</span> | ||
, Nx will keep your CI fast and your workspace maintainable. | ||
</SectionHeading> | ||
</header> | ||
<div className="md:px-62 mx-auto grid max-w-7xl grid-cols-1 items-stretch gap-8 px-4 py-12 md:grid-cols-3 lg:px-8 lg:py-16"> | ||
<div className="rounded-xl bg-slate-50 p-10 dark:bg-slate-800/60"> | ||
<ChatBubbleLeftEllipsisIcon className="h-8 w-8 text-blue-500 dark:text-sky-500" /> | ||
<p className="mt-4"> | ||
"It made it possible to remove our hand-rolled code and to use a | ||
well-maintained and streamlined solution, increasing performance | ||
while saving us a lot of time and money. The developer experience is | ||
so good." | ||
</p> | ||
<div className="mt-8 font-semibold">Nitin Vericherla</div> | ||
<div className="mt-0.5 text-sm">UI Architect at Synapse Wireless</div> | ||
</div> | ||
<div className="rounded-xl bg-slate-50 p-10 dark:bg-slate-800/60"> | ||
<ChatBubbleLeftEllipsisIcon className="h-8 w-8 text-blue-500 dark:text-sky-500" /> | ||
<p className="mt-4"> | ||
"By updating to the latest Lerna version and enabling Nx caching, we | ||
were able to reduce CI build times by ~35% - a great time saving for | ||
a fast-moving company like Sentry with an extremely active | ||
repository." | ||
</p> | ||
<div className="mt-8 font-semibold">Francesco Novy</div> | ||
<div className="mt-0.5 text-sm"> | ||
Senior Software Engineer at Sentry | ||
</div> | ||
</div> | ||
<div className="rounded-xl bg-slate-50 p-10 dark:bg-slate-800/60"> | ||
<ChatBubbleLeftEllipsisIcon className="h-8 w-8 text-blue-500 dark:text-sky-500" /> | ||
<p className="mt-4"> | ||
"Since we are using NxCloud, we saw our CI times reduced by 83%! | ||
That means our teams are not waiting hours for their PR to be merged | ||
anymore, we reclaimed our productivity and are pretty happy about | ||
it." | ||
</p> | ||
<div className="mt-8 font-semibold">Laurent Delamare</div> | ||
<div className="mt-0.5 text-sm">Senior Engineer at VMware</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@nx/react/babel", | ||
{ | ||
"runtime": "automatic", | ||
"useBuiltIns": "usage" | ||
} | ||
] | ||
], | ||
"plugins": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"extends": ["plugin:@nx/react", "../../.eslintrc.json"], | ||
"ignorePatterns": ["!**/*"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# ui-pricing | ||
|
||
This library was generated with [Nx](https://nx.dev). | ||
|
||
## Running unit tests | ||
|
||
Run `nx test ui-pricing` to execute the unit tests via [Jest](https://jestjs.io). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "ui-pricing", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "nx-dev/ui-pricing/src", | ||
"projectType": "library", | ||
"tags": [], | ||
"// targets": "to see all targets run: nx show project ui-pricing --web", | ||
"targets": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export * from './lib/comparable-plans'; | ||
export * from './lib/faq'; | ||
export * from './lib/oss'; | ||
export * from './lib/standard-plans'; |
Oops, something went wrong.