diff --git a/layouts/css/page-modules/_download.styl b/layouts/css/page-modules/_download.styl index 6b650c7be38fb..28b7e5e616c4c 100644 --- a/layouts/css/page-modules/_download.styl +++ b/layouts/css/page-modules/_download.styl @@ -1,3 +1,20 @@ +.download-header + + h1 + width 40% + float left + + ul + margin-top 2rem + width 40% + float right + text-align right + +.download-header::after + display block + clear both + content "" + .download-hero display table margin-bottom 1em diff --git a/layouts/download-stable.hbs b/layouts/download-stable.hbs new file mode 100644 index 0000000000000..bcf6122553bc0 --- /dev/null +++ b/layouts/download-stable.hbs @@ -0,0 +1,64 @@ + + +{{> html-head }} + + + {{> header }} + +
+
+
+
+

{{downloads.headline}}

+ +
+ + {{> download-matrix version=project.currentVersions.stable}} + +
+

{{additional.headline}}

+

{{additional.intro}}

+ + + + + + + + + + + + + + + + + + + + + + + + +
{{additional.platform}}{{additional.provider}}
AIX on Power SystemsIBM{{download}}
Linux on Power SystemsIBM{{download}}
Linux on System zIBM{{download}}
+ +
+ +
+ +
+
+ + {{> footer }} + + + diff --git a/layouts/download.hbs b/layouts/download.hbs index 9af33378296b4..8a1491a354567 100644 --- a/layouts/download.hbs +++ b/layouts/download.hbs @@ -8,97 +8,22 @@
-

{{downloads.headline}}

- -
-

{{downloads.intro}}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Windows Installer (.msi)32-bit64-bit
Windows Binary (.exe)32-bit64-bit
Mac OS X Installer (.pkg)64-bit
Mac OS X Binaries (.tar.gz)64-bit
Linux Binaries (.tar.gz)32-bit64-bit
SunOS Binaries (.tar.gz)32-bit64-bit
ARM Binaries (.tar.gz)ARMv6ARMv7ARMv8
Source Code - node-{{project.currentVersion}}.tar.gz -
- - {{downloads.currentVersion}}: {{project.currentVersion}} -
+ {{/if}} +
+ + {{> download-matrix version=project.currentVersions.lts}}

{{additional.headline}}

diff --git a/layouts/partials/download-matrix.hbs b/layouts/partials/download-matrix.hbs new file mode 100644 index 0000000000000..cc96f0399b8ad --- /dev/null +++ b/layouts/partials/download-matrix.hbs @@ -0,0 +1,89 @@ +
+

{{downloads.intro}}

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Windows Installer (.msi)32-bit64-bit
Windows Binary (.exe)32-bit64-bit
Mac OS X Installer (.pkg)64-bit
Mac OS X Binaries (.tar.gz)64-bit
Linux Binaries (.tar.gz)32-bit64-bit
SunOS Binaries (.tar.gz)32-bit64-bit
ARM Binaries (.tar.gz)ARMv6ARMv7ARMv8
Source Code + node-{{version}}.tar.gz +
+ + {{downloads.currentVersion}}: {{version}} + +

{{downloads.buildDisclaimer}}

+
diff --git a/locale/en/download/index.md b/locale/en/download/index.md index 2cd0c27788d23..b428d843219ff 100644 --- a/locale/en/download/index.md +++ b/locale/en/download/index.md @@ -4,6 +4,9 @@ title: Download download: Download downloads: headline: Downloads + lts: LTS + stable: Stable + display-hint: Display downloads for intro: > Download the Node.js source code or a pre-built installer for your platform, and start developing today. currentVersion: Current version diff --git a/locale/en/download/stable.md b/locale/en/download/stable.md new file mode 100644 index 0000000000000..df96995b7feaf --- /dev/null +++ b/locale/en/download/stable.md @@ -0,0 +1,20 @@ +--- +layout: download-stable.hbs +title: Download +download: Download +downloads: + headline: Downloads + lts: LTS + stable: Stable + display-hint: Display downloads for + intro: > + Download the Node.js source code or a pre-built installer for your platform, and start developing today. + currentVersion: Current stable version + buildDisclaimer: "Note: Python 2.6 or 2.7 is required to build from source tarballs." +additional: + headline: Additional Platforms + intro: > + Members of the Node.js community maintain unofficial builds of Node.js for additional platforms. Note that such builds are not supported by the Node.js core team and may not yet be at the same build level as current Node.js release. + platform: Platform + provider: Provider +---