From 1d50790cc1c394a34f5249a50a49e6f67460d09a Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Wed, 31 May 2023 15:14:34 +0100 Subject: [PATCH] manage active job layout changed --- .../MyActiveJobs/ActiveJobMessage.jsx | 2 +- src/components/MyActiveJobs/ActiveJobs.jsx | 235 +++++++++--------- 2 files changed, 120 insertions(+), 117 deletions(-) diff --git a/src/components/MyActiveJobs/ActiveJobMessage.jsx b/src/components/MyActiveJobs/ActiveJobMessage.jsx index 9aedbfb..c73ec45 100644 --- a/src/components/MyActiveJobs/ActiveJobMessage.jsx +++ b/src/components/MyActiveJobs/ActiveJobMessage.jsx @@ -48,7 +48,7 @@ export default function ActiveJobMessage({ activeJobMesList }) { : - No Purchase History Found! + No Message Found! } diff --git a/src/components/MyActiveJobs/ActiveJobs.jsx b/src/components/MyActiveJobs/ActiveJobs.jsx index 5c7d710..e9d88f8 100644 --- a/src/components/MyActiveJobs/ActiveJobs.jsx +++ b/src/components/MyActiveJobs/ActiveJobs.jsx @@ -52,11 +52,10 @@ function ActiveJobs(props) { return ( -
-
-
- {/* back btn and title */} -
+
+ {/* job title */} +
+
-

+

{props.details?.title && props.details.title}

- {/* END of back btn and title */} -
-
-

+

+
+

{props.details?.contract && props.details.contract}

-

- Description: - {props.details?.description && props.details.description} -

-

Delivery Detail

-
-

- Due: - {props.details?.delivery_date && - props.details.delivery_date.split(" ")[0]} -

-

- {props.details?.delivery_date && - props.details.delivery_date.split(" ")[1]} -

-

- {props.details?.timeline_days && props.details.timeline_days} day(s) -

-
-
-
-

+

{userDetails.firstname && userDetails.firstname}

+ +

+ Description: + {props.details?.description && props.details.description} +

+ {/* end of job title */} -
+ {/* job details */} +
+

Delivery Detail

+
+

+ Due: + {props.details?.delivery_date && + props.details.delivery_date.split(" ")[0]} +

+

+ {props.details?.delivery_date && + props.details.delivery_date.split(" ")[1]} +

+

+ {props.details?.timeline_days && props.details.timeline_days} day(s) +

+
+
+ {/* end of job details */} +
+ +
+
-

Message(s)

-