File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,25 @@ function RelatedPostAd({ isMobile }: Props) {
41
41
if ( isMobile ) {
42
42
return (
43
43
< div ref = { ref } >
44
- < ins
45
- className = "adsbygoogle"
46
- style = { { display : 'block' } }
47
- data-ad-client = "ca-pub-5574866530496701"
48
- data-ad-slot = "8181679131"
49
- data-ad-format = "auto"
50
- data-full-width-responsive = "true"
51
- > </ ins >
44
+ { theme === 'dark' ? (
45
+ < ins
46
+ className = "adsbygoogle"
47
+ style = { { display : 'block' } }
48
+ data-ad-format = "fluid"
49
+ data-ad-layout-key = "-fb+5w+4e-db+86"
50
+ data-ad-client = "ca-pub-5574866530496701"
51
+ data-ad-slot = "9916259177"
52
+ > </ ins >
53
+ ) : (
54
+ < ins
55
+ className = "adsbygoogle"
56
+ style = { { display : 'block' } }
57
+ data-ad-format = "fluid"
58
+ data-ad-layout-key = "-gh+5l+k-cu+l4"
59
+ data-ad-client = "ca-pub-5574866530496701"
60
+ data-ad-slot = "8237449336"
61
+ > </ ins >
62
+ ) }
52
63
</ div >
53
64
) ;
54
65
}
You can’t perform that action at this time.
0 commit comments