Skip to content

Commit c9ae0a2

Browse files
committed
website: update ads
1 parent 745d81e commit c9ae0a2

File tree

3 files changed

+77
-209
lines changed

3 files changed

+77
-209
lines changed

apps/website/src/components/SidebarAd/index.js

Lines changed: 18 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ function FAANGTechLeads({ position }) {
1616
rel="noopener"
1717
onClick={() => {
1818
window.gtag('event', `faangtechleads.${position}.click`);
19-
}}>
19+
}}
20+
>
2021
<p className={styles.tagline}>
2122
<strong className={styles.title}>
22-
Craft the perfect resume for Google and Facebook
23+
Craft the perfect resume for FAANG
2324
</strong>
24-
Save time crafting your resume with FAANG Tech Leads'{' '}
25+
Save time crafting your resume with{' '}
2526
<u>FAANG-quality resume templates and examples</u> which have helped
2627
many Software Engineers get interviews at top Bay Area companies!
2728
</p>
@@ -38,7 +39,8 @@ function TIHResumeReview({ position }) {
3839
rel="noopener"
3940
onClick={() => {
4041
window.gtag('event', `tih.resume_review.${position}.click`);
41-
}}>
42+
}}
43+
>
4244
<p className={styles.tagline}>
4345
<strong className={styles.title}>
4446
Get your resume reviewed for free
@@ -55,16 +57,17 @@ function GreatFrontEnd({ position }) {
5557
return (
5658
<a
5759
className={clsx(styles.container, styles.backgroundGreatFrontEnd)}
58-
href={`https://www.greatfrontend.com?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=${position}&fpr=techinterviewhandbook`}
60+
href={`https://www.greatfrontend.com?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=${position}`}
5961
target="_blank"
6062
rel="noopener"
6163
onClick={() => {
6264
window.gtag('event', `greatfrontend.${position}.click`);
63-
}}>
65+
}}
66+
>
6467
<p className={styles.tagline}>
6568
<strong className={styles.title}>LeetCode for Front End</strong>
66-
Prepare with <u>Great Front End</u>'s large pool of high quality front
67-
end interview questions and solutions!
69+
Built by ex-FAANG Senior Engineers, <u>GreatFrontEnd</u> is the fastest
70+
way to prepare for a Front End interview.
6871
</p>
6972
</a>
7073
);
@@ -79,7 +82,8 @@ function AlgoMonster({ position }) {
7982
rel="noopener"
8083
onClick={() => {
8184
window.gtag('event', `algomonster.${position}.click`);
82-
}}>
85+
}}
86+
>
8387
<p className={styles.tagline}>
8488
<strong className={styles.title}>
8589
Stop grinding mindlessly. Study with a plan
@@ -91,49 +95,6 @@ function AlgoMonster({ position }) {
9195
);
9296
}
9397

94-
function Rora({ position }) {
95-
return (
96-
<a
97-
className={clsx(styles.container, styles.backgroundRora)}
98-
href={`https://www.teamrora.com/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=${position}`}
99-
key={Math.random()}
100-
target="_blank"
101-
rel="noopener"
102-
onClick={() => {
103-
window.gtag('event', `rora.${position}.click`);
104-
}}>
105-
<p className={styles.tagline}>
106-
<strong className={styles.title}>
107-
Risk-free salary negotiation help
108-
</strong>{' '}
109-
Receive risk-free salary negotiation advice from <u>Rora</u>. You pay
110-
nothing unless your offer is increased.{' '}
111-
<u>Book your free consultation today!</u>
112-
</p>
113-
</a>
114-
);
115-
}
116-
117-
function DesignGurusCoding({ position }) {
118-
return (
119-
<a
120-
className={clsx(styles.container, styles.backgroundGrokkingCoding)}
121-
href="https://designgurus.org/link/kJSIoU?url=https%3A%2F%2Fdesigngurus.org%2Fcourse%3Fcourseid%3Dgrokking-the-coding-interview"
122-
key={Math.random()}
123-
target="_blank"
124-
rel="noopener"
125-
onClick={() => {
126-
window.gtag('event', `designgurus.coding.${position}.click`);
127-
}}>
128-
<p className={styles.tagline}>
129-
<strong className={styles.title}>Stop memorizing solutions</strong>
130-
<u>Grokking the Coding Interview</u> teaches you techniques and question
131-
patterns to ace coding interviews. Grab your lifetime access today!
132-
</p>
133-
</a>
134-
);
135-
}
136-
13798
function DesignGurusSystemDesign({ position }) {
13899
return (
139100
<a
@@ -144,7 +105,8 @@ function DesignGurusSystemDesign({ position }) {
144105
rel="noopener"
145106
onClick={() => {
146107
window.gtag('event', `designgurus.system_design.${position}.click`);
147-
}}>
108+
}}
109+
>
148110
<p className={styles.tagline}>
149111
<strong className={styles.title}>Get the job at FAANG</strong>
150112
<u>Grokking the System Design Interview</u> is a highly recommended
@@ -164,7 +126,8 @@ function ByteByteGoSystemDesign({ position }) {
164126
rel="noopener"
165127
onClick={() => {
166128
window.gtag('event', `bytebytego.system_design.${position}.click`);
167-
}}>
129+
}}
130+
>
168131
<p className={styles.tagline}>
169132
<strong className={styles.title}>
170133
Ace Your Next System Design Interview
@@ -177,29 +140,6 @@ function ByteByteGoSystemDesign({ position }) {
177140
);
178141
}
179142

180-
function Interviewingio({ position }) {
181-
return (
182-
<a
183-
className={clsx(styles.container, styles.backgroundInterviewingio)}
184-
href="https://iio.sh/r/DMCa"
185-
key={Math.random()}
186-
target="_blank"
187-
rel="noopener"
188-
onClick={() => {
189-
window.gtag('event', `interviewingio.${position}.click`);
190-
}}>
191-
<p className={styles.tagline}>
192-
<strong className={styles.title}>
193-
Practice interviewing with Google engineers
194-
</strong>
195-
<u>interviewing.io</u> provides anonymous technical mock interviews with
196-
engineers from Google, Facebook, and other top companies.{' '}
197-
<u>Give it a try!</u>
198-
</p>
199-
</a>
200-
);
201-
}
202-
203143
export default React.memo(function SidebarAd({ position }) {
204144
const [counter, setCounter] = useState(0);
205145
useEffect(() => {
@@ -235,10 +175,6 @@ export default React.memo(function SidebarAd({ position }) {
235175
);
236176
}
237177

238-
if (path.includes('negotiation') || path.includes('compensation')) {
239-
return <Rora key={Math.random()} position={position} />;
240-
}
241-
242178
if (path.includes('system-design')) {
243179
return rand < 0.5 ? (
244180
<ByteByteGoSystemDesign key={Math.random()} position={position} />
@@ -264,10 +200,8 @@ export default React.memo(function SidebarAd({ position }) {
264200

265201
return rand < 0.5 ? (
266202
<FAANGTechLeads key={Math.random()} position={position} />
267-
) : rand < 0.75 ? (
268-
<AlgoMonster key={Math.random()} position={position} />
269203
) : (
270-
<DesignGurusCoding key={Math.random()} position={position} />
204+
<GreatFrontEnd key={Math.random()} position={position} />
271205
);
272206
}}
273207
</BrowserOnly>

apps/website/src/components/SidebarAd/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
.backgroundGreatFrontEnd {
28-
background-color: rgb(79, 70, 229);
28+
background-image: linear-gradient(270deg, #ec4899, #4f46e5);
2929
}
3030

3131
.backgroundGrokkingCoding {

0 commit comments

Comments
 (0)