Remove search from navbar

master
TZGyn 2 years ago
parent a956716756
commit 32e35e8aa8
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -9,7 +9,6 @@ import {
NavbarItem,
NavbarMenuItem,
} from '@nextui-org/navbar'
import { Kbd } from '@nextui-org/kbd'
import {
Dropdown,
DropdownMenu,
@ -27,35 +26,13 @@ import NextLink from 'next/link'
import clsx from 'clsx'
import { ThemeSwitch } from '@/components/theme-switch'
import { GithubIcon, SearchIcon } from '@/components/icons'
import { GithubIcon } from '@/components/icons'
import { Icon } from '@iconify/react'
import NewBookmarkForm from '@/components/newBookmarkForm'
import { usePathname } from 'next/navigation'
export const Navbar = () => {
const searchInput = (
<Input
aria-label='Search'
classNames={{
inputWrapper: 'bg-default-100',
input: 'text-sm',
}}
endContent={
<Kbd
className='hidden lg:inline-block'
keys={['command']}>
K
</Kbd>
}
labelPlacement='outside'
placeholder='Search...'
startContent={
<SearchIcon className='pointer-events-none flex-shrink-0 text-base text-default-400' />
}
type='search'
/>
)
const pathname = usePathname()

Loading…
Cancel
Save