diff --git a/components/Docs/NodeApiVersionLinks.tsx b/components/Docs/NodeApiVersionLinks.tsx index 957fb2d81f7a6..d7035f7da7b33 100644 --- a/components/Docs/NodeApiVersionLinks.tsx +++ b/components/Docs/NodeApiVersionLinks.tsx @@ -1,65 +1,59 @@ -import Link from 'next/link'; - // Note.: This is a temporary Component used only until the transition to `nodejs/nodejs.dev` content is done const NodeApiVersionLinks = () => ( ); diff --git a/components/Downloads/DownloadList.tsx b/components/Downloads/DownloadList.tsx index 8f4d10326a2a3..a9dfdb6064857 100644 --- a/components/Downloads/DownloadList.tsx +++ b/components/Downloads/DownloadList.tsx @@ -1,5 +1,4 @@ import { FormattedMessage } from 'react-intl'; -import Link from 'next/link'; import LocalisedLink from '../LocalisedLink'; import { useNavigation } from '../../hooks/useNavigation'; @@ -23,9 +22,9 @@ const DownloadList = (props: DownloadListProps) => {
  • {item.text} {item.key === 'shaSums' && ( - - - + + + )}
  • ))} diff --git a/components/Downloads/DownloadReleasesTable.tsx b/components/Downloads/DownloadReleasesTable.tsx index 703096894625e..c627a9a2ffb17 100644 --- a/components/Downloads/DownloadReleasesTable.tsx +++ b/components/Downloads/DownloadReleasesTable.tsx @@ -36,15 +36,15 @@ const DownloadReleasesTable = ({ releases }: DownloadReleasesTableProps) => ( {release.npm} {release.modules} - + - - + + - - + + - + ))} diff --git a/components/Downloads/PrimaryDownloadMatrix.tsx b/components/Downloads/PrimaryDownloadMatrix.tsx index bc79c1b22614a..d6defb6bcba5c 100644 --- a/components/Downloads/PrimaryDownloadMatrix.tsx +++ b/components/Downloads/PrimaryDownloadMatrix.tsx @@ -1,4 +1,3 @@ -import Link from 'next/link'; import classNames from 'classnames'; import LocalisedLink from '../LocalisedLink'; @@ -54,7 +53,7 @@ const PrimaryDownloadMatrix = (props: PrimaryDownloadMatrixProps) => { @@ -114,103 +113,103 @@ const PrimaryDownloadMatrix = (props: PrimaryDownloadMatrixProps) => { {downloads.WindowsInstaller} (.msi) - 32-bit - + - 64-bit - + {downloads.WindowsBinary} (.zip) - 32-bit - + - 64-bit - + {downloads.MacOSInstaller} (.pkg) - 64-bit / ARM64 - + {downloads.MacOSBinary} (.tar.gz) - 64-bit - + - ARM64 - + {downloads.LinuxBinaries} (x64) - 64-bit - + {downloads.LinuxBinaries} (ARM) - ARMv7 - + - ARMv8 - + {downloads.SourceCode} - node-{props.node}.tar.gz - + diff --git a/components/Downloads/SecondaryDownloadMatrix.tsx b/components/Downloads/SecondaryDownloadMatrix.tsx index 19e4facba91dd..2ad51fbf513d6 100644 --- a/components/Downloads/SecondaryDownloadMatrix.tsx +++ b/components/Downloads/SecondaryDownloadMatrix.tsx @@ -1,5 +1,3 @@ -import Link from 'next/link'; - import DownloadList from './DownloadList'; import { useNextraContext } from '../../hooks/useNextraContext'; @@ -23,41 +21,41 @@ const SecondaryDownloadMatrix = (props: SecondaryDownloadMatrixProps) => { {additional.DockerImage} - + {additional.officialDockerImage} - + {additional.LinuxPowerSystems} - 64-bit - + {additional.LinuxSystemZ} - 64-bit - + {additional.AIXPowerSystems} - 64-bit - + diff --git a/components/Footer.tsx b/components/Footer.tsx index 8a5cf25adeb46..b772f5c7619c6 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,5 +1,4 @@ import { FormattedMessage } from 'react-intl'; -import Link from 'next/link'; type FooterProps = { className?: string }; @@ -15,52 +14,36 @@ const Footer = ({ className }: FooterProps) => (

    - Copyright OpenJS Foundation{' '} - and Node.js contributors. All rights reserved. The{' '} - OpenJS Foundation has - registered trademarks and uses trademarks. For a list of trademarks - of the OpenJS Foundation, - please see our{' '} - - Trademark Policy - {' '} - and{' '} - - Trademark List - - . Trademarks and logos not indicated on the{' '} - + Copyright OpenJS Foundation and + Node.js contributors. All rights reserved. The{' '} + OpenJS Foundation has registered + trademarks and uses trademarks. For a list of trademarks of the{' '} + OpenJS Foundation, please see our{' '} + Trademark Policy{' '} + and Trademark List. + Trademarks and logos not indicated on the{' '} + list of OpenJS Foundation trademarks - {' '} + {' '} are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

    - The OpenJS Foundation + The OpenJS Foundation  |  - Terms of Use + Terms of Use  |  - - Privacy Policy - + Privacy Policy  |  - Bylaws |  - - Code of Conduct - + Bylaws |  + Code of Conduct  |  - - Trademark Policy - + Trademark Policy  |  - - Trademark List - + Trademark List  |  - - Cookie Policy - + Cookie Policy

    diff --git a/layouts/IndexLayout.tsx b/layouts/IndexLayout.tsx index 58f5cb75185e5..a770316ba730d 100644 --- a/layouts/IndexLayout.tsx +++ b/layouts/IndexLayout.tsx @@ -1,5 +1,4 @@ import type { PropsWithChildren } from 'react'; -import Link from 'next/link'; import BaseLayout from './BaseLayout'; import Banner from '../components/Home/Banner'; @@ -31,9 +30,9 @@ const IndexLayout = ({ children }: PropsWithChildren) => {

    {labels['version-schedule-prompt']}{' '} - + {labels['version-schedule-prompt-link-text']} - + .

    diff --git a/pages/_document.tsx b/pages/_document.tsx index 73cab4bf4e07b..40a2906bc246e 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,7 +1,6 @@ import React from 'react'; import Script from 'next/script'; import { Html, Head, Main, NextScript } from 'next/document'; -import Link from 'next/link'; // @TODO: The custom scripts should be removed in the future when switching over `nodejs/nodejs.dev` codebase // Note.: Some of these scripts will also be completely removed from the codebase such as jQuery @@ -14,7 +13,7 @@ export default function Document() {