Ads for Magzine

This commit is contained in:
tangly1024.com
2024-09-14 18:30:08 +08:00
parent 05e88bfd74
commit a7945be515

View File

@@ -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>