contents: optimize build speed

This commit is contained in:
Yangshun
2022-03-02 20:53:49 +08:00
parent 1764e64213
commit 250e643d43
10 changed files with 51 additions and 78 deletions

View File

@ -33,9 +33,10 @@ function FAANGTechLeads({className, position}) {
<p className={styles.tagline}>
<strong>Best resume service for FAANG</strong>
<br />
FAANG Tech Leads' <u>resume review service</u> helped me get
shortlisted at top Bay Area companies. Their resume templates are
only <u>$28 now (70% off)</u> and tailored to your experience level.
FAANG Tech Leads' <u>resume review service</u> helped many people
get shortlisted at top Bay Area companies. Their resume templates
are only <u>$28 now (70% off)</u> and tailored to your experience
level.
</p>
</a>
);
@ -52,9 +53,10 @@ function FAANGTechLeads({className, position}) {
<p className={styles.tagline}>
<strong>Get shortlisted at FAANG</strong>
<br />
FAANG Tech Leads' <u>resume review service</u> helped me get
shortlisted at top Bay Area companies. Their resume templates are
only <u>$28 now (70% off)</u> and tailored to your experience level.
FAANG Tech Leads' <u>resume review service</u> helped many people
get shortlisted at top Bay Area companies. Their resume templates
are only <u>$28 now (70% off)</u> and tailored to your experience
level.
</p>
</a>
);
@ -101,27 +103,6 @@ function Moonchaser({className, position}) {
);
}
function Educative({className, position}) {
return (
<a
className={clsx(styles.container, className)}
href={`https://educative.io/tech-interview-handbook?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=${position}&aff=x23W`}
key={Math.random()}
target="_blank"
rel="noopener"
onClick={() => {
window.gtag('event', `educative.${position}.click`);
}}>
<p className={styles.tagline}>
<strong>Looking to get hired at FAANG?</strong>
<br />
<u>Educative</u> offers many great courses to improve your interview
game. <u>Join today for a 10% discount!</u>
</p>
</a>
);
}
function EducativeCoding({className, position}) {
return (
<a
@ -231,13 +212,13 @@ export default React.memo(function SidebarAd({position}) {
}
return Math.random() > 0.5 ? (
<Moonchaser
<AlgoMonster
className={backgroundClass}
key={Math.random()}
position={position}
/>
) : (
<Educative
<EducativeCoding
className={backgroundClass}
key={Math.random()}
position={position}

View File

@ -37,8 +37,8 @@ export default [
section was an absolutely invaluable resource and a great overall
reference to brush up my fundamentals with the helpful hints and tips
provided, and also solve some of the most popular questions categorized
by type. I certainly have Yangshun to thank for helping me land my dream
job at Google!
by type. I certainly have this handbook to thank for helping me land my
dream job at Google!
</>
),
},
@ -86,9 +86,8 @@ export default [
<br />
With the help of Tech Interview Handbook, I was able to land offers from
Google, Amazon, Uber and several other great companies. Really
appreciate Yangshun and other contributors for putting out such quality
content for the community. I'd wholeheartedly recommend this handbook to
anyone!
appreciate the contributors for putting out such quality content for the
community. I'd wholeheartedly recommend this handbook to anyone!
</>
),
},

View File

@ -136,7 +136,7 @@ function HeroSection() {
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">
{siteConfig.tagline} <br />
Brought to you by FAANG engineers and the author of the{' '}
Brought to by the author of the{' '}
<a href={BLIND_75_URL} rel="noopener" target="_blank">
Blind 75 list
</a>
@ -192,20 +192,16 @@ function WhatIsThisSection() {
technical interviews.
<br />
<br />
As a Senior Software Engineer and Tech Lead at Meta/Facebook, I
have personally gone through the frustrating process of browsing
through many unorganized resources to prepare for my technical
interviews.
Having personally gone through the interviewing process, it was
frustrating to have to find resources from everywhere to prepare
for my technical interviews.
<br />
<br />
This handbook contains the essence of technical interviewing I
gathered over my last job hunt, which allowed me to clinch{' '}
<a href={BLIND_OFFER_NUMBERS_URL}>
9 offers out of 11 top Bay Area companies
</a>{' '}
-{' '}
<strong>Facebook, Google, Airbnb, Palantir, Dropbox, Lyft</strong>
, and some startups!
gathered over my last job hunt, which allowed me to clinch 9
offers out of 11 top Bay Area companies -{' '}
<strong>Google, Airbnb, Palantir, Dropbox, Lyft</strong>, and some
startups!
</p>
</div>
</div>