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'
|
||||
|
||||
const Advertisement: React.FC<AdvertisementProps> = ({ size = 'short' }) => {
|
||||
return null
|
||||
/*
|
||||
return (
|
||||
<div className='py-5'>
|
||||
<div
|
||||
@ -16,8 +18,8 @@ const Advertisement: React.FC<AdvertisementProps> = ({ size = 'short' }) => {
|
||||
width: '100%',
|
||||
height: size === 'short' ? '90px' : '330px',
|
||||
}}
|
||||
client='ca-pub-2090578791829639'
|
||||
slot='9248632227'
|
||||
client='ca-pub-4672948131576368'
|
||||
slot=''
|
||||
format=''
|
||||
/>
|
||||
) : (
|
||||
@ -26,6 +28,7 @@ const Advertisement: React.FC<AdvertisementProps> = ({ size = 'short' }) => {
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
*/
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
@ -190,7 +190,7 @@ class MyDocument extends Document {
|
||||
{/* SCRIPT */}
|
||||
<script src='//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js'></script>
|
||||
<script
|
||||
data-ad-client='ca-pub-2090578791829639'
|
||||
data-ad-client='ca-pub-4672948131576368'
|
||||
async
|
||||
src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'
|
||||
></script>
|
||||
|
||||
@ -1 +1 @@
|
||||
google.com, pub-2090578791829639, DIRECT, f08c47fec0942fa0
|
||||
google.com, pub-4672948131576368, DIRECT, f08c47fec0942fa0
|
||||
Loading…
x
Reference in New Issue
Block a user