Skip to content

Commit 464acd9

Browse files
fix
1 parent c7d66ab commit 464acd9

5 files changed

Lines changed: 18 additions & 14 deletions

File tree

apps/site/mdx/components.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22

3+
import AlertBox from '@node-core/ui-components/Common/AlertBox';
34
import BadgeGroup from '@node-core/ui-components/Common/BadgeGroup';
45
import Blockquote from '@node-core/ui-components/Common/Blockquote';
56
import MDXCodeTabs from '@node-core/ui-components/MDX/CodeTabs';
@@ -46,6 +47,8 @@ export default {
4647
blockquote: Blockquote,
4748
pre: MDXCodeBox,
4849
img: MDXImage,
50+
// Allow the writter to use an pretty alert box
51+
AlertBox,
4952
// Renders MDX CodeTabs
5053
CodeTabs: MDXCodeTabs,
5154
// Renders a Download Button

apps/site/next.mdx.use.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22

3-
import AlertBox from '@node-core/ui-components/Common/AlertBox/index.js';
43
import BadgeGroup from '@node-core/ui-components/Common/BadgeGroup';
54

65
import Button from './components/Common/Button';
@@ -20,7 +19,6 @@ import WithNodeRelease from './components/withNodeRelease';
2019
* @satisfies {import('mdx/types').MDXComponents}
2120
*/
2221
export const mdxComponents = {
23-
AlertBox,
2422
PreviousReleasesTable,
2523
// HOC for getting Node.js Release Metadata
2624
WithNodeRelease,

apps/site/pages/en/blog/migrations/v12-to-v14.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ author: AugustinMauroy
88

99
# Node.js v12 to v14
1010

11-
<AlertBox
12-
level="warning"
13-
title="This article cover a part of the migration from Node.js v12 to v14. The userland migrations team is working on more codemods to help you with the migration."
14-
/>
11+
<AlertBox level="warning" title="!">
12+
This article cover a part of the migration from Node.js v12 to v14. The
13+
userland migrations team is working on more codemods to help you with the
14+
migration.
15+
</AlertBox>
1516

1617
This page provides a list of codemods to help you migrate your code from Node.js v12 to v14.
1718

apps/site/pages/en/blog/migrations/v20-to-v22.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ author: AugustinMauroy
88

99
# Node.js v20 to v22
1010

11-
<AlertBox
12-
level="warning"
13-
title="This article cover a part of the migration from Node.js v20 to v22. The userland migrations team is working on more codemods to help you with the migration."
14-
/>
11+
<AlertBox level="warning" title="!">
12+
This article cover a part of the migration from Node.js v20 to v22. The
13+
userland migrations team is working on more codemods to help you with the
14+
migration.
15+
</AlertBox>
1516

1617
This page provides a list of codemods to help you migrate your code from Node.js v20 to v22.
1718

apps/site/pages/en/blog/migrations/v22-to-v24.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ author: AugustinMauroy
88

99
# Node.js v22 to v24
1010

11-
<AlertBox
12-
level="warning"
13-
title="This article cover a part of the migration from Node.js v22 to v24. The userland migrations team is working on more codemods to help you with the migration."
14-
/>
11+
<AlertBox level="warning" title="!">
12+
This article cover a part of the migration from Node.js v22 to v24. The
13+
userland migrations team is working on more codemods to help you with the
14+
migration.
15+
</AlertBox>
1516

1617
This page provides a list of codemods to help you migrate your code from Node.js v22 to v24.
1718

0 commit comments

Comments
 (0)