diff --git a/package-lock.json b/package-lock.json index 12188ff..12da966 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "@headlessui/react": "^2.1.1", "dompurify": "^3.1.6", "emailjs-com": "^3.2.0", + "lucide-react": "^0.436.0", "prismjs": "^1.29.0", "react": "^18.2.0", "react-copy-to-clipboard": "^5.1.0", @@ -3961,6 +3962,15 @@ "yallist": "^3.0.2" } }, + "node_modules/lucide-react": { + "version": "0.436.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.436.0.tgz", + "integrity": "sha512-N292bIxoqm1aObAg0MzFtvhYwgQE6qnIOWx/GLj5ONgcTPH6N0fD9bVq/GfdeC9ZORBXozt/XeEKDpiB3x3vlQ==", + "license": "ISC", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" + } + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", diff --git a/package.json b/package.json index f3612cc..0148cee 100644 --- a/package.json +++ b/package.json @@ -13,17 +13,15 @@ "@headlessui/react": "^2.1.1", "dompurify": "^3.1.6", "emailjs-com": "^3.2.0", + "lucide-react": "^0.436.0", "prismjs": "^1.29.0", "react": "^18.2.0", "react-copy-to-clipboard": "^5.1.0", "react-dom": "^18.2.0", "react-ga4": "^2.1.0", "react-router-dom": "^6.23.0", - "react-syntax-highlighter": "^15.5.0", - "react-toastify": "^10.0.5", - "tesseract.js": "^5.1.0" }, "devDependencies": { diff --git a/public/hero-img-osc-min.png b/public/hero-img-osc-min.png new file mode 100644 index 0000000..4219eac Binary files /dev/null and b/public/hero-img-osc-min.png differ diff --git a/src/Components/Card.jsx b/src/Components/Card.jsx index 0be7b43..1ab6e3f 100644 --- a/src/Components/Card.jsx +++ b/src/Components/Card.jsx @@ -1,28 +1,31 @@ +import { ArrowRight } from "lucide-react"; import { Link } from "react-router-dom"; const Card = ({ name = "no name", description = `Because it's about motivating the doers. Because I'm here to follow my dreams and inspire others.`, - linkName = "stopwatch" + linkName = "stopwatch", }) => { - return ( -
- -
-
- {name} -
-

- {description} -

-

- Learn more -

-
- - + return ( +
+ +
+
+ {name} +
+

+ {description} +

+

+ Learn more{" "} + + + +

- ); + +
+ ); }; export default Card; diff --git a/src/Home.jsx b/src/Home.jsx index f5be3ba..ca2ce32 100644 --- a/src/Home.jsx +++ b/src/Home.jsx @@ -9,65 +9,97 @@ import Footer from "./Components/Footer"; const Home = () => { const gaEventTracker = useAnalyticsEventTracker("Home"); - + //bwgradient return ( -
- - {/* */} -

- Practice Interview Problems -

-

- {" "} - Help us improve! Share your honest{" "} - - feedback - {" "} - for a better user experience. -

{" "} - gaEventTracker("click", "All Problems Button")} - > -

- - - - - - - All problems - - All problems -

- -
-
- {buttonDetails.map(({ name, description }) => ( - gaEventTracker("click", `Card - ${name}`)} +
+
+
+ {/* */} +
+
+

+ Nail your next interview +

+ +

+ Get ready for your front-end interview with confidence. Explore + the key topics commonly asked by FAANG companies and dive into + code examples to sharpen your skills and ace your next interview. +

+ + gaEventTracker("click", "All Problems Button")} + className="" + > +

+ + + + + + + All problems + + All problems +

+ +
+ +
+ Hero Image - ))} +
+
+ +
+ + + +
+

+ Questions +

+
+ {buttonDetails.map(({ name, description }) => ( + gaEventTracker("click", `Card - ${name}`)} + /> + ))} +
+ +
+

+ Help us improve! Share your honest{" "} + + feedback + {" "} + for a better user experience. +

+
+ +