diff --git a/src/components/FeedbackPrompt.tsx b/src/components/FeedbackPrompt.tsx index f705af5b56217b4..9fd2730c0484afc 100644 --- a/src/components/FeedbackPrompt.tsx +++ b/src/components/FeedbackPrompt.tsx @@ -1,6 +1,10 @@ import { useState } from "react"; +import { + MdOutlineThumbUp, + MdOutlineThumbDown, + MdCheckCircleOutline, +} from "react-icons/md"; import { Turnstile } from "@marsidev/react-turnstile"; -import { MdOutlineThumbUp, MdOutlineThumbDown } from "react-icons/md"; import { track } from "~/util/zaraz"; type SetState = React.Dispatch>; @@ -30,26 +34,28 @@ function Buttons({ setOption: SetState<"yes" | "no" | undefined>; }) { return ( - <> +
- +
); } @@ -89,39 +95,65 @@ function Form({ } return ( -
- {questions[option].map(([label, value]) => ( - - ))} + +
+ + {option === "yes" ? "What did you like?" : "What went wrong?"} + +
+ {questions[option].map(([label, value]) => ( + + ))} +
+