mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-16 07:26:47 +00:00
plog-search
This commit is contained in:
@@ -7,11 +7,13 @@ import Tags from './Tags'
|
||||
* @returns
|
||||
*/
|
||||
export default function SearchNavBar(props) {
|
||||
return (<>
|
||||
<div className='pb-12'>
|
||||
<SearchInput {...props} />
|
||||
</div>
|
||||
return (
|
||||
<div className='max-w-7xl w-full mx-auto'>
|
||||
<div className='py-12'>
|
||||
<SearchInput {...props} />
|
||||
</div>
|
||||
|
||||
<Tags {...props}/>
|
||||
</>)
|
||||
<Tags {...props} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ const LayoutSearch = props => {
|
||||
}, 100)
|
||||
}, [router.events])
|
||||
|
||||
return <LayoutPostList {...props} slotTop={<SearchNavBar {...props} />} />
|
||||
return <LayoutPostList {...props} topSlot={<SearchNavBar {...props} />} />
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user