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