Skip to content

Commit

Permalink
chore(nx-dev): fix header styles (#23120)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann authored May 1, 2024
1 parent 4f4f77c commit ba8ba3d
Show file tree
Hide file tree
Showing 64 changed files with 65 additions and 2,971 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](/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](https://nx.app/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](/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](https://nx.app/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](/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](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.
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](/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](https://nx.app/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](/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](https://nx.app/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](/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](https://nx.app/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](/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](https://nx.app/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](/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](https://nx.app/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](/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](https://nx.app/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="/enterprise" /%}
{% 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" /%}

## 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](/enterprise)
- Reach out for [Enterprise Support](https://nx.app/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: 0 additions & 75 deletions nx-dev/nx-dev/pages/enterprise.tsx

This file was deleted.

Binary file removed nx-dev/nx-dev/public/images/enterprise/graphs.jpg
Binary file not shown.
Binary file removed nx-dev/nx-dev/public/images/white-paper-ebook.avif
Binary file not shown.
1 change: 1 addition & 0 deletions nx-dev/nx-dev/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ module.exports = {
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
FlipAnimation,
],
};
3 changes: 0 additions & 3 deletions nx-dev/ui-common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ 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: 0 additions & 27 deletions nx-dev/ui-common/src/lib/default-layout.tsx

This file was deleted.

1 change: 0 additions & 1 deletion nx-dev/ui-common/src/lib/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ 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 inset-x-0 top-0 z-50 flex print:hidden">
<div className="relative 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: '/enterprise',
href: 'https://nx.app/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: '/contact',
href: 'https://nx.app/enterprise?utm_source=nx.dev&utm_medium=header-menu',
current: false,
},
{
name: 'Go to app',
href: 'https://cloud.nx.app',
href: 'https://nx.app/?utm_source=nx.dev&utm_medium=header-menu',
current: false,
},
],
Expand Down
Loading

0 comments on commit ba8ba3d

Please sign in to comment.