mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 12:43:12 +08:00
misc: add sidebar ad
This commit is contained in:
@ -9,19 +9,36 @@ const CONTAINER_SELECTOR = '[class^="tableOfContents"]';
|
|||||||
|
|
||||||
function SidebarAd() {
|
function SidebarAd() {
|
||||||
return (
|
return (
|
||||||
<a
|
<>
|
||||||
className={styles.container}
|
<a
|
||||||
href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
|
className={styles.container}
|
||||||
target="_blank"
|
href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
|
||||||
rel="noreferrer noopener"
|
target="_blank"
|
||||||
onClick={() => {
|
rel="noreferrer noopener"
|
||||||
window.gtag('event', 'moonchaser.click');
|
onClick={() => {
|
||||||
}}>
|
window.gtag('event', 'moonchaser.click');
|
||||||
<p className={styles.tagline}>
|
}}>
|
||||||
<strong>Get paid more.</strong> Receive risk-free salary negotiation
|
<p className={styles.tagline}>
|
||||||
help from Moonchaser. You pay nothing unless your offer is increased.
|
<strong>Get paid more.</strong> Receive risk-free salary negotiation
|
||||||
</p>
|
help from Moonchaser. You pay nothing unless your offer is increased.
|
||||||
</a>
|
</p>
|
||||||
|
</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({});'}}
|
||||||
|
/>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user