update src/components/Card/index.js اون بوردید سمت چپ طرح را اضافه کردم | 6

master
mahdi andalib 2 years ago
parent a00dfbec62
commit 45e2b6c945
  1. 19
      src/components/Card/index.js

@ -58,15 +58,18 @@ const ProcessCard = ({ processes, title, hint, buttons, options }) => {
{/* left */}
<div className="flex flex-col justify-center gap-y-4 p-2 bg-white border-r border-blue-400">
{options.map((option, j) => (
<div
key={j}
className="flex flex-row gap-x-7 items-center justify-between"
>
<div className="flex flex-row items-center">
<img src={option.icon} alt="icon" className="w-6" />
<p className="text-xs mr-1.5 text-[#00253A]">{option.title}</p>
<div className="flex flex-col">
<div
key={j}
className="flex flex-row gap-x-7 items-center justify-between"
>
<div className="flex flex-row items-center">
<img src={option.icon} alt="icon" className="w-6" />
<p className="text-xs mr-1.5 text-[#00253A]">{option.title}</p>
</div>
<p className="text-xs text-[#00253A]">{option.content}</p>
</div>
<p className="text-xs text-[#00253A]">{option.content}</p>
{j === 2 && <hr className="mt-4 border border-[#F2F2F2]" />}
</div>
))}
</div>

Loading…
Cancel
Save