Skip to content

Commit 7babcc8

Browse files
committed
chore: button variants, and updated eol page; removed translated previous-releases (outdated pages)
1 parent 2fbd30a commit 7babcc8

File tree

18 files changed

+63
-514
lines changed

18 files changed

+63
-514
lines changed

apps/site/components/Common/Button.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import BaseButton, {
2-
type ButtonProps,
3-
} from '@node-core/ui-components/Common/BaseButton';
1+
import BaseButton from '@node-core/ui-components/Common/BaseButton';
2+
import type { ButtonProps } from '@node-core/ui-components/Common/BaseButton';
43
import type { FC, ComponentProps } from 'react';
54

65
import Link from '#site/components/Link';

apps/site/pages/en/eol.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ Major versions of Node.js are released, patched, and designated End-Of-Life on a
1313
[View the Node.js release schedule](/about/releases/).
1414

1515
<div className="flex flex-col gap-2">
16-
<Button kind="special" className="!hidden dark:!block" href="/download">Get latest Node.js® LTS</Button>
17-
<Button kind="primary" className="!block dark:!hidden" href="/download">Get latest Node.js® LTS</Button>
16+
<Button kind="primary" href="/download">Get latest Node.js® LTS</Button>
1817

19-
<Button kind="secondary" className="!block" href="https://www.herodevs.com/support/node-nes?utm_source=NodeJS+&utm_medium=Link&utm_campaign=Nodejs_eol_support">
18+
<Button kind="warning" className="!block" href="https://nodejs.org/esp/herodevs">
2019
<span>Get security support</span>
2120
<br />
22-
<small className="!text-xs">for Node.js 18 and below</small>
21+
<small className="!text-xs">for EOL Node.js versions</small>
2322
</Button>
2423
</div>
2524

@@ -40,6 +39,6 @@ When a version reaches End-Of-Life, it means that it will no longer receive upda
4039

4140
Despite the obvious downsides of using EOL releases, in practice, organizations face constraints that prevent immediate upgrades, such as legacy codebases, compliance requirements, or complex dependency chains. For users who cannot upgrade immediately but needs continued security support for End-Of-Life versions of Node.js, commercial support is available through the [OpenJS Ecosystem Sustainability Program](https://openjsf.org/blog/ecosystem-sustainability-program) partnership.
4241

43-
Node.js currently partners with HeroDevs to provide Never-Ending Support (NES) for Node.js versions past their official maintenance phase. This includes security patches, compliance assistance, and technical support to help bridge the gap while you plan your upgrade strategy. For more detailed information, visit the [**HeroDevs Node.js NES page**](https://www.herodevs.com/support/node-nes?utm_source=NodeJS+&utm_medium=Link&utm_campaign=Nodejs_eol_support).
42+
Node.js currently partners with HeroDevs to provide Never-Ending Support (NES) for Node.js versions past their official maintenance phase. This includes security patches, compliance assistance, and technical support to help bridge the gap while you plan your upgrade strategy. For more detailed information, visit the [**HeroDevs Node.js NES page**](https://nodejs.org/esp/herodevs).
4443

4544
Using EOL releases through NES should be viewed as a temporary solution—the goal should always be to upgrade to actively supported versions.

apps/site/pages/en/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ layout: home
2121

2222
<Button kind="primary" className="!block dark:!hidden" href="/download">Get Node.js®</Button>
2323

24-
<Button kind="secondary" className="!block" href="/eol#commercial-support">
24+
<Button kind="secondary" className="!block" href="/eol">
2525
<span>Get security support</span>
2626
<br />
27-
<small className="!text-xs">for Node.js 18 and below</small>
27+
<small className="!text-xs">for EOL Node.js versions</small>
2828
</Button>
2929
</div>
3030

apps/site/pages/es/about/previous-releases.mdx

Lines changed: 0 additions & 53 deletions
This file was deleted.

apps/site/pages/fa/about/previous-releases.mdx

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/site/pages/fr/about/previous-releases.mdx

Lines changed: 0 additions & 53 deletions
This file was deleted.

apps/site/pages/id/about/previous-releases.mdx

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)