mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
Ads for Magzine
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import AlgoliaSearchModal from '@/components/AlgoliaSearchModal'
|
||||
import Comment from '@/components/Comment'
|
||||
import { AdSlot } from '@/components/GoogleAdsense'
|
||||
import LoadingCover from '@/components/LoadingCover'
|
||||
import replaceSearchResult from '@/components/Mark'
|
||||
import NotionPage from '@/components/NotionPage'
|
||||
import ShareBar from '@/components/ShareBar'
|
||||
import WWAds from '@/components/WWAds'
|
||||
import { siteConfig } from '@/lib/config'
|
||||
import { useGlobal } from '@/lib/global'
|
||||
import { isBrowser } from '@/lib/utils'
|
||||
@@ -173,6 +175,9 @@ const LayoutSlug = props => {
|
||||
return (
|
||||
<>
|
||||
<div {...props} className='w-full mx-auto max-w-screen-3xl'>
|
||||
{/* 广告位 */}
|
||||
<WWAds orientation='horizontal' />
|
||||
|
||||
{/* 文章锁 */}
|
||||
{lock && <ArticleLock validPassword={validPassword} />}
|
||||
|
||||
@@ -205,6 +210,8 @@ const LayoutSlug = props => {
|
||||
<ShareBar post={post} />
|
||||
{/* 上一篇下一篇 */}
|
||||
<PostNavAround prev={prev} next={next} />
|
||||
|
||||
<AdSlot />
|
||||
{/* 评论区 */}
|
||||
<Comment frontMatter={post} />
|
||||
</section>
|
||||
@@ -243,6 +250,10 @@ const LayoutSlug = props => {
|
||||
<TouchMeCard />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<WWAds />
|
||||
</div>
|
||||
|
||||
{/* 底部留白 */}
|
||||
<div></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user