Skip to content

Commit f533ebc

Browse files
committed
refactor: markdown content editing and Node.js logo added
1 parent 2b17e6b commit f533ebc

File tree

2 files changed

+26
-17
lines changed

2 files changed

+26
-17
lines changed

apps/site/components/Downloads/ReleaseModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ReleaseModal: FC<ReleaseModalProps> = ({
2626
: 'components.releaseModal.titleWithoutCodename';
2727

2828
const modalHeading = t(modalHeadingKey, {
29-
version: release.major,
29+
version: `v${release.major}`,
3030
codename: release.codename ?? '',
3131
});
3232

apps/site/pages/en/download/archive.mdx

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,38 @@ layout: download-archive
77
{({ binaries, installers, version, release, sources, navigation }) => (
88
<>
99
<h1>Node.js Download Archive</h1>
10-
<h2>
10+
11+
<h2 className="flex items-center gap-2">
12+
<img
13+
src="/static/images/favicons/favicon.png"
14+
alt="Node.js Logo"
15+
width="24"
16+
height="24"
17+
/>
1118
{version}
1219
{release.codename && ` (${release.codename})`}
1320
</h2>
21+
1422
<WithReleaseAlertBox status={release.status} />
23+
1524
<ReleaseOverview release={release} />
25+
1626
<ul>
27+
1728
<li>
18-
Learn more about{' '}
19-
<Link href="/about/previous-releases">Node.js releases</Link>,
20-
including the release schedule and LTS status.
29+
Learn more about <Link href="/about/previous-releases">Node.js releases</Link>, including the release schedule and LTS status.
2130
</li>
31+
2232
<li>
23-
<LinkWithArrow href={sources.shasum}>Signed SHASUMS</LinkWithArrow>{' '}
24-
for release files. How to{' '}
25-
<LinkWithArrow href="https://github.com/nodejs/node#verifying-binaries">
26-
verify
27-
</LinkWithArrow>{' '}
28-
signed SHASUMS.
33+
<LinkWithArrow href={sources.shasum}>Signed SHASUMS</LinkWithArrow> for release files. How to <LinkWithArrow href="https://github.com/nodejs/node#verifying-binaries">verify</LinkWithArrow> signed SHASUMS.
2934
</li>
35+
3036
<li>
31-
Download a signed{' '}
32-
<LinkWithArrow href={sources.tarball}>
33-
Node.js {version} source
34-
</LinkWithArrow>{' '}
35-
tarball.
37+
Download a signed <LinkWithArrow href={sources.tarball}>Node.js {version} source</LinkWithArrow> tarball.
3638
</li>
39+
3740
</ul>
41+
3842
<details>
3943
<summary>
4044
<h3>Other releases</h3>
@@ -49,12 +53,17 @@ layout: download-archive
4953
))}
5054
</ul>
5155
</details>
56+
5257
<h2>Binary Downloads</h2>
5358
<DownloadsTable source={binaries} />
59+
5460
<h2>Installer Packages</h2>
5561
<DownloadsTable source={installers} />
62+
5663
<h2>Minor versions</h2>
5764
<MinorReleasesTable releases={release.minorVersions} />
5865
</>
59-
)}
66+
67+
)}
68+
6069
</WithDownloadArchive>

0 commit comments

Comments
 (0)