Revert "misc: add sidebar ad"

This reverts commit 822179b0f6da6fd03f1b783fe324eccf7de9cdbd.
This commit is contained in:
Yangshun
2021-08-03 08:48:15 +08:00
parent 822179b0f6
commit 08c5918f79

View File

@ -9,36 +9,19 @@ const CONTAINER_SELECTOR = '[class^="tableOfContents"]';
function SidebarAd() { function SidebarAd() {
return ( return (
<> <a
<a className={styles.container}
className={styles.container} href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar" target="_blank"
target="_blank" rel="noreferrer noopener"
rel="noreferrer noopener" onClick={() => {
onClick={() => { window.gtag('event', 'moonchaser.click');
window.gtag('event', 'moonchaser.click'); }}>
}}> <p className={styles.tagline}>
<p className={styles.tagline}> <strong>Get paid more.</strong> Receive risk-free salary negotiation
<strong>Get paid more.</strong> Receive risk-free salary negotiation help from Moonchaser. You pay nothing unless your offer is increased.
help from Moonchaser. You pay nothing unless your offer is increased. </p>
</p> </a>
</a>
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4984084888641317"
crossOrigin="anonymous"
/>
<ins className="adsbygoogle"
style={{display: 'block'}}
data-ad-client="ca-pub-4984084888641317"
data-ad-slot="6106249636"
data-ad-format="auto"
data-full-width-responsive="true"
/>
<script
dangerouslySetInnerHTML={{__html: '(adsbygoogle = window.adsbygoogle || []).push({});'}}
/>
</>
); );
} }