Skip to content

Commit

Permalink
重新引入
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjuning committed Oct 20, 2023
1 parent cf18f7f commit 02132cd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .dumi/theme/layouts/DocLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Footer from 'dumi/theme-default/slots/Footer';
import Header from 'dumi/theme-default/slots/Header';
import Hero from 'dumi/theme-default/slots/Hero';
import Sidebar from '../../slots/Sidebar';
import Adsense from '../../slots/Adsense';
import Toc from 'dumi/theme-default/slots/Toc';
import React, { useEffect, useState, type FC } from 'react';
import './index.less';
Expand Down Expand Up @@ -94,6 +95,14 @@ const DocLayout: FC = () => {
<article>
{outlet}
</article>
<Adsense
className="adsbygoogle"
style={{ display: "block" }}
data-ad-client="ca-pub-7029815294762181"
data-ad-slot="6412968057"
data-ad-format="auto"
data-full-width-responsive="true"
/>
<ContentFooter />
<Footer />
</Content>
Expand Down

0 comments on commit 02132cd

Please sign in to comment.