From 19c25002633318597ad3e480a7a82a20d49ba3f2 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 24 Sep 2024 21:13:03 +0100 Subject: [PATCH 1/2] added dark color for offer list card --- src/components/Dashboards/AccountDashboard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Dashboards/AccountDashboard.jsx b/src/components/Dashboards/AccountDashboard.jsx index 0f5f361..7fe72ce 100644 --- a/src/components/Dashboards/AccountDashboard.jsx +++ b/src/components/Dashboards/AccountDashboard.jsx @@ -147,7 +147,7 @@ const TopBanner = ({ image, title = "", desc = "", btn, link_path, key }) => { const NewOfferCard = ({ datas, hidden = false, price, setOfferPopout, image }) => { return ( -
+
{/* thumbnail image/video */} {datas.job_type == "MEDIA" ? From 24e2a905d2e97d1cadadc289e375b6225e2cf60c Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 24 Sep 2024 22:07:33 +0100 Subject: [PATCH 2/2] moved refer friend section --- src/components/Dashboards/AccountDashboard.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Dashboards/AccountDashboard.jsx b/src/components/Dashboards/AccountDashboard.jsx index 7fe72ce..eecd4c2 100644 --- a/src/components/Dashboards/AccountDashboard.jsx +++ b/src/components/Dashboards/AccountDashboard.jsx @@ -10,8 +10,8 @@ const AccountDashboard = ({ className, bannerList, offersList }) => { let [offerPopout, setOfferPopout] = useState({ show: false, data: {} }); // STATE TO HOLD THE VALUE OF THE ALERT DETAILS AND DETERMINE WHEN TO SHOW // getting the upper three banners for the home layout - const getUpperBanner = bannerList?.filter((value, idx) => idx <= 2); - const getLowerBanner = bannerList?.filter((value, idx) => idx > 2); + const getUpperBanner = bannerList?.filter((value, idx) => idx < 2); + const getLowerBanner = bannerList?.filter((value, idx) => idx >= 2); let getImage = ({ banner_location, banner }) => { if (banner_location == "LOCAL") {