|
|
@ -9,16 +9,13 @@ const TimeLineItem = ({ data }) => ( |
|
|
|
className="timeline-item-content relative bg-white rounded-md shadow-sm flex flex-col items-end border border-[#D6D6D6] " |
|
|
|
className="timeline-item-content relative bg-white rounded-md shadow-sm flex flex-col items-end border border-[#D6D6D6] " |
|
|
|
style={{ maxWidth: "70%", width: "400px" }} |
|
|
|
style={{ maxWidth: "70%", width: "400px" }} |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
{/* top --> time & date */} |
|
|
|
<div className="flex flex-row-reverse p-3 self-end"> |
|
|
|
<div className="flex flex-row-reverse p-3 self-end"> |
|
|
|
<time className="text-xs text-[#0A7C9F]">{data.date}</time> |
|
|
|
<time className="text-xs text-[#0A7C9F]">{data.date}</time> |
|
|
|
<span className="text-xs text-[#0A7C9F]">-</span> |
|
|
|
<span className="text-xs text-[#0A7C9F]">-</span> |
|
|
|
<time className="text-xs text-[#0A7C9F] ml-1">{data.time}</time> |
|
|
|
<time className="text-xs text-[#0A7C9F] ml-1">{data.time}</time> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* <div className="flex flex-row-reverse items-center justify-between w-full"> |
|
|
|
{/* middle --> title & content */} |
|
|
|
<div className="bg-[#D4E6FF] w-10 h-10 rounded-full"> |
|
|
|
|
|
|
|
<div className="bg-[#D4E6FF99] w-10 h-10 rounded-full"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> */} |
|
|
|
|
|
|
|
<div className="bg-[#F3F3F3] w-full px-4 py-2 flex flex-row items-center"> |
|
|
|
<div className="bg-[#F3F3F3] w-full px-4 py-2 flex flex-row items-center"> |
|
|
|
<div className="bg-[#65A9FF] w-1 h-full rounded ml-2"></div> |
|
|
|
<div className="bg-[#65A9FF] w-1 h-full rounded ml-2"></div> |
|
|
|
<p className="text-right text-sm font-bold text-[#00253A]"> |
|
|
|
<p className="text-right text-sm font-bold text-[#00253A]"> |
|
|
@ -28,6 +25,19 @@ const TimeLineItem = ({ data }) => ( |
|
|
|
<p className="mt-2 text-xs text-justify px-4 text-[#00253A99] text-light leading-6"> |
|
|
|
<p className="mt-2 text-xs text-justify px-4 text-[#00253A99] text-light leading-6"> |
|
|
|
{data.content} |
|
|
|
{data.content} |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
|
|
|
|
{/* divider */} |
|
|
|
|
|
|
|
<div className="border border-[#F3F3F3] w-11/12 mt-4 mx-auto"></div> |
|
|
|
|
|
|
|
{/* bottom --> users */} |
|
|
|
|
|
|
|
<div className="flex flex-row items-center self-start px-4 py-2"> |
|
|
|
|
|
|
|
{data.users.map((user, index) => ( |
|
|
|
|
|
|
|
<div key={index} className="flex flex-row items-center"> |
|
|
|
|
|
|
|
<p className="mr-1 text-sm text-[#00253A]"> |
|
|
|
|
|
|
|
{user.name + " " + user.lname} |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
{"،"} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</div> |
|
|
|
<span className="circle"></span> |
|
|
|
<span className="circle"></span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|