mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
25 lines
662 B
JavaScript
25 lines
662 B
JavaScript
import LayoutBase from './LayoutBase'
|
|
import SearchInput from './components/SearchInput'
|
|
import { useGlobal } from '@/lib/global'
|
|
import TagGroups from './components/TagGroups'
|
|
import CategoryGroup from './components/CategoryGroup'
|
|
import BlogPostListScroll from './components/BlogPostListScroll'
|
|
|
|
export const LayoutSearch = (props) => {
|
|
const { locale } = useGlobal()
|
|
return <LayoutBase {...props}>
|
|
|
|
<div className='py-12'>
|
|
<div className='pb-4 w-full'>
|
|
{locale.NAV.SEARCH}
|
|
</div>
|
|
<SearchInput/>
|
|
|
|
<TagGroups {...props}/>
|
|
<CategoryGroup {...props}/>
|
|
</div>
|
|
|
|
<BlogPostListScroll {...props}/>
|
|
</LayoutBase>
|
|
}
|