simple 广告位优化

This commit is contained in:
tangly1024
2023-06-20 16:00:57 +08:00
parent eda51e4479
commit e2b3053713

View File

@@ -17,22 +17,19 @@ export const LayoutSlug = props => {
<div id="notion-article" className="px-2 xl:max-w-4xl 2xl:max-w-6xl ">
<ArticleInfo post={post} />
<ArticleInfo post={post} />
<div className="max-h-44 my-1" >
<AdSlot type={'in-article'} />
</div>
<AdSlot type={'in-article'} />
{!lock && <NotionPage post={post} />}
{!lock && <NotionPage post={post} />}
<ShareBar post={post} />
<ShareBar post={post} />
<div className="max-h-44 my-1" >
<AdSlot type={'in-article'} />
</div>
<AdSlot type={'in-article'} />
{post?.type === 'Post' && <ArticleAround prev={prev} next={next} />}
<Comment frontMatter={post} />
{post?.type === 'Post' && <ArticleAround prev={prev} next={next} />}
<Comment frontMatter={post} />
</div>