mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-29 05:02:52 +08:00
website: add levels.fyi
This commit is contained in:
@ -14,9 +14,10 @@ const BACKGROUNDS = [
|
||||
];
|
||||
|
||||
export default React.memo(function SidebarAd() {
|
||||
const backgroundClass = BACKGROUNDS[Math.floor(Math.random() * BACKGROUNDS.length)];
|
||||
|
||||
return (
|
||||
const backgroundClass =
|
||||
BACKGROUNDS[Math.floor(Math.random() * BACKGROUNDS.length)];
|
||||
|
||||
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"
|
||||
@ -30,5 +31,19 @@ export default React.memo(function SidebarAd() {
|
||||
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_homepage"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
onClick={() => {
|
||||
window.gtag('event', 'moonchaser.click');
|
||||
}}>
|
||||
<p className={styles.tagline}>
|
||||
<strong>Get paid, not played.</strong> Chat with former tech recruiters
|
||||
who’ll guide you on exactly what to say to get you a higher offer.
|
||||
</p>
|
||||
</a>
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user