Skip to content

Commit

Permalink
fix(nx-dev): update Hero component to use type imports and add contac…
Browse files Browse the repository at this point in the history
…t sales button
  • Loading branch information
ndcunningham committed Jan 9, 2025
1 parent d170051 commit 49b9e7d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions nx-dev/ui-enterprise/src/lib/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ButtonLink, SectionHeading } from '@nx/nx-dev/ui-common';
import { ReactElement } from 'react';
import { ChevronRightIcon } from '@heroicons/react/20/solid';
import { type ReactElement } from 'react';
import { sendCustomEvent } from '@nx/nx-dev/feature-analytics';

export function Hero(): ReactElement {
Expand Down Expand Up @@ -70,7 +69,7 @@ export function Hero(): ReactElement {
Accelerate your organization's journey to tighter collaboration,
better developer experience, and speed…lots of speed.
</SectionHeading>
<div className="mt-8 flex items-center gap-x-6">
<div className="mt-8 flex items-center gap-x-3">
<ButtonLink
href="/enterprise/trial"
title="Request a free trial"
Expand All @@ -86,6 +85,15 @@ export function Hero(): ReactElement {
>
Request a free trial
</ButtonLink>

<ButtonLink
href="/contact/sales"
title="Talk to the team"
variant="secondary"
size="default"
>
Contact sales
</ButtonLink>
</div>
</div>
<div className="mx-auto mt-16 flex max-w-2xl sm:mt-24 lg:ml-10 lg:mr-0 lg:mt-8 lg:max-w-none lg:flex-none xl:ml-32">
Expand Down

0 comments on commit 49b9e7d

Please sign in to comment.