mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
fix: ads
This commit is contained in:
parent
b9f4c8b597
commit
3a4d78be8a
@ -1,7 +1,7 @@
|
|||||||
const Advertisement = (): JSX.Element => {
|
const Advertisement = (): JSX.Element => {
|
||||||
if (process.env.NODE_ENV === 'production')
|
return <div className='my-5 mx-auto py-12 w-full text-center text-white bg-gray-700'>
|
||||||
return (
|
{
|
||||||
<ins
|
process.env.NODE_ENV === 'production' ? <ins
|
||||||
className='adsbygoogle mb-5 w-full'
|
className='adsbygoogle mb-5 w-full'
|
||||||
style={{ display: 'block' }}
|
style={{ display: 'block' }}
|
||||||
data-ad-client='ca-pub-4856582423981759'
|
data-ad-client='ca-pub-4856582423981759'
|
||||||
@ -9,10 +9,8 @@ const Advertisement = (): JSX.Element => {
|
|||||||
data-ad-format='auto'
|
data-ad-format='auto'
|
||||||
data-adtest='on'
|
data-adtest='on'
|
||||||
data-full-width-responsive='true'
|
data-full-width-responsive='true'
|
||||||
></ins>
|
></ins> : 'Advertisement'
|
||||||
)
|
}</div>
|
||||||
else
|
|
||||||
return <div className='my-5 py-12 w-full text-center text-white bg-gray-700'>Advertisement</div>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Advertisement
|
export default Advertisement
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user