File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
- # NeatoJS
1
+ # NeatoJS for Test
2
2
3
3
- typescript first
4
4
- modular
Original file line number Diff line number Diff line change 1
1
import { useContext , useEffect , useState } from 'react' ;
2
2
import classNames from 'classnames' ;
3
+ import { Sun , Moon } from 'lucide-react' ;
3
4
import { GuiderLayoutContext } from '../../page/context' ;
4
5
import { useGuider } from '../../hooks/use-guider' ;
5
6
import { GithubDisplay } from '../../components/github' ;
@@ -10,9 +11,6 @@ import { HeaderDropdown } from './dropdown';
10
11
import { SidebarMobileNav } from './sidebar-mobile-nav' ;
11
12
import { TopMobileNav } from './top-mobile-nav' ;
12
13
import { HeaderSearch } from './search' ;
13
- import { Sun } from 'lucide-react' ;
14
- import { Moon } from 'lucide-react' ;
15
-
16
14
17
15
export function HeaderInternal ( ) {
18
16
const ctx = useContext ( GuiderLayoutContext ) ;
@@ -69,10 +67,10 @@ export function HeaderInternal() {
69
67
/>
70
68
) : null }
71
69
</ div >
72
- { isDark ?
70
+ { /* { isDark ?
73
71
<Moon onClick={() => setIsDark(false)} /> :
74
72
<Sun onClick={() => setIsDark(true)} />
75
- }
73
+ } */ }
76
74
< div className = "gd-flex md:gd-hidden gd-items-center" >
77
75
{ site . navigation . length > 0 || site . github ? (
78
76
< TopMobileNav
You can’t perform that action at this time.
0 commit comments