Skip to content

Commit

Permalink
update header
Browse files Browse the repository at this point in the history
  • Loading branch information
TechInnovatorAI committed Sep 3, 2024
1 parent 86793a1 commit 2fc4b55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# NeatoJS
# NeatoJS for Test

- typescript first
- modular
Expand Down
8 changes: 3 additions & 5 deletions packages/guider/src/client/partials/header/header.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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);
Expand Down Expand Up @@ -69,10 +67,10 @@ export function HeaderInternal() {
/>
) : null}
</div>
{isDark ?
{/* {isDark ?
<Moon onClick={() => setIsDark(false)} /> :
<Sun onClick={() => setIsDark(true)} />
}
} */}
<div className="gd-flex md:gd-hidden gd-items-center">
{site.navigation.length > 0 || site.github ? (
<TopMobileNav
Expand Down

0 comments on commit 2fc4b55

Please sign in to comment.