Skip to content

Commit

Permalink
feat(nx-dev): Rebase with master and update trustedby links
Browse files Browse the repository at this point in the history
  • Loading branch information
ndcunningham committed Jul 24, 2024
1 parent 69124b7 commit e3bad3e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nx-dev/nx-dev/app/pricing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function PricingPage() {
<DefaultLayout>
<StandardPlans />
<div className="mt-18 lg:mt-32">
<TrustedBy />
<TrustedBy utmSource="pricingpage" utmCampaign="pricing" />
</div>
<div className="mt-32 lg:mt-56">
<ComparablePlans />
Expand Down
13 changes: 11 additions & 2 deletions nx-dev/ui-common/src/lib/trusted-by.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ import {
VmwareIcon,
} from '@nx/nx-dev/ui-icons';

export function TrustedBy(): JSX.Element {
export interface TrustedByProps {
utmSource?: string;
utmCampaign?: string;
}

export function TrustedBy({
utmSource = 'homepage',
utmCampaign = 'homepage_links',
}: TrustedByProps): JSX.Element {
return (
<article className="mx-auto max-w-7xl px-6 lg:px-8">
<div className="text-center">
Expand Down Expand Up @@ -104,9 +112,10 @@ export function TrustedBy(): JSX.Element {
className="h-10 w-10 text-slate-950 dark:text-white"
/>
</div>

<div className="mt-8 text-center">
<Link
href="/customers?utm_source=homepage&utm_medium=website&utm_campaign=homepage_links&utm_content=our_customers"
href={`/customers?utm_source=${utmSource}&utm_medium=website&utm_campaign=${utmCampaign}&utm_content=our_customers`}
title="Our customers"
prefetch={false}
className="group font-semibold leading-6 text-slate-950 transition-all duration-200 dark:text-white"
Expand Down

0 comments on commit e3bad3e

Please sign in to comment.