update(Search): 隐藏 Search 组件

main
mackt 4 weeks ago
parent 769edfbb8e
commit f50084ac47

@ -23,7 +23,7 @@ export default function Header({ type = 'server', className }: { type?: NextComp
<div className="relative w-1200px h-full mx-auto flex items-center justify-between"> <div className="relative w-1200px h-full mx-auto flex items-center justify-between">
<div className="relative flex items-center h-full"> <div className="relative flex items-center h-full">
<Logo type={type} /> <Logo type={type} />
<Search className={`${showSearch ? 'block' : 'hidden'} ml-40px`} /> {/* <Search className={`${showSearch ? 'block' : 'hidden'} ml-40px`} /> */}
</div> </div>
<div className="flex items-center h-full"> <div className="flex items-center h-full">

Loading…
Cancel
Save