Skip to content

Commit 1f34788

Browse files
committed
feat(nx-dev): improve hero section on homepage
1 parent ad2dcba commit 1f34788

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

nx-dev/ui-home/src/lib/ci-for-monorepos.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export const ProjectsCreatedEveryMonth = () => {
312312
target="_blank"
313313
rel="nofollow"
314314
>
315-
Connect your Nx repository now!
315+
Connect to Nx Cloud now!
316316
</ButtonLink>
317317
</div>
318318
</Card>

nx-dev/ui-home/src/lib/hero.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,15 @@ export function Hero(): JSX.Element {
7575
>
7676
Get started
7777
</ButtonLink>
78-
<Link
78+
79+
<ButtonLink
7980
href="ci/intro/ci-with-nx?utm_medium=website&utm_campaign=homepage_links&utm_content=cta_hero_get_started&utm_source=nxdev"
80-
target="blank"
81-
title="Start with Nx"
82-
prefetch={false}
83-
className="group font-semibold leading-6 text-slate-950 dark:text-white"
81+
title="Get started"
82+
variant="contrast"
83+
size="default"
8484
>
85-
Connect your Nx repository{' '}
86-
<span
87-
aria-hidden="true"
88-
className="inline-block transition group-hover:translate-x-1"
89-
>
90-
91-
</span>
92-
</Link>
85+
Learn about Nx on CI
86+
</ButtonLink>
9387
</div>
9488
</div>
9589
</div>

nx-dev/ui-home/src/lib/statistics.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import { AnimateValue } from '@nx/nx-dev/ui-animations';
33
const statistics = [
44
{
55
id: 1,
6-
name: 'use it every day',
6+
name: 'use Nx every day',
77
value: 2,
88
suffix: ' million',
99
associative: 'developers',
1010
},
1111
{
1212
id: 2,
13-
name: 'companies use it',
13+
name: 'companies use Nx to ship their products',
1414
value: 50,
1515
suffix: '%',
1616
associative: 'of Fortune 500',

0 commit comments

Comments
 (0)