Skip to content

Commit 2fc4b55

Browse files
update header
1 parent 86793a1 commit 2fc4b55

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# NeatoJS
1+
# NeatoJS for Test
22

33
- typescript first
44
- modular

packages/guider/src/client/partials/header/header.tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { useContext, useEffect, useState } from 'react';
22
import classNames from 'classnames';
3+
import { Sun, Moon } from 'lucide-react';
34
import { GuiderLayoutContext } from '../../page/context';
45
import { useGuider } from '../../hooks/use-guider';
56
import { GithubDisplay } from '../../components/github';
@@ -10,9 +11,6 @@ import { HeaderDropdown } from './dropdown';
1011
import { SidebarMobileNav } from './sidebar-mobile-nav';
1112
import { TopMobileNav } from './top-mobile-nav';
1213
import { HeaderSearch } from './search';
13-
import { Sun } from 'lucide-react';
14-
import { Moon } from 'lucide-react';
15-
1614

1715
export 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

0 commit comments

Comments
 (0)