Skip to content

Commit

Permalink
Merge branch 'main' into fix/unoptimized-svg-image
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd authored Nov 20, 2024
2 parents 88d3b0a + 635f2b3 commit 2697e02
Show file tree
Hide file tree
Showing 10 changed files with 243 additions and 17 deletions.
8 changes: 7 additions & 1 deletion apps/site/components/Downloads/DownloadButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Button from '@/components/Common/Button';
import { useDetectOS } from '@/hooks';
import type { NodeRelease } from '@/types';
import { getNodeDownloadUrl } from '@/util/getNodeDownloadUrl';
import { getUserBitnessByArchitecture } from '@/util/getUserBitnessByArchitecture';

import styles from './index.module.css';

Expand All @@ -17,7 +18,12 @@ const DownloadButton: FC<PropsWithChildren<DownloadButtonProps>> = ({
release: { versionWithPrefix },
children,
}) => {
const { os, bitness } = useDetectOS();
const {
os,
bitness: userBitness,
architecture: userArchitecture,
} = useDetectOS();
const bitness = getUserBitnessByArchitecture(userArchitecture, userBitness);
const downloadLink = getNodeDownloadUrl(versionWithPrefix, os, bitness);

return (
Expand Down
220 changes: 220 additions & 0 deletions apps/site/pages/en/blog/release/v20.18.1.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apps/site/pages/en/download/package-manager/current.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Install Node.js <Release.VersionDropdown /> on <Release.OperatingSystemDropdown
<section>
Node.js includes <Release.NpmLink />.

Read the changelog for <Release.ChangelogLink>this version</Release.ChangelogLink>
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> for this version.

Read the blog post for <Release.BlogPostLink>this version</Release.BlogPostLink>
Read the <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version.

Learn how to <Release.VerifyingBinariesLink>verify signed SHASUMS</Release.VerifyingBinariesLink>

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/en/download/package-manager/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Install Node.js <Release.VersionDropdown /> on <Release.OperatingSystemDropdown
<section>
Node.js includes <Release.NpmLink />.

Read the changelog for <Release.ChangelogLink>this version</Release.ChangelogLink>
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> for this version

Read the blog post for <Release.BlogPostLink>this version</Release.BlogPostLink>
Read the <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version

Learn how to <Release.VerifyingBinariesLink>verify signed SHASUMS</Release.VerifyingBinariesLink>

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/en/download/prebuilt-binaries/current.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ I want the <Release.VersionDropdown /> version of Node.js for <Release.Operating
<section>
Node.js includes <Release.NpmLink />.

Read the changelog for <Release.ChangelogLink>this version</Release.ChangelogLink>
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> for this version

Read the blog post for <Release.BlogPostLink>this version</Release.BlogPostLink>
Read the <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version

Learn how to <Release.VerifyingBinariesLink>verify signed SHASUMS</Release.VerifyingBinariesLink>

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/en/download/prebuilt-binaries/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ I want the <Release.VersionDropdown /> version of Node.js for <Release.Operating
<section>
Node.js includes <Release.NpmLink />.

Read the changelog for <Release.ChangelogLink>this version</Release.ChangelogLink>.
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> for this version.

Read the blog post for <Release.BlogPostLink>this version</Release.BlogPostLink>.
Read the <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version.

Learn how to <Release.VerifyingBinariesLink>verify signed SHASUMS</Release.VerifyingBinariesLink>.

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/en/download/prebuilt-installer/current.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ I want the <Release.VersionDropdown /> version of Node.js for <Release.Operating
<section>
Node.js includes <Release.NpmLink />.

Read the changelog for <Release.ChangelogLink>this version</Release.ChangelogLink>
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> for this version

Read the blog post for <Release.BlogPostLink>this version</Release.BlogPostLink>
Read the <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version

Learn how to <Release.VerifyingBinariesLink>verify signed SHASUMS</Release.VerifyingBinariesLink>

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/en/download/prebuilt-installer/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ I want the <Release.VersionDropdown /> version of Node.js for <Release.Operating
<section>
Node.js includes <Release.NpmLink />.

Read the changelog for <Release.ChangelogLink>this version</Release.ChangelogLink>
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> for this version.

Read the blog post for <Release.BlogPostLink>this version</Release.BlogPostLink>
Read the <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version.

Learn how to <Release.VerifyingBinariesLink>verify signed SHASUMS</Release.VerifyingBinariesLink>

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/en/download/source-code/current.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ I want the <Release.VersionDropdown /> version of the Node.js source code.
<section>
Node.js includes <Release.NpmLink />.

Read the changelog for <Release.ChangelogLink>this version</Release.ChangelogLink>
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> for this version.

Read the blog post for <Release.BlogPostLink>this version</Release.BlogPostLink>
Read the <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version.

Learn how to <Release.VerifyingBinariesLink>verify signed SHASUMS</Release.VerifyingBinariesLink>

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/en/download/source-code/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ I want the <Release.VersionDropdown /> version of the Node.js source code.
<section>
Node.js includes <Release.NpmLink />.

Read the changelog for <Release.ChangelogLink>this version</Release.ChangelogLink>
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> for this version.

Read the blog post for <Release.BlogPostLink>this version</Release.BlogPostLink>
Read the <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version.

Learn how to <Release.VerifyingBinariesLink>verify signed SHASUMS</Release.VerifyingBinariesLink>

Expand Down

0 comments on commit 2697e02

Please sign in to comment.