Skip to content

Commit

Permalink
Revert "chore(nx-dev): fix header styles (#23120)" (#23121)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann authored May 1, 2024
1 parent ba8ba3d commit e38df31
Show file tree
Hide file tree
Showing 64 changed files with 2,971 additions and 65 deletions.
4 changes: 2 additions & 2 deletions docs/nx-cloud/concepts/cache-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Nx Cloud guarantees your cache entries will remain immutable - once they've been

### Use An On-Premise Version of Nx Cloud If Needed

If you need to have all cache artifacts on servers that you control, there is an on-premise version of Nx Cloud that you can use as part of the [Enterprise plan](https://nx.app/enterprise).
If you need to have all cache artifacts on servers that you control, there is an on-premise version of Nx Cloud that you can use as part of the [Enterprise plan](/enterprise).

## Security Decisions

In any security discussion, there is a trade off between convenience and security. It could be that some of these threats do not apply to your organization. If that is the case you could relax some of the security precautions and gain the performance benefits of more task results being stored in the remote cache. Every organization is different and Nx can be adapted to best meet your needs without opening up vulnerabilities. If you would Nx team members to help your organization fine tune your set up, [talk to us about Nx Enterprise](https://nx.app/enterprise).
In any security discussion, there is a trade off between convenience and security. It could be that some of these threats do not apply to your organization. If that is the case you could relax some of the security precautions and gain the performance benefits of more task results being stored in the remote cache. Every organization is different and Nx can be adapted to best meet your needs without opening up vulnerabilities. If you would Nx team members to help your organization fine tune your set up, [talk to us about Nx Enterprise](/enterprise).
2 changes: 1 addition & 1 deletion docs/nx-cloud/concepts/parallelization-distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ In the same way that Nx efficiently assigns tasks to parallel processes on a sin

If your repo is starting to grow large enough that CI times are suffering, or if your parallelization strategy is growing too complex to manage effectively, try [setting up Nx Agents](/ci/features/distribute-task-execution). You can [generate a simple workflow](/nx-api/workspace/generators/ci-workflow) for common CI providers with a `nx g ci-workflow` or follow one of the [CI setup recipes](/ci/recipes/set-up).

Organizations that want extra help setting up Nx Cloud or getting the most out of Nx can [sign up for Nx Enterprise](https://nx.app/enterprise/). This package comes with extra support from the Nx team and the option to host Nx Cloud on your own servers.
Organizations that want extra help setting up Nx Cloud or getting the most out of Nx can [sign up for Nx Enterprise](/enterprise). This package comes with extra support from the Nx team and the option to host Nx Cloud on your own servers.
2 changes: 1 addition & 1 deletion docs/nx-cloud/enterprise/dte/azure-dte.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom Distributed Task Execution on Azure Pipelines

Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](https://nx.app/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.
Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.

## Run Custom Agents on Azure Pipelines

Expand Down
2 changes: 1 addition & 1 deletion docs/nx-cloud/enterprise/dte/bitbucket-dte.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom Distributed Task Execution on Bitbucket Pipelines

Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](https://nx.app/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.
Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.

## Run Custom Agents on Bitbucket Pipelines

Expand Down
2 changes: 1 addition & 1 deletion docs/nx-cloud/enterprise/dte/circle-ci-dte.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom Distributed Task Execution on Circle CI

Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](https://nx.app/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.
Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.

## Run Custom Agents on Circle CI

Expand Down
2 changes: 1 addition & 1 deletion docs/nx-cloud/enterprise/dte/github-dte.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom Distributed Task Execution on Github Actions

Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](https://nx.app/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.
Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.

## Run Custom Agents on GitHub

Expand Down
2 changes: 1 addition & 1 deletion docs/nx-cloud/enterprise/dte/gitlab-dte.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom Distributed Task Execution on GitLab

Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](https://nx.app/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.
Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.

## Run Custom Agents on GitLab

Expand Down
2 changes: 1 addition & 1 deletion docs/nx-cloud/enterprise/dte/jenkins-dte.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom Distributed Task Execution on Jenkins

Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](https://nx.app/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.
Using [Nx Agents](/ci/features/distribute-task-execution) is the easiest way to distribute task execution, but it your organization may not be able to use hosted Nx Agents. With an [enterprise license](/enterprise), you can set up distributed task execution on your own CI provider using the recipe below.

## Distribute Tasks Across Custom Agents on Jenkins

Expand Down
2 changes: 1 addition & 1 deletion docs/nx-cloud/features/nx-enterprise-on-prem.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

We offer multiple ways of running Nx Cloud for our Enterprise customers. The below options are listed in recommended order, from easiest to most complex in terms of set-up and maintenance for your team. Please carefully consider your organization's requirements and level of infrastructure expertise before deciding on a deployment option.

{% call-to-action title="Get in Touch" icon="nxcloud" description="Get the package that best fits your needs" url="https://nx.app/enterprise?utm_source=nx.dev" /%}
{% call-to-action title="Get in Touch" icon="nxcloud" description="Get the package that best fits your needs" url="/enterprise" /%}

## Managed Setup

Expand Down
2 changes: 1 addition & 1 deletion docs/nx-cloud/intro/ci-with-nx.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ npx nx g ci-workflow

Connect on our channels and with the Nx Community to ask questions, get help and keep up to date with the latest news.

- Reach out for [Enterprise Support](https://nx.app/enterprise)
- Reach out for [Enterprise Support](/enterprise)
- Join our [Discord Community](https://go.nx.dev/community)
- Subscribe to our [Youtube Channel](https://www.youtube.com/@nxdevtools)
- Follow us on [Twitter](https://twitter.com/nxdevtools)
Expand Down
75 changes: 75 additions & 0 deletions nx-dev/nx-dev/pages/enterprise.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
import { useRouter } from 'next/router';
import { NextSeo } from 'next-seo';
import { DefaultLayout } from '@nx/nx-dev/ui-common';
import {
CallToAction,
DownloadEbook,
EnterpriseAddons,
Hero,
MetricsAndCustomers,
ScaleYourPeople,
Security,
TrustedBy,
SolveYourCi,
} from '@nx/nx-dev/ui-enterprise';

export function Enterprise(): JSX.Element {
const router = useRouter();

return (
<>
<NextSeo
title="Nx Enterprise"
description="Accelerate your organization's journey to tighter collaboration, better developer experience, and speed…lots of speed."
openGraph={{
url: 'https://nx.dev' + router.asPath,
title: 'Nx Enterprise',
description:
"Accelerate your organization's journey to tighter collaboration, better developer experience, and speed…lots of speed.",
images: [
{
url: 'https://nx.dev/socials/nx-media.png',
width: 800,
height: 421,
alt: 'Nx: Smart Monorepos · Fast CI',
type: 'image/jpeg',
},
],
siteName: 'NxDev',
type: 'website',
}}
/>
<DefaultLayout>
<div>
<Hero />
</div>
<div className="mt-32 lg:mt-40">
<MetricsAndCustomers />
</div>
<div className="mt-32 lg:mt-56">
<ScaleYourPeople />
</div>
<div className="mt-32 lg:mt-56">
<Security />
</div>
<div className="mt-32 lg:mt-56">
<SolveYourCi />
</div>
<div className="mt-32 lg:mt-56">
<DownloadEbook />
</div>
<div className="mt-32 lg:mt-56">
<EnterpriseAddons />
</div>
<div className="mt-32">
<TrustedBy />
</div>
<div className="mt-32 lg:mt-56">
<CallToAction />
</div>
</DefaultLayout>
</>
);
}

export default Enterprise;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
1 change: 0 additions & 1 deletion nx-dev/nx-dev/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ module.exports = {
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
FlipAnimation,
],
};
3 changes: 3 additions & 0 deletions nx-dev/ui-common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ export * from './lib/breadcrumbs';
export * from './lib/button';
export * from './lib/champion-card';
export * from './lib/champion-perks';
export * from './lib/default-layout';
export * from './lib/headers/header';
export * from './lib/flip-card';
export * from './lib/nx-agents-icon';
export * from './lib/nx-cloud-icon';
export * from './lib/nx-replay-icon';
export * from './lib/footer';
export * from './lib/sidebar-container';
export * from './lib/sidebar';
Expand Down
27 changes: 27 additions & 0 deletions nx-dev/ui-common/src/lib/default-layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { Footer } from './footer';
import { Header } from './headers/header';
import { PropsWithChildren } from 'react';

export function DefaultLayout({ children }: PropsWithChildren): JSX.Element {
return (
<div className="dark:bg-slate-950">
<Header />
<div className="relative isolate pt-14">
<div
className="absolute inset-x-0 -top-40 -z-10 h-full transform-gpu overflow-hidden blur-3xl sm:-top-80"
aria-hidden="true"
>
<div
className="relative left-[calc(50%-11rem)] aspect-[1155/678] w-[46.125rem] -translate-x-1/2 rotate-[35deg] bg-gradient-to-tr from-[#9333ea] to-[#3b82f6] opacity-25 sm:left-[calc(70%-30rem)] sm:w-[92.1875rem] dark:from-[#3b82f6] dark:to-[#9333ea] dark:opacity-15"
style={{
clipPath:
'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 95.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 67.5% 76.7%, 0.1% 64.9%, 77.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 84.1% 44.1%)',
}}
/>
</div>
<main className="py-24 sm:py-32">{children}</main>
</div>
<Footer />
</div>
);
}
1 change: 1 addition & 0 deletions nx-dev/ui-common/src/lib/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Link from 'next/link';
export function Footer(): JSX.Element {
const navigation = {
solutions: [
{ name: 'Nx Enterprise', href: '/enterprise' },
{ name: 'Nx', href: 'https://nx.dev' },
{ name: 'Nx Cloud', href: 'https://nx.app/?utm_source=nx.dev' },
],
Expand Down
2 changes: 1 addition & 1 deletion nx-dev/ui-common/src/lib/headers/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function Header(): JSX.Element {
}, []);

return (
<div className="relative flex print:hidden">
<div className="relative inset-x-0 top-0 z-50 flex print:hidden">
{/*DESKTOP*/}
<div className="mx-auto hidden w-full max-w-7xl items-center justify-between space-x-10 p-4 px-8 lg:flex">
{/*PRIMARY NAVIGATION*/}
Expand Down
2 changes: 1 addition & 1 deletion nx-dev/ui-common/src/lib/headers/menu-items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const plans: MenuItem[] = [
name: 'Nx Enterprise',
description:
'The ultimate Nx & Nx Cloud toolchain, tailored to your needs.',
href: 'https://nx.app/enterprise',
href: '/enterprise',
icon: null,
isNew: false,
isHighlight: false,
Expand Down
4 changes: 2 additions & 2 deletions nx-dev/ui-common/src/lib/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ export function SidebarMobile({
{ name: 'Launch Nx', href: '/launch-nx', current: false },
{
name: 'Contact',
href: 'https://nx.app/enterprise?utm_source=nx.dev&utm_medium=header-menu',
href: '/contact',
current: false,
},
{
name: 'Go to app',
href: 'https://nx.app/?utm_source=nx.dev&utm_medium=header-menu',
href: 'https://cloud.nx.app',
current: false,
},
],
Expand Down
Loading

0 comments on commit e38df31

Please sign in to comment.