@@ -12,8 +12,8 @@ import DocItemContent from "@theme/DocItem/Content";
1212import DocBreadcrumbs from "@theme/DocBreadcrumbs" ;
1313import Unlisted from "@theme/Unlisted" ;
1414import styles from "./styles.module.css" ;
15- import adStyles from "./../../styles.module.css" ;
16- import Ad , { GifAd } from "./../../Ad" ;
15+ // import adStyles from "./../../styles.module.css";
16+ // import Ad, { GifAd } from "./../../Ad";
1717import { rerenderAds , useWindow } from "../../../components/hooks" ;
1818
1919/**
@@ -54,17 +54,17 @@ export default function DocItemLayout({ children }) {
5454 < DocBreadcrumbs />
5555 < DocVersionBadge />
5656 { docTOC . mobile }
57- < Ad
57+ { /* <Ad
5858 options={{
5959 key: "59ef6ced01ec04fa3c9bd9047ebdb09d",
6060 format: "iframe",
6161 height: 100,
6262 width: 728,
6363 params: {},
6464 }}
65- > </ Ad >
65+ ></Ad> */ }
6666 < DocItemContent > { children } </ DocItemContent >
67- { isMobile && (
67+ { /* { isMobile && (
6868 <Ad
6969 options={{
7070 key: "f491f84457706cfe79a69a94e47300b3",
@@ -74,8 +74,8 @@ export default function DocItemLayout({ children }) {
7474 params: {},
7575 }}
7676 ></Ad>
77- ) }
78- { ! isMobile && (
77+ )} */ }
78+ { /* { !isMobile && (
7979 <Ad
8080 options={{
8181 key: "286ff15c1b873aacf8de3968d93bdd8b",
@@ -85,8 +85,8 @@ export default function DocItemLayout({ children }) {
8585 className: adStyles.sideAds,
8686 }}
8787 ></Ad>
88- ) }
89- < GifAd />
88+ )} */ }
89+ { /* <GifAd /> */ }
9090 < DocItemFooter />
9191 </ article >
9292 < div >
@@ -96,15 +96,15 @@ export default function DocItemLayout({ children }) {
9696 </ div >
9797 { docTOC . desktop && (
9898 < div className = "col col--3" >
99- < Ad
99+ { /* <Ad
100100 options={{
101101 key: "cf24f4b1ae2fdc2be88550946aee8280",
102102 format: "iframe",
103103 height: 250,
104104 width: 300,
105105 params: {},
106106 }}
107- > </ Ad >
107+ ></Ad> */ }
108108 { docTOC . desktop }
109109 </ div >
110110 ) }
0 commit comments