forked from nodejs/nodejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: npm link to npm version (nodejs#6472)
* feat: npm link to npm version * Update NpmLink.tsx Co-authored-by: Caner Akdas <[email protected]> Signed-off-by: Claudio W <[email protected]> * chore: fix stuff * Update next.mdx.use.mjs Signed-off-by: Brian Muenzenmeyer <[email protected]> --------- Signed-off-by: Claudio W <[email protected]> Signed-off-by: Brian Muenzenmeyer <[email protected]> Co-authored-by: Caner Akdas <[email protected]> Co-authored-by: Brian Muenzenmeyer <[email protected]>
- Loading branch information
1 parent
5e6a6e2
commit 2bcf50d
Showing
11 changed files
with
30 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
'use client'; | ||
|
||
import { useContext } from 'react'; | ||
import type { FC } from 'react'; | ||
|
||
import LinkWithArrow from '@/components/Downloads/Release/LinkWithArrow'; | ||
import { ReleaseContext } from '@/providers/releaseProvider'; | ||
|
||
const NpmLink: FC = () => { | ||
const { release } = useContext(ReleaseContext); | ||
|
||
return ( | ||
<LinkWithArrow href={`https://www.npmjs.com/package/npm/v/${release.npm}`}> | ||
npm ({release.npm}) | ||
</LinkWithArrow> | ||
); | ||
}; | ||
|
||
export default NpmLink; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters