mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
feat: use new adsense code
This commit is contained in:
parent
fb486f3fbe
commit
944e750c49
@ -1,6 +1,8 @@
|
|||||||
import AdSense from 'react-adsense'
|
import AdSense from 'react-adsense'
|
||||||
|
|
||||||
const Advertisement: React.FC<AdvertisementProps> = ({ size = 'short' }) => {
|
const Advertisement: React.FC<AdvertisementProps> = ({ size = 'short' }) => {
|
||||||
|
return null
|
||||||
|
/*
|
||||||
return (
|
return (
|
||||||
<div className='py-5'>
|
<div className='py-5'>
|
||||||
<div
|
<div
|
||||||
@ -16,8 +18,8 @@ const Advertisement: React.FC<AdvertisementProps> = ({ size = 'short' }) => {
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
height: size === 'short' ? '90px' : '330px',
|
height: size === 'short' ? '90px' : '330px',
|
||||||
}}
|
}}
|
||||||
client='ca-pub-2090578791829639'
|
client='ca-pub-4672948131576368'
|
||||||
slot='9248632227'
|
slot=''
|
||||||
format=''
|
format=''
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
@ -26,6 +28,7 @@ const Advertisement: React.FC<AdvertisementProps> = ({ size = 'short' }) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
|||||||
@ -190,7 +190,7 @@ class MyDocument extends Document {
|
|||||||
{/* SCRIPT */}
|
{/* SCRIPT */}
|
||||||
<script src='//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js'></script>
|
<script src='//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js'></script>
|
||||||
<script
|
<script
|
||||||
data-ad-client='ca-pub-2090578791829639'
|
data-ad-client='ca-pub-4672948131576368'
|
||||||
async
|
async
|
||||||
src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'
|
src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'
|
||||||
></script>
|
></script>
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
google.com, pub-2090578791829639, DIRECT, f08c47fec0942fa0
|
google.com, pub-4672948131576368, DIRECT, f08c47fec0942fa0
|
||||||
Loading…
x
Reference in New Issue
Block a user