File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1- # NeatoJS
1+ # NeatoJS for Test
22
33- typescript first
44- modular
Original file line number Diff line number Diff line change 11import { useContext , useEffect , useState } from 'react' ;
22import classNames from 'classnames' ;
3+ import { Sun , Moon } from 'lucide-react' ;
34import { GuiderLayoutContext } from '../../page/context' ;
45import { useGuider } from '../../hooks/use-guider' ;
56import { GithubDisplay } from '../../components/github' ;
@@ -10,9 +11,6 @@ import { HeaderDropdown } from './dropdown';
1011import { SidebarMobileNav } from './sidebar-mobile-nav' ;
1112import { TopMobileNav } from './top-mobile-nav' ;
1213import { HeaderSearch } from './search' ;
13- import { Sun } from 'lucide-react' ;
14- import { Moon } from 'lucide-react' ;
15-
1614
1715export function HeaderInternal ( ) {
1816 const ctx = useContext ( GuiderLayoutContext ) ;
@@ -69,10 +67,10 @@ export function HeaderInternal() {
6967 />
7068 ) : null }
7169 </ div >
72- { isDark ?
70+ { /* { isDark ?
7371 <Moon onClick={() => setIsDark(false)} /> :
7472 <Sun onClick={() => setIsDark(true)} />
75- }
73+ } */ }
7674 < div className = "gd-flex md:gd-hidden gd-items-center" >
7775 { site . navigation . length > 0 || site . github ? (
7876 < TopMobileNav
You can’t perform that action at this time.
0 commit comments