mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 23:16:48 +00:00
heo 广告微调
This commit is contained in:
@@ -38,6 +38,8 @@ export default function SideRight(props) {
|
||||
<InfoCard {...props} className='w-72' />
|
||||
|
||||
<div className='sticky top-20 space-y-4'>
|
||||
|
||||
{/* 文章页显示目录 */}
|
||||
{post && post.toc && post.toc.length > 0 && (
|
||||
<Card className='bg-white dark:bg-[#1e1e1e]'>
|
||||
<Catalog toc={post.toc} />
|
||||
|
||||
@@ -310,7 +310,10 @@ const LayoutSlug = props => {
|
||||
? null
|
||||
: <div className={`${commentEnable && post ? '' : 'hidden'}`}>
|
||||
<hr className="my-4 border-dashed" />
|
||||
|
||||
{/* 评论区上方广告 */}
|
||||
<div className="py-2">
|
||||
<AdSlot />
|
||||
</div>
|
||||
{/* 评论互动 */}
|
||||
<div className="duration-200 overflow-x-auto px-5">
|
||||
<div className="text-2xl dark:text-white">
|
||||
@@ -318,9 +321,6 @@ const LayoutSlug = props => {
|
||||
{locale.COMMON.COMMENTS}
|
||||
</div>
|
||||
<Comment frontMatter={post} className="" />
|
||||
<div className="py-2">
|
||||
<AdSlot />
|
||||
</div>
|
||||
</div>
|
||||
</div>}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user