diff --git a/website/package-lock.json b/website/package-lock.json index 69cae6f32..597fc75fc 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -13,7 +13,8 @@ "@docusaurus/preset-classic": "3.1.1", "clsx": "^2.0.0", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "react-icons": "^5.0.1" } }, "node_modules/@algolia/autocomplete-core": { @@ -11855,6 +11856,14 @@ "react-dom": "^16.6.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/react-icons": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.0.1.tgz", + "integrity": "sha512-WqLZJ4bLzlhmsvme6iFdgO8gfZP17rfjYEJ2m9RsZjZ+cc4k1hTzknEz63YS1MeT50kVzoa1Nz36f4BEx+Wigw==", + "peerDependencies": { + "react": "*" + } + }, "node_modules/react-is": { "version": "16.8.6", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.6.tgz", diff --git a/website/src/pages/index.js b/website/src/pages/index.js index 1b8a69f2f..a480cdb23 100755 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -1,12 +1,16 @@ import React from 'react'; import clsx from 'clsx'; import Layout from '@theme/Layout'; -import BrowserOnly from '@docusaurus/BrowserOnly'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import useBaseUrl from '@docusaurus/useBaseUrl'; import Link from '@docusaurus/Link'; import styles from './styles.module.css'; -import {RiStackLine} from 'react-icons/ri' +import { + RiBookLine, + RiBookOpenLine, + RiPresentationLine, + RiStackLine, +} from 'react-icons/ri'; import successStories from '@site/src/data/successStories'; @@ -78,21 +82,22 @@ function HeroSection() { function GreatFrontEndSection() { return (
-
+
-
-
+
+
-

- Looking for front end interview practice?
- GreatFrontEnd has 200+ practice questions and reference solutions from big tech ex-interviewers + Looking for front end interview practice?
+ GreatFrontEnd has 200+ practice questions and reference + solutions from big tech ex-interviewers
-

+
-
Psst...I helped build this!
+
+ Psst... I built this! +
+
-
-
- -
- Well-explained solutions for every question -
-
-
-
- -
- Step-by-step study plans -
-
-
-
- -
- Structured 4-stage process -
+
+
+
+ +

+ Well-explained solutions for every question +

+
+
+ +

+ Step-by-step study plans +

+
+
+ +

+ Structured 4-stage process +

+
+
diff --git a/website/src/pages/styles.module.css b/website/src/pages/styles.module.css index 0e4ee474a..2b82f2e6f 100755 --- a/website/src/pages/styles.module.css +++ b/website/src/pages/styles.module.css @@ -23,17 +23,18 @@ .flexContainer { display: flex; - align-items: center; } -.icon { - color: rgb(255, 255, 255); - font-size: 1.5rem; +.promoIcon { + color: #fff; + flex-shrink: 0; + width: 24px; + height: 24px; margin-right: 0.5rem; } .whiteText { - color: rgb(255, 255, 255); + color: #fff; margin: 0; }