You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(download): show WSL info message when Windows(WIN) OS is selected
- Add WSLMessage component to display information about Windows Subsystem for Linux (WSL)
- Show WSLMessage only once, directly below the `Download Node.js®` title, when Windows(WIN) is selected in any OS dropdown
- Refactor context usage to allow independent OS selection in each dropdown
- Register WSLMessage and WindowsWSLMessage in MDX components for use in MDX files
- Improve user experience by providing relevant WSL info at the right place and time
- Enhanced both for Dark and Light Theme with Blue background and border and glowing theme perfectly matching the ui theme of the website !
Issue #7651
Signed-off-by: vishal <[email protected]>
Copy file name to clipboardExpand all lines: apps/site/pages/en/download/index.mdx
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,25 +3,23 @@ layout: download
3
3
title: Download Node.js®
4
4
---
5
5
6
-
<section>
6
+
<WindowsWSLMessage />
7
7
8
-
Get Node.js® <Release.VersionDropdown /> for <Release.OperatingSystemDropdown /> using <Release.InstallationMethodDropdown /> with <Release.PackageManagerDropdown />
8
+
<section>
9
+
Get Node.js® <Release.VersionDropdown /> for <Release.OperatingSystemDropdown /> using <Release.InstallationMethodDropdown /> with <Release.PackageManagerDropdown />
9
10
10
11
<Release.ReleaseCodeBox />
11
12
12
-
<Release.Provider>
13
-
14
-
Or get a prebuilt Node.js® for <Release.OperatingSystemDropdown /> running a <Release.PlatformDropdown /> architecture.
13
+
<Release.Provider>
14
+
Or get a prebuilt Node.js® for <Release.OperatingSystemDropdown /> running a <Release.PlatformDropdown /> architecture.
15
15
16
-
<Release.PrebuiltDownloadButtons />
17
-
18
-
</Release.Provider>
16
+
<Release.PrebuiltDownloadButtons />
19
17
18
+
</Release.Provider>
20
19
</section>
21
20
22
21
<section>
23
-
24
-
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> or <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version.
22
+
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> or <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version.
25
23
26
24
Learn more about [Node.js releases](/about/previous-releases), including the release schedule and LTS status.
Copy file name to clipboardExpand all lines: apps/site/pages/id/download/index.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ layout: download
3
3
title: Unduh Node.js®
4
4
---
5
5
6
+
<WindowsWSLMessage />
7
+
6
8
<section>
7
9
Dapatkan Node.js® <Release.VersionDropdown /> untuk <Release.OperatingSystemDropdown /> menggunakan <Release.InstallationMethodDropdown /> dengan <Release.PackageManagerDropdown />
Copy file name to clipboardExpand all lines: apps/site/pages/ko/download/index.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ layout: download
3
3
title: Node.js® 다운로드
4
4
---
5
5
6
+
<WindowsWSLMessage />
7
+
6
8
<section>
7
9
Node.js® <Release.VersionDropdown />를 <Release.OperatingSystemDropdown /> 환경에서 <Release.InstallationMethodDropdown /> 방식으로 <Release.PackageManagerDropdown />를(을) 사용해 설치하세요.
0 commit comments