Skip to content

Commit d0f340e

Browse files
committed
website: ui improvements
1 parent 863eebd commit d0f340e

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

website/docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ module.exports = {
2525
src: 'img/logo.svg',
2626
},
2727
items: [
28+
{to: 'introduction', label: 'Get started', position: 'left'},
29+
{to: 'blog', label: 'Blog', position: 'left'},
2830
{
2931
type: 'localeDropdown',
3032
position: 'right',
3133
},
32-
{to: 'blog', label: 'Blog', position: 'right'},
3334
{
3435
href: 'https://github.com/yangshun/front-end-interview-handbook',
3536
label: 'GitHub',

website/src/components/SidebarAd/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export default React.memo(function SidebarAd() {
3131
}}>
3232
<p className={styles.tagline}>
3333
<strong>Get paid more.</strong> Receive risk-free salary
34-
negotiation advice from Moonchaser. You pay nothing unless your
35-
offer is increased.
34+
negotiation advice from <u>Moonchaser</u>. You pay nothing unless
35+
your offer is increased. <u>Book a free consultation today!</u>
3636
</p>
3737
</a>
3838
) : (
@@ -46,8 +46,9 @@ export default React.memo(function SidebarAd() {
4646
window.gtag('event', 'educative.sidebar.click');
4747
}}>
4848
<p className={styles.tagline}>
49-
<strong>Level up with Educative.</strong> Get 10% off Educative's
50-
wide range of interview courses today!
49+
<strong>Looking to get hired at FAANG?</strong> <u>Educative</u>{' '}
50+
offers many great courses to improve your interview game.{' '}
51+
<u>Join today for a 10% discount!</u>
5152
</p>
5253
</a>
5354
)

website/src/css/custom.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
--ifm-font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
1313
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
1414
'Helvetica Neue', sans-serif;
15-
--ifm-font-size-base: 18px;
1615
}
1716

1817
html[data-theme='dark'] {

website/src/pages/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ function EducativeSection() {
126126
<div>
127127
<h2 className={styles.sectionSponsorTitle}>
128128
<strong>
129-
Looking for high quality front end interview courses?
130-
Educative offers a ton of great courses to improve your
131-
interview game.
129+
Looking to get hired at FAANG? Educative offers many great
130+
courses to improve your interview game. Join today for a
131+
discount!
132132
</strong>
133133
</h2>
134134
<div className="margin-vert--lg">
@@ -140,7 +140,7 @@ function EducativeSection() {
140140
onClick={() => {
141141
window.gtag('event', 'educative.homepage.click');
142142
}}>
143-
Get started&nbsp;&nbsp;→
143+
Check out courses&nbsp;&nbsp;→
144144
</a>
145145
</div>
146146
</div>

0 commit comments

Comments
 (0)