File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/generators/web/components Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
import NavBar from '@node-core/ui-components/Containers/NavBar' ;
2
2
import NodejsLogo from '@node-core/ui-components/Common/NodejsLogo' ;
3
3
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' ;
4
6
5
7
import { useTheme } from '../hooks/useTheme.mjs' ;
6
8
import SearchBox from './SearchBox' ;
@@ -51,6 +53,13 @@ const MDXNavBar = () => {
51
53
onClick = { toggleTheme }
52
54
aria-label = { `Switch to ${ theme === 'light' ? 'dark' : 'light' } theme` }
53
55
/>
56
+ < a
57
+ href = "https://github.com/nodejs/node"
58
+ aria-label = "Node.js Github"
59
+ className = { styles . ghIconWrapper }
60
+ >
61
+ < GitHubIcon />
62
+ </ a >
54
63
</ NavBar >
55
64
) ;
56
65
} ;
You can’t perform that action at this time.
0 commit comments