diff --git a/website/package.json b/website/package.json index cabf981e7..ccb4912ca 100755 --- a/website/package.json +++ b/website/package.json @@ -14,7 +14,7 @@ "@docusaurus/core": "^2.0.1", "@docusaurus/plugin-client-redirects": "^2.0.1", "@docusaurus/preset-classic": "^2.0.1", - "classnames": "^2.2.6", + "clsx": "^1.2.1", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/website/src/pages/index.js b/website/src/pages/index.js index e7039794a..e7caafbd3 100755 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -1,5 +1,5 @@ import React from 'react'; -import classnames from 'classnames'; +import clsx from 'clsx'; import Layout from '@theme/Layout'; import BrowserOnly from '@docusaurus/BrowserOnly'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; @@ -33,20 +33,20 @@ function HeroSection() { const {siteConfig = {}} = useDocusaurusContext(); return ( -
+
{siteConfig.title}

{siteConfig.title}

{siteConfig.tagline}

{() => ( -
+
@@ -119,7 +119,7 @@ we'll render this on the browser only. */ function FAANGTechLeadsSection() { return (
@@ -155,21 +155,20 @@ function FAANGTechLeadsSection() { function FeaturesSection() { return ( -
+

Why Front End Interview Handbook?

-
-
+
+

🔍 Front end interviews demystified

Front end interview preparation resources are scarce but no @@ -180,8 +179,7 @@ function FeaturesSection() { Learn more

-
+

👩‍🎨 System design

What even is Front end system design?! Learn more about them @@ -191,8 +189,7 @@ function FeaturesSection() { Learn more

-
+

👩‍💻 Coding questions

Coding questions are an entirely different ball game for Front @@ -203,24 +200,21 @@ function FeaturesSection() { Learn more

-
+

💯 From zero to hero

Go from zero to front end interview hero with this handbook. No prior interview experience needed.

-
+

🍼 Back to basics

Learn to walk before you learn to fly. While React, Vue and Angular are cool, make sure you also know your fundamentals.

-
+

👨‍👩‍👦‍👦 Community effort

The best thing about Open Source is that the community vets @@ -238,7 +232,7 @@ function FeaturesSection() { function Tweet({url, handle, name, content, avatar, date}) { return ( -

+
{name} @@ -262,17 +256,17 @@ function Tweet({url, handle, name, content, avatar, date}) { function TweetsSection() { return ( -
+

Loved by many engineers

-
+
+

+
-

+

Enjoying Front End Interview Handbook so far?

-

+

Support this project by becoming a sponsor! Your logo/profile picture will show up here with a link to your website.