Skip to content

Commit f185c88

Browse files
resolve PR conflict
1 parent 7de218f commit f185c88

File tree

3 files changed

+935
-849
lines changed

3 files changed

+935
-849
lines changed

apps/site/components/Downloads/DownloadReleasesTable/DetailsButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useTranslations } from 'next-intl';
44
import type { FC } from 'react';
55
import { use } from 'react';
66

7-
import LinkWithArrow from '#site/components/LinkWithArrow';
7+
import LinkWithArrow from '#site/components/Common/LinkWithArrow';
88
import { ReleaseModalContext } from '#site/providers/releaseModalProvider';
99
import type { NodeRelease } from '#site/types';
1010

@@ -21,7 +21,6 @@ const DetailsButton: FC<DetailsButtonProps> = ({ versionData }) => {
2121
<LinkWithArrow
2222
onClick={() => openModal(versionData)}
2323
aria-label={t('details')}
24-
className="cursor-pointer"
2524
>
2625
{t('details')}
2726
</LinkWithArrow>

apps/site/next.mdx.use.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
import BadgeGroup from '@node-core/ui-components/Common/BadgeGroup';
44

5+
import Button from './components/Common/Button';
6+
import LinkWithArrow from './components/Common/LinkWithArrow';
57
import DownloadReleasesTable from './components/Downloads/DownloadReleasesTable';
8+
import Link from './components/Link';
69
import UpcomingMeetings from './components/MDX/Calendar/UpcomingMeetings';
710
import WithBadgeGroup from './components/withBadgeGroup';
811
import WithBanner from './components/withBanner';
@@ -25,4 +28,10 @@ export const mdxComponents = {
2528
BadgeGroup,
2629
// Renders an container for Upcoming Node.js Meetings
2730
UpcomingMeetings,
31+
// Renders a Button Component for `button` tags
32+
Button,
33+
// Regular links (without arrow)
34+
Link,
35+
// Links with External Arrow
36+
LinkWithArrow,
2837
};

0 commit comments

Comments
 (0)