Skip to content

Commit

Permalink
feat(nx-dev): clean up enterprise section
Browse files Browse the repository at this point in the history
Removed temporary components declared on the enterprise library to use the common ones.
  • Loading branch information
bcabanes committed Sep 18, 2024
1 parent ee30d6f commit cba2fdd
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 298 deletions.
3 changes: 1 addition & 2 deletions nx-dev/ui-enterprise/src/lib/enterprise-addons.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { SectionHeading } from './temp/typography';
import {
BoltIcon,
ChevronDoubleRightIcon,
UsersIcon,
WrenchIcon,
} from '@heroicons/react/24/outline';
import { SectionHeading } from '@nx/nx-dev/ui-common';

export function EnterpriseAddons(): JSX.Element {
return (
Expand Down
3 changes: 1 addition & 2 deletions nx-dev/ui-enterprise/src/lib/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SectionHeading } from './temp/typography';
import { ButtonLink } from '@nx/nx-dev/ui-common';
import { ButtonLink, SectionHeading } from '@nx/nx-dev/ui-common';
import Link from 'next/link';

export function Hero(): JSX.Element {
Expand Down
59 changes: 0 additions & 59 deletions nx-dev/ui-enterprise/src/lib/scale-ci-and-teams.tsx

This file was deleted.

25 changes: 1 addition & 24 deletions nx-dev/ui-enterprise/src/lib/scale-your-people.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ import {
Cog6ToothIcon,
CubeTransparentIcon,
IdentificationIcon,
PhotoIcon,
SquaresPlusIcon,
UserGroupIcon,
} from '@heroicons/react/24/outline';
import { SectionHeading } from './temp/typography';
import { SectionHeading } from '@nx/nx-dev/ui-common';

export function ScaleYourPeople(): JSX.Element {
return (
Expand Down Expand Up @@ -250,28 +249,6 @@ export function ScaleYourPeople(): JSX.Element {
</div>
</div>
</div>
{/*<div className="mt-16">*/}
{/* <picture className="block py-12">*/}
{/* <img*/}
{/* src="/images/enterprise/graphs.jpg"*/}
{/* alt="Product screenshot"*/}
{/* className="mx-auto max-w-full rounded-xl shadow-xl ring-1 ring-slate-400/10"*/}
{/* width={2500}*/}
{/* height={1616}*/}
{/* />*/}
{/* </picture>*/}
{/* <div className="mx-auto mt-4 max-w-2xl">*/}
{/* <h4 className="relative text-base font-medium capitalize leading-6 text-slate-900 dark:text-slate-100">*/}
{/* Crystal clear organizations*/}
{/* </h4>*/}
{/* <p>*/}
{/* Regardless of how many Nx Workspaces your company has, Nx Enterprise*/}
{/* can give you the visibility you need to understand what they have in*/}
{/* common, how they relate, and how they differ. Developers are no*/}
{/* longer relegated to contributing to one Nx Workspace.*/}
{/* </p>*/}
{/* </div>*/}
{/*</div>*/}
</div>
</section>
);
Expand Down
2 changes: 1 addition & 1 deletion nx-dev/ui-enterprise/src/lib/security.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SectionHeading } from './temp/typography';
import { SectionHeading } from '@nx/nx-dev/ui-common';

export function Security(): JSX.Element {
return (
Expand Down
2 changes: 1 addition & 1 deletion nx-dev/ui-enterprise/src/lib/solve-your-ci.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import {
} from '@heroicons/react/24/outline';
import { animate, motion, useMotionValue, useTransform } from 'framer-motion';
import { useEffect } from 'react';
import { SectionHeading } from './temp/typography';
import { BentoGrid, BentoGridItem } from './bento-grid';
import { cx } from '@nx/nx-dev/ui-primitives';
import { SectionHeading } from '@nx/nx-dev/ui-common';

export function SolveYourCi(): JSX.Element {
return (
Expand Down
150 changes: 0 additions & 150 deletions nx-dev/ui-enterprise/src/lib/statistics.tsx

This file was deleted.

59 changes: 0 additions & 59 deletions nx-dev/ui-enterprise/src/lib/temp/typography.tsx

This file was deleted.

0 comments on commit cba2fdd

Please sign in to comment.