misc: remove levels.fyi

This commit is contained in:
Yangshun 2021-10-07 02:36:44 +08:00
parent 0a7adbc952
commit 425b9b4e4a
2 changed files with 26 additions and 60 deletions

View File

@ -38,16 +38,16 @@ export default React.memo(function SidebarAd() {
) : (
<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"
href="https://educative.io/tech-interview-handbook"
key={Math.random()}
target="_blank"
rel="noreferrer noopener"
onClick={() => {
window.gtag('event', 'levelsfyi.sidebar.click');
window.gtag('event', 'educative.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.
<strong>Level up with Educative.</strong> Get 10% off Educative's
wide range of interview courses today!
</p>
</a>
)

View File

@ -65,61 +65,27 @@ function Home() {
<div className="row">
<div className="col col--8 col--offset-2">
<div className="margin-vert--lg text--center">
{Math.random() > 0.5 ? (
<>
<h2 className={styles.sectionSponsorTitle}>
<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.sectionSponsorTitle}>
<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>
</>
)}
<h2 className={styles.sectionSponsorTitle}>
<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>
</div>
</div>
</div>