40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
import Image from "next/image";
|
||
import React from "react";
|
||
import img1 from "@/assets/images/no-image.jpeg";
|
||
import RequestStatus from "./RequestStatus";
|
||
const RequestCard = () => {
|
||
return (
|
||
<article
|
||
className="w-full bg-white flex items-stretch mb-3 cursor-pointer min-h-[170px] md:p-3 md:rounded-md md:border-0 md:shadow-[0_2px_5px_rgba(0,0,0,0.05)]"
|
||
style={{ direction: "rtl" }}
|
||
>
|
||
<div className="w-full max-w-[100px] flex items-center justify-center">
|
||
<Image
|
||
src={img1}
|
||
alt="11"
|
||
className="w-full h-full rounded-md object-contain"
|
||
/>
|
||
</div>
|
||
|
||
<div className="flex-1 pr-2">
|
||
{/* 1 requestCardInfoRow */}
|
||
<div className="w-full flex items-center justify-between mb-2">
|
||
<p className="text-xs font-bold text-ellipsis">عنوان دسته بندی</p>
|
||
<RequestStatus />
|
||
</div>
|
||
|
||
{/* 2 */}
|
||
<div className="w-full flex items-center justify-between mb-2">222</div>
|
||
|
||
{/* 3 */}
|
||
<div className="w-full flex items-center justify-between mb-2">333</div>
|
||
|
||
{/* 4 */}
|
||
<div className="w-full flex items-center justify-between mb-2">444</div>
|
||
</div>
|
||
</article>
|
||
);
|
||
};
|
||
|
||
export default RequestCard;
|