|
|
@ -2,17 +2,17 @@ import "./index.scss"; |
|
|
|
|
|
|
|
|
|
|
|
const TimeLineItem = ({ data }) => ( |
|
|
|
const TimeLineItem = ({ data }) => ( |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="timeline-item flex flex-row mt-5 w-1/2 justify-end" |
|
|
|
className="timeline-item flex flex-row mt-5 w-1/2 self-end justify-start" |
|
|
|
style={{ paddingLeft: "30px" }} |
|
|
|
style={{ paddingRight: "30px" }} |
|
|
|
> |
|
|
|
> |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="timeline-item-content relative bg-white rounded shadow-md 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" }} |
|
|
|
> |
|
|
|
> |
|
|
|
<div className="flex flex-row-reverse gap-x-2 p-3"> |
|
|
|
<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]">{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"> |
|
|
|
{/* <div className="flex flex-row-reverse items-center justify-between w-full"> |
|
|
|
<div className="bg-[#D4E6FF] w-10 h-10 rounded-full"> |
|
|
|
<div className="bg-[#D4E6FF] w-10 h-10 rounded-full"> |
|
|
@ -20,11 +20,12 @@ const TimeLineItem = ({ data }) => ( |
|
|
|
</div> |
|
|
|
</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> |
|
|
|
<p className="text-right text-sm font-bold text-[#00253A]"> |
|
|
|
<p className="text-right text-sm font-bold text-[#00253A]"> |
|
|
|
{data.text} |
|
|
|
{data.text} |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<p className="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> |
|
|
|
<span className="circle"></span> |
|
|
|
<span className="circle"></span> |