diff --git a/src/components/Dashboards/AccountDashboard.jsx b/src/components/Dashboards/AccountDashboard.jsx index b7f36bd..c80a753 100644 --- a/src/components/Dashboards/AccountDashboard.jsx +++ b/src/components/Dashboards/AccountDashboard.jsx @@ -78,25 +78,7 @@ const AccountDashboard = ({ className, bannerList, offersList, imageServer }) => {/* for flat banner section */}
{/* OFFER LIST DISPLAY */} - {/* <> - {(offersList && offersList?.length > 0) && - offersList.map((item, index) => { - let thePrice = PriceFormatter( - item?.price * 0.01, - item?.currency_code, - item?.currency - ); - - let image = `${imageServer}${localStorage.getItem("session_token")}/job/${item.job_uid}` - if(index >= 3) { - return( -
- -
- ) - } - })} - */} + {getLowerBanner?.map((props, idx) => { let image = getImage(props); @@ -150,15 +132,15 @@ const TopBanner = ({ image, title = "", desc = "", btn, link_path, key }) => {
- + {title} - + {desc}
- + {btn}
-

+

{datas?.title}

@@ -210,7 +192,7 @@ const NewOfferCard = ({ datas, hidden = false, price, setOfferPopout, image }) = onClick={() => setOfferPopout({ show: true, data: { ...datas, image } }) } - className="btn-shine w-2/3 h-[40px] text-white rounded-full text-sm bg-pink flex justify-center items-center" + className="btn-shine w-2/3 h-[40px] text-white rounded-full text-base bg-pink flex justify-center items-center" > Start Now @@ -240,7 +222,7 @@ const NewOfferCardFlat = ({ datas, hidden = false, price, setOfferPopout, image
-

+

{datas?.title}

@@ -249,7 +231,7 @@ const NewOfferCardFlat = ({ datas, hidden = false, price, setOfferPopout, image onClick={() => setOfferPopout({ show: true, data: { ...datas, image } }) } - className="btn-shine w-28 h-[40px] text-white rounded-full text-sm bg-pink flex justify-center items-center" + className="btn-shine w-28 h-[40px] text-white rounded-full text-base bg-pink flex justify-center items-center" > Start Now @@ -301,10 +283,10 @@ const LowerBanner = ({ image, title = "", desc = "", btn, link_path, card_type,
- + {title} -

+

{desc}

@@ -319,7 +301,7 @@ const LowerBanner = ({ image, title = "", desc = "", btn, link_path, card_type,
- + {btn}