sharebar position

This commit is contained in:
tangly1024.com
2023-04-26 16:39:52 +08:00
parent 262dca3251
commit abd80f4c8d
7 changed files with 19 additions and 14 deletions

View File

@@ -86,15 +86,18 @@ export const LayoutSlug = props => {
</section>
<section>
{/* 分享 */}
<ShareBar post={post} />
{/* 文章分类和标签信息 */}
<div className='flex justify-between'>
{CONFIG_MEDIUM.POST_DETAIL_CATEGORY && post.category && <CategoryItem category={post.category} />}
<div>
{CONFIG_MEDIUM.POST_DETAIL_TAG && post?.tagItems?.map(tag => <TagItemMini key={tag.name} tag={tag} />)}
</div>
</div>
{post.type === 'Post' && <ArticleAround prev={prev} next={next} />}
{/* 分享 */}
<ShareBar post={post} />
<Comment frontMatter={post} />
</section>