Skip to content

Commit 1eb144a

Browse files
committed
github link
1 parent dd86b13 commit 1eb144a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/generators/web/components/NavBar.jsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import NavBar from '@node-core/ui-components/Containers/NavBar';
22
import NodejsLogo from '@node-core/ui-components/Common/NodejsLogo';
33
import ThemeToggle from '@node-core/ui-components/Common/ThemeToggle';
4+
import styles from '@node-core/ui-components/Containers/NavBar/index.module.css';
5+
import GitHubIcon from '@node-core/ui-components/Icons/Social/GitHub';
46

57
import { useTheme } from '../hooks/useTheme.mjs';
68
import SearchBox from './SearchBox';
@@ -51,6 +53,13 @@ const MDXNavBar = () => {
5153
onClick={toggleTheme}
5254
aria-label={`Switch to ${theme === 'light' ? 'dark' : 'light'} theme`}
5355
/>
56+
<a
57+
href="https://github.com/nodejs/node"
58+
aria-label="Node.js Github"
59+
className={styles.ghIconWrapper}
60+
>
61+
<GitHubIcon />
62+
</a>
5463
</NavBar>
5564
);
5665
};

0 commit comments

Comments
 (0)