diff --git a/README.md b/README.md index 252d99e..37dfc06 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# NeatoJS +# NeatoJS for Test - typescript first - modular diff --git a/packages/guider/src/client/partials/header/header.tsx b/packages/guider/src/client/partials/header/header.tsx index 86d3f02..65122f9 100644 --- a/packages/guider/src/client/partials/header/header.tsx +++ b/packages/guider/src/client/partials/header/header.tsx @@ -1,5 +1,6 @@ import { useContext, useEffect, useState } from 'react'; import classNames from 'classnames'; +import { Sun, Moon } from 'lucide-react'; import { GuiderLayoutContext } from '../../page/context'; import { useGuider } from '../../hooks/use-guider'; import { GithubDisplay } from '../../components/github'; @@ -10,9 +11,6 @@ import { HeaderDropdown } from './dropdown'; import { SidebarMobileNav } from './sidebar-mobile-nav'; import { TopMobileNav } from './top-mobile-nav'; import { HeaderSearch } from './search'; -import { Sun } from 'lucide-react'; -import { Moon } from 'lucide-react'; - export function HeaderInternal() { const ctx = useContext(GuiderLayoutContext); @@ -69,10 +67,10 @@ export function HeaderInternal() { /> ) : null} - {isDark ? + {/* {isDark ? setIsDark(false)} /> : setIsDark(true)} /> - } + } */}
{site.navigation.length > 0 || site.github ? (