File tree Expand file tree Collapse file tree 3 files changed +935
-849
lines changed
components/Downloads/DownloadReleasesTable Expand file tree Collapse file tree 3 files changed +935
-849
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { useTranslations } from 'next-intl';
44import type { FC } from 'react' ;
55import { use } from 'react' ;
66
7- import LinkWithArrow from '#site/components/LinkWithArrow' ;
7+ import LinkWithArrow from '#site/components/Common/ LinkWithArrow' ;
88import { ReleaseModalContext } from '#site/providers/releaseModalProvider' ;
99import 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 >
Original file line number Diff line number Diff line change 22
33import BadgeGroup from '@node-core/ui-components/Common/BadgeGroup' ;
44
5+ import Button from './components/Common/Button' ;
6+ import LinkWithArrow from './components/Common/LinkWithArrow' ;
57import DownloadReleasesTable from './components/Downloads/DownloadReleasesTable' ;
8+ import Link from './components/Link' ;
69import UpcomingMeetings from './components/MDX/Calendar/UpcomingMeetings' ;
710import WithBadgeGroup from './components/withBadgeGroup' ;
811import 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} ;
You can’t perform that action at this time.
0 commit comments