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