diff --git a/nx-dev/feature-ai/src/lib/error-message.tsx b/nx-dev/feature-ai/src/lib/error-message.tsx
index afe3d075d0..41d86c5cd8 100644
--- a/nx-dev/feature-ai/src/lib/error-message.tsx
+++ b/nx-dev/feature-ai/src/lib/error-message.tsx
@@ -3,6 +3,7 @@ import {
ExclamationTriangleIcon,
XCircleIcon,
} from '@heroicons/react/24/outline';
+import Link from 'next/link';
function ErrorMessage({ error }: { error: any }): JSX.Element {
try {
@@ -28,12 +29,12 @@ function ErrorMessage({ error }: { error: any }): JSX.Element {
Sorry, I don't know how to help with that. You can visit the{' '}
-
Nx documentation
- {' '}
+ {' '}
for more info.
diff --git a/nx-dev/feature-doc-viewer/src/lib/related-documents-section.tsx b/nx-dev/feature-doc-viewer/src/lib/related-documents-section.tsx
index 7a4e9a1c00..cdeca25df1 100644
--- a/nx-dev/feature-doc-viewer/src/lib/related-documents-section.tsx
+++ b/nx-dev/feature-doc-viewer/src/lib/related-documents-section.tsx
@@ -7,6 +7,7 @@ import {
MagnifyingGlassIcon,
InformationCircleIcon,
} from '@heroicons/react/24/outline';
+import Link from 'next/link';
export function RelatedDocumentsSection({
relatedCategories,
@@ -50,13 +51,13 @@ function CategoryBox({ category }: { category: RelatedDocumentsCategory }) {
key={d.id}
className="flex justify-between items-center py-1 pl-0 text-sm"
>
-
{d.name}
-
+
))}
diff --git a/nx-dev/feature-package-schema-viewer/src/lib/content.tsx b/nx-dev/feature-package-schema-viewer/src/lib/content.tsx
index fd54218f54..afa43da62c 100644
--- a/nx-dev/feature-package-schema-viewer/src/lib/content.tsx
+++ b/nx-dev/feature-package-schema-viewer/src/lib/content.tsx
@@ -125,13 +125,13 @@ export function Content({
>
{schemaViewModel.type}
-
Rescope @nrwl to @nx
-
+
{schemaViewModel.deprecated && (
diff --git a/nx-dev/feature-package-schema-viewer/src/lib/ui/headings.tsx b/nx-dev/feature-package-schema-viewer/src/lib/ui/headings.tsx
index 76540313a6..c59f25475f 100644
--- a/nx-dev/feature-package-schema-viewer/src/lib/ui/headings.tsx
+++ b/nx-dev/feature-package-schema-viewer/src/lib/ui/headings.tsx
@@ -1,5 +1,6 @@
import { LinkIcon } from '@heroicons/react/24/solid';
import { slugify } from '../slugify.utils';
+import Link from 'next/link';
export const Heading1 = ({ title }: { title: string }) => (
(
className="group mb-5 text-4xl font-extrabold tracking-tight text-slate-900 dark:text-slate-100"
>
{title}
-
+
-
+
);
@@ -22,12 +23,12 @@ export const Heading2 = ({ title }: { title: string }) => (
className="group mb-5 text-2xl font-bold tracking-tight text-slate-800 dark:text-slate-200"
>
{title}
-
+
-
+
);
@@ -37,11 +38,11 @@ export const Heading3 = ({ title }: { title: string }) => (
className="group text-xl font-semibold tracking-tight text-slate-700 dark:text-slate-300"
>
{title}
-
+
-
+
);
diff --git a/nx-dev/feature-package-schema-viewer/src/lib/ui/top.layout.tsx b/nx-dev/feature-package-schema-viewer/src/lib/ui/top.layout.tsx
index 7d5d5746bd..f990fd88f5 100644
--- a/nx-dev/feature-package-schema-viewer/src/lib/ui/top.layout.tsx
+++ b/nx-dev/feature-package-schema-viewer/src/lib/ui/top.layout.tsx
@@ -1,3 +1,5 @@
+import Link from 'next/link';
+
export function TopSchemaLayout({
name,
url,
@@ -15,13 +17,13 @@ export function TopSchemaLayout({
>
Package
-
Rescope @nrwl to @nx
-
+
-
Skip to content
-
+
{/* Global Site Tag (gtag.js) - Google Analytics */}
{' '}
v{changelog.version.split('.').slice(0, 2).join('.')}
-
+
-
+
diff --git a/nx-dev/ui-common/src/lib/documentation-header.tsx b/nx-dev/ui-common/src/lib/documentation-header.tsx
index f09d73530d..5de5bea646 100644
--- a/nx-dev/ui-common/src/lib/documentation-header.tsx
+++ b/nx-dev/ui-common/src/lib/documentation-header.tsx
@@ -251,14 +251,14 @@ export function DocumentationHeader({
{/* */}
{/**/}Launch Nx
-
Contact us
-
+
{/* SPACER */}
diff --git a/nx-dev/ui-common/src/lib/header.tsx b/nx-dev/ui-common/src/lib/header.tsx
index f2e1832b8a..947d4ea0d7 100644
--- a/nx-dev/ui-common/src/lib/header.tsx
+++ b/nx-dev/ui-common/src/lib/header.tsx
@@ -236,7 +236,7 @@ export function Header(): JSX.Element {
{/*LOGO*/}
-
@@ -250,7 +250,7 @@ export function Header(): JSX.Element {
Nx
-
+
{/*MENU*/}
diff --git a/nx-dev/ui-common/src/lib/plugin-card.tsx b/nx-dev/ui-common/src/lib/plugin-card.tsx
index 839cb19fa5..4c274081a1 100644
--- a/nx-dev/ui-common/src/lib/plugin-card.tsx
+++ b/nx-dev/ui-common/src/lib/plugin-card.tsx
@@ -3,6 +3,7 @@ import {
ClockIcon,
StarIcon,
} from '@heroicons/react/24/outline';
+import Link from 'next/link';
export interface PluginCardProps {
name: string;
@@ -41,7 +42,7 @@ export function PluginCard({
{' '}
{name}
-
-
+
);
diff --git a/nx-dev/ui-community/src/lib/connect-with-us.tsx b/nx-dev/ui-community/src/lib/connect-with-us.tsx
index bfdc80bdb4..4fb8c9627b 100644
--- a/nx-dev/ui-community/src/lib/connect-with-us.tsx
+++ b/nx-dev/ui-community/src/lib/connect-with-us.tsx
@@ -1,5 +1,6 @@
import { EnvelopeIcon } from '@heroicons/react/24/solid';
import { SectionHeading } from '@nx/nx-dev/ui-common';
+import Link from 'next/link';
export function ConnectWithUs(): JSX.Element {
return (
@@ -18,9 +19,9 @@ export function ConnectWithUs(): JSX.Element {
Looking for community plugins? Find them listed in the{' '}
-
+
plugin registry
-
+
.
diff --git a/nx-dev/ui-conference/src/lib/launch-week/intro.tsx b/nx-dev/ui-conference/src/lib/launch-week/intro.tsx
index cfc5a56c63..2a6d5ac209 100644
--- a/nx-dev/ui-conference/src/lib/launch-week/intro.tsx
+++ b/nx-dev/ui-conference/src/lib/launch-week/intro.tsx
@@ -1,3 +1,5 @@
+import Link from 'next/link';
+
export function LaunchNxIntro() {
return (
@@ -39,9 +41,9 @@ export function LaunchNxIntro() {
Missed our Launch Nx Conf? Then follow up with the{' '}
-
+
announcements
- {' '}
+ {' '}
below or watch the conference recording:
diff --git a/nx-dev/ui-home/src/lib/hero.tsx b/nx-dev/ui-home/src/lib/hero.tsx
index 40e4940039..4327324d25 100644
--- a/nx-dev/ui-home/src/lib/hero.tsx
+++ b/nx-dev/ui-home/src/lib/hero.tsx
@@ -1,12 +1,8 @@
-import {
- ChevronRightIcon,
- ClipboardDocumentCheckIcon,
- ClipboardDocumentIcon,
-} from '@heroicons/react/24/outline';
import { ButtonLink } from '@nx/nx-dev/ui-common';
import { Fragment, useEffect, useState } from 'react';
import { Transition } from '@headlessui/react';
import { cx } from '@nx/nx-dev/ui-primitives';
+import Link from 'next/link';
export function Hero(): JSX.Element {
const [copied, setCopied] = useState(false);
@@ -33,14 +29,14 @@ export function Hero(): JSX.Element {
Introducing{' '}
Nx Agents,
the next leap in CI.{' '}
-
Read
more →
-
+
diff --git a/nx-dev/ui-home/src/lib/migrations-and-code-generation.tsx b/nx-dev/ui-home/src/lib/migrations-and-code-generation.tsx
index 61bf590a8b..7128bd4dce 100644
--- a/nx-dev/ui-home/src/lib/migrations-and-code-generation.tsx
+++ b/nx-dev/ui-home/src/lib/migrations-and-code-generation.tsx
@@ -113,12 +113,12 @@ export function MigrationsAndCodeGeneration(): JSX.Element {
- Run 'yarn nx migrate --run-migrations'
- To learn more go to
-
https://nx.dev/features/automate-updating-dependencies
-
+
diff --git a/nx-dev/ui-home/src/lib/nx-with-ci.tsx b/nx-dev/ui-home/src/lib/nx-with-ci.tsx
index 77ba41d1e5..43ac965f7d 100644
--- a/nx-dev/ui-home/src/lib/nx-with-ci.tsx
+++ b/nx-dev/ui-home/src/lib/nx-with-ci.tsx
@@ -8,6 +8,7 @@ import {
useMotionValue,
useTransform,
} from 'framer-motion';
+import Link from 'next/link';
import { useEffect, useRef } from 'react';
import { useInView } from 'react-intersection-observer';
@@ -145,12 +146,12 @@ export function NxWithCi(): JSX.Element {
diff --git a/nx-dev/ui-markdoc/src/lib/nodes/heading.component.tsx b/nx-dev/ui-markdoc/src/lib/nodes/heading.component.tsx
index 87bea50f9a..2f0cc6b322 100644
--- a/nx-dev/ui-markdoc/src/lib/nodes/heading.component.tsx
+++ b/nx-dev/ui-markdoc/src/lib/nodes/heading.component.tsx
@@ -1,4 +1,5 @@
import { LinkIcon } from '@heroicons/react/24/outline';
+import Link from 'next/link';
import { ReactNode } from 'react';
export function Heading({
@@ -20,9 +21,9 @@ export function Heading({
className={['not-prose group', className].filter(Boolean).join(' ')}
>
{children}
-
+
-
+
);
}
diff --git a/nx-dev/ui-markdoc/src/lib/tags/cards.component.tsx b/nx-dev/ui-markdoc/src/lib/tags/cards.component.tsx
index 1503c39dc1..192be83c70 100644
--- a/nx-dev/ui-markdoc/src/lib/tags/cards.component.tsx
+++ b/nx-dev/ui-markdoc/src/lib/tags/cards.component.tsx
@@ -8,6 +8,7 @@ import { frameworkIcons } from '../icons';
import { cx } from '@nx/nx-dev/ui-primitives';
import { ReactNode } from 'react';
+import Link from 'next/link';
const colsClasses: Record = {
1: 'grid-cols-1',
@@ -79,7 +80,7 @@ export function Cards({
{children}
{moreLink && (
)}
diff --git a/nx-dev/ui-markdoc/src/lib/tags/pill.component.tsx b/nx-dev/ui-markdoc/src/lib/tags/pill.component.tsx
index e8f5426281..ef1e6393d0 100644
--- a/nx-dev/ui-markdoc/src/lib/tags/pill.component.tsx
+++ b/nx-dev/ui-markdoc/src/lib/tags/pill.component.tsx
@@ -1,3 +1,4 @@
+import Link from 'next/link';
import { ReactNode } from 'react';
export function Pill({
@@ -10,13 +11,13 @@ export function Pill({
return (
-
{children}
-
+
);