website: mention levels.fyi

This commit is contained in:
Yangshun 2021-09-01 23:35:03 +08:00
parent 1ad06f4230
commit 6da7750d23
2 changed files with 65 additions and 23 deletions

View File

@ -16,19 +16,33 @@ export default React.memo(function SidebarAd() {
const backgroundClass =
BACKGROUNDS[Math.floor(Math.random() * BACKGROUNDS.length)];
return (
return Math.random() > 0.5 ? (
<a
className={clsx(styles.container, backgroundClass)}
href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
target="_blank"
rel="noreferrer noopener"
onClick={() => {
window.gtag('event', 'moonchaser.click');
window.gtag('event', 'moonchaser.sidebar.click');
}}>
<p className={styles.tagline}>
<strong>Get paid more.</strong> Receive risk-free salary negotiation
help from Moonchaser. You pay nothing unless your offer is increased.
</p>
</a>
) : (
<a
className={clsx(styles.container, backgroundClass)}
href="https://www.levels.fyi/services/?ref=TechInterviewHandbook&utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
target="_blank"
rel="noreferrer noopener"
onClick={() => {
window.gtag('event', 'levelsfyi.sidebar.click');
}}>
<p className={styles.tagline}>
<strong>Get paid, not played.</strong> Chat with former tech recruiters
wholl guide you on exactly what to say to negotiate a higher offer.
</p>
</a>
);
});

View File

@ -57,27 +57,55 @@ function Home() {
<div className="row">
<div className="col col--8 col--offset-2">
<div className="margin-vert--lg text--center">
<h2 className={styles.sectionPrimaryTitle}>
<div align="center">
<strong>
Get paid more. Receive risk-free salary negotiation help
from Moonchaser. You pay nothing unless your offer is
increased.
</strong>
</div>
</h2>
<div className="margin-vert--lg">
<a
className="button button--secondary button--lg"
href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=frontend_website_homepage"
rel="noreferrer noopener"
target="_blank"
onClick={() => {
window.gtag('event', 'moonchaser.click');
}}>
Find Out More&nbsp;&nbsp;
</a>
</div>
{Math.random() > 0.5 ? (
<>
<h2 className={styles.sectionPrimaryTitle}>
<div align="center">
<strong>
Get paid more. Receive risk-free salary negotiation
help from Moonchaser. You pay nothing unless your
offer is increased.
</strong>
</div>
</h2>
<div className="margin-vert--lg">
<a
className="button button--secondary button--lg"
href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_homepage"
rel="noreferrer noopener"
target="_blank"
onClick={() => {
window.gtag('event', 'moonchaser.homepage.click');
}}>
Get Risk-free Negotiation Help&nbsp;&nbsp;
</a>
</div>
</>
) : (
<>
<h2 className={styles.sectionPrimaryTitle}>
<div align="center">
<strong>
Get paid, not played. Chat with former tech
recruiters wholl guide you on exactly what to say
to get you a higher offer.
</strong>
</div>
</h2>
<div className="margin-vert--lg">
<a
className="button button--secondary button--lg"
href="https://www.levels.fyi/services/?ref=TechInterviewHandbook&utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_homepage"
rel="noreferrer noopener"
target="_blank"
onClick={() => {
window.gtag('event', 'levelsfyi.homepage.click');
}}>
Get Negotiation Help&nbsp;&nbsp;
</a>
</div>
</>
)}
</div>
</div>
</div>