From a00dfbec62087f0ce71eaf2d0fff2240897d9688 Mon Sep 17 00:00:00 2001 From: mahdi andalib Date: Wed, 6 Jul 2022 12:17:07 +0430 Subject: [PATCH] =?UTF-8?q?=D9=88=DB=8C=D8=B1=DB=8C=D8=B4=20=DB=8C=DA=A9?= =?UTF-8?q?=20=D8=B3=D8=B1=DB=8C=20=D8=A7=D8=B2=20=D9=85=D9=88=D8=A7=D8=B1?= =?UTF-8?q?=D8=AF=20|9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Card/index.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/components/Card/index.js b/src/components/Card/index.js index 25cef4b..95d9298 100644 --- a/src/components/Card/index.js +++ b/src/components/Card/index.js @@ -14,10 +14,10 @@ const ProcessCard = ({ processes, title, hint, buttons, options }) => { {/* right */}
{/* top */} -
+
{processes.map((process, index) => (
{process.color && ( @@ -25,9 +25,6 @@ const ProcessCard = ({ processes, title, hint, buttons, options }) => { parentClassName={`${process.color} w-3 h-3`} childClassName={false} /> - //
)}

{process.name}

{process.content} @@ -35,14 +32,16 @@ const ProcessCard = ({ processes, title, hint, buttons, options }) => { ))}
{/* middle */} -
-

{title}

-

- {hint} -

+
+
+

{title}

+

+ {hint} +

+
{/* bottom */} -
+
{buttons.map((btn, index) => (
{/* left */} -
+
{options.map((option, j) => (