mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 23:16:49 +00:00
18 lines
529 B
JavaScript
18 lines
529 B
JavaScript
import LayoutBase from './LayoutBase'
|
|
import StickyBar from './components/StickyBar'
|
|
import TagList from './components/TagList'
|
|
import BlogPostListScroll from './components/BlogPostListScroll'
|
|
|
|
export const LayoutTag = (props) => {
|
|
const { tags, posts, tag } = props
|
|
|
|
return <LayoutBase currentTag={tag} {...props}>
|
|
<StickyBar>
|
|
<TagList tags={tags} currentTag={tag}/>
|
|
</StickyBar>
|
|
<div className='md:mt-8'>
|
|
<BlogPostListScroll posts={posts} tags={tags} currentTag={tag}/>
|
|
</div>
|
|
</LayoutBase>
|
|
}
|