mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 23:16:49 +00:00
12 lines
437 B
JavaScript
12 lines
437 B
JavaScript
import LayoutBase from './LayoutBase'
|
||
import BlogPostListScroll from './components/BlogPostListScroll'
|
||
|
||
export const LayoutCategory = props => {
|
||
const { category } = props
|
||
const slotTop = <div className='flex items-center font-sans p-8'><div className='text-xl'><i className='mr-2 fas fa-th'/>分类:</div>{category}</div>
|
||
|
||
return <LayoutBase {...props} slotTop={slotTop}>
|
||
<BlogPostListScroll {...props} />
|
||
</LayoutBase>
|
||
}
|