Skip to content

Commit

Permalink
feat(nx-dev): improve hero section on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
juristr committed Jul 17, 2024
1 parent ad2dcba commit 1f34788
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion nx-dev/ui-home/src/lib/ci-for-monorepos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const ProjectsCreatedEveryMonth = () => {
target="_blank"
rel="nofollow"
>
Connect your Nx repository now!
Connect to Nx Cloud now!
</ButtonLink>
</div>
</Card>
Expand Down
20 changes: 7 additions & 13 deletions nx-dev/ui-home/src/lib/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,15 @@ export function Hero(): JSX.Element {
>
Get started
</ButtonLink>
<Link

<ButtonLink
href="ci/intro/ci-with-nx?utm_medium=website&utm_campaign=homepage_links&utm_content=cta_hero_get_started&utm_source=nxdev"
target="blank"
title="Start with Nx"
prefetch={false}
className="group font-semibold leading-6 text-slate-950 dark:text-white"
title="Get started"
variant="contrast"
size="default"
>
Connect your Nx repository{' '}
<span
aria-hidden="true"
className="inline-block transition group-hover:translate-x-1"
>
</span>
</Link>
Learn about Nx on CI
</ButtonLink>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions nx-dev/ui-home/src/lib/statistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { AnimateValue } from '@nx/nx-dev/ui-animations';
const statistics = [
{
id: 1,
name: 'use it every day',
name: 'use Nx every day',
value: 2,
suffix: ' million',
associative: 'developers',
},
{
id: 2,
name: 'companies use it',
name: 'companies use Nx to ship their products',
value: 50,
suffix: '%',
associative: 'of Fortune 500',
Expand Down

0 comments on commit 1f34788

Please sign in to comment.