diff --git a/src/pages/FAQ.tsx b/src/pages/FAQ.tsx index b15fe937..8ec0813f 100644 --- a/src/pages/FAQ.tsx +++ b/src/pages/FAQ.tsx @@ -2,6 +2,8 @@ import Fuse from "fuse.js"; import React, { useState } from "react"; import { FAQs } from "../data/FAQs"; import FooterSection from "../components/FooterSection"; +import { IconContext } from "react-icons"; +import { MdCancel } from "react-icons/md"; export default function FAQ() { const [query, setQuery] = useState(""); @@ -30,16 +32,23 @@ export default function FAQ() { Wanna ask us a question? Check these first.

- +
-
+
+ {query !== "" && ( + + )}
diff --git a/src/pages/Projects.tsx b/src/pages/Projects.tsx index f3482fb6..34f74e52 100644 --- a/src/pages/Projects.tsx +++ b/src/pages/Projects.tsx @@ -59,11 +59,13 @@ function Projects() { onChange={onQueryChangeHandler} value={query} > + {query !== "" && ( + )}