update src/components/Feedback/index.js

master
mahdi 2 years ago
parent 5ba1f2ec13
commit 63a08d37a0
  1. 8
      src/components/Feedback/index.js

@ -9,16 +9,16 @@ const Feedback = ({ feedbakTitle, feedbacks }) => {
<sections <sections
className={`relative flex-col items-center ${ className={`relative flex-col items-center ${
closeModal ? "hidden" : "flex" closeModal ? "hidden" : "flex"
} justify-center mx-auto my-20 px-4 bg-white rounded shadow-sm border border-gray-500`} } justify-center mx-auto my-20 px-4 bg-white rounded shadow-sm border border-surfaceBorder`}
// style={{ display: closeModal ? "none" : "" }} // style={{ display: closeModal ? "none" : "" }}
> >
<div <div
className="p-2 absolute -top-5 right-10 bg-red-500 rounded-full cursor-pointer" className="p-2 absolute -top-5 right-10 bg-error rounded-full cursor-pointer"
onClick={() => setCloseModal(true)} onClick={() => setCloseModal(true)}
> >
<img src="images/card-remove.svg" alt="remove" className="w-5" /> <img src="images/card-remove.svg" alt="remove" className="w-5" />
</div> </div>
<h2 className="mt-10 text-[#132F52]">{feedbakTitle}</h2> <h2 className="mt-10 text-primaryText">{feedbakTitle}</h2>
<div className="flex flex-row justify-between"> <div className="flex flex-row justify-between">
{feedbacks.map((item, index) => ( {feedbacks.map((item, index) => (
<div <div
@ -62,7 +62,7 @@ const Feedback = ({ feedbakTitle, feedbacks }) => {
></textarea> ></textarea>
<Button <Button
text={"ارسال"} text={"ارسال"}
className="self-end my-5 ml-4 px-8 py-2 bg-[#246E8A] text-white rounded " className="self-end my-5 ml-4 px-8 py-2 bg-primary hover:bg-primaryDark text-white rounded "
/> />
</sections> </sections>
); );

Loading…
Cancel
Save