diff --git a/src/components/Cards/AvailableJobsCard.jsx b/src/components/Cards/AvailableJobsCard.jsx index d5cc2d9..7ffd7ed 100644 --- a/src/components/Cards/AvailableJobsCard.jsx +++ b/src/components/Cards/AvailableJobsCard.jsx @@ -9,13 +9,13 @@ export default function AvailableJobsCard({ className, datas, hidden = false, - contentDisplay + contentDisplay, }) { //debugger; const [marketPopUp, setMarketPopUp] = useState({ show: false, data: {} }); const [imageUrl, setImageUrl] = useState(""); - let thePrice = PriceFormatter( + let thePrice = PriceFormatter( datas?.price * 0.01, datas?.currency_code, datas?.currency @@ -27,121 +27,136 @@ export default function AvailableJobsCard({ }, []); return ( <> - {contentDisplay == 'grid' ? -
Added
-- {datas.offer_added} -
-- Expires -
-- {datas.expire} -
-- {/* {thePrice} | {datas.timeline_days} day(s) */} - {thePrice} +
+ Added
-- ( {datas.offer_code}) | - - {datas.timeline_days} day(s) - +
+ {datas.offer_added}
+ Expires +
++ {datas.expire} +
++ {/* {thePrice} | {datas.timeline_days} day(s) */} + {thePrice} +
++ ( {datas.offer_code}) | + + {datas.timeline_days} day(s) + +
+{datas?.description}
-+ {datas?.description} +
+Added
@@ -162,40 +177,37 @@ export default function AvailableJobsCard({- Price: {thePrice} -
-- Duration:{" "} - - {" "} - {datas?.timeline_days} day(s) - -
-- Code:{" "} - - {" "} - {datas?.offer_code} - -
++ Price: {thePrice} +
++ Duration:{" "} + + {" "} + {datas?.timeline_days} day(s) + +
++ Code:{" "} + {datas?.offer_code} +
+