feat: added ad

This commit is contained in:
원더 2021-01-08 12:10:38 +09:00
parent cc245188ff
commit dcc370c13e

View 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