From 56cb95648231912c6e599234a89a0636e3ebae2f Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Mon, 26 Feb 2024 14:07:15 +0100 Subject: [PATCH] adjusted banner card design --- src/components/Home/FamilyDash.jsx | 43 +++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/src/components/Home/FamilyDash.jsx b/src/components/Home/FamilyDash.jsx index a6b11c1..918b6b0 100644 --- a/src/components/Home/FamilyDash.jsx +++ b/src/components/Home/FamilyDash.jsx @@ -43,12 +43,27 @@ export default function FamilyDash({ familyOffers, MyActiveJobList }) {
{Object.keys(familyBannersList?.result?.result_list).map((item, index) => { let content = familyBannersList?.result?.result_list[item] + let action = item == 'recommend' ? 'familymarket' : 'mytask' return ( - +
- banner image -

{content.banner.text}

-

{content.banner.description}

+ banner image +
+

{content.banner.text}

+

{content.banner.description}

+
+ {/* Horizontal Line */} +
+ +
+ 6w ago + {/* Dots */} +
+
+
+
+
+
) @@ -60,9 +75,25 @@ export default function FamilyDash({ familyOffers, MyActiveJobList }) {

Resources

{[1,2,3,4,5].map((item, index) => ( - -
+ +
+ banner image +
+

{'Heading'}

+

{'Description'}

+
+ {/* Horizontal Line */} +
+
+ 6w ago + {/* Dots */} +
+
+
+
+
+
))}