diff --git a/src/app/events/page.tsx b/src/app/events/page.tsx index 78ba50d..df68074 100644 --- a/src/app/events/page.tsx +++ b/src/app/events/page.tsx @@ -98,7 +98,7 @@ const Events = () => {

{new Date(event.created_time).toLocaleDateString()}

-

{event.event_body}

+

{event.event_body}

{event.event_body.length > 100 && ( Read more )} diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index b2ff993..3291d8a 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -23,7 +23,7 @@ interface Events { created_time: string; is_deleted: string; show_in_main: string; - + id:number } @@ -472,7 +472,8 @@ const cards = [

{card.event_heading}

-

{card.event_body}

+

{card.event_body}

+ Read more ))} diff --git a/src/app/participant-list/item/page.tsx b/src/app/participant-list/item/page.tsx index dee486b..3551344 100644 --- a/src/app/participant-list/item/page.tsx +++ b/src/app/participant-list/item/page.tsx @@ -63,31 +63,31 @@ const Item: React.FC = () => { return ( <> -
+
{treeDetails.up_file ? ( - + Image ): -
To be Uploaded
+
To be Uploaded
} {treeDetails.up_file_2 ? ( - + Image ): -
To be Uploaded
+
To be Uploaded
} {treeDetails.up_file_3 ? ( - + Image ): -
To be Uploaded
+
To be Uploaded
} {treeDetails.up_file_4 ? ( - + Image ): -
To be Uploaded
+
To be Uploaded
}

diff --git a/src/app/participant-list/page.tsx b/src/app/participant-list/page.tsx index c59e49f..4c91cdd 100644 --- a/src/app/participant-list/page.tsx +++ b/src/app/participant-list/page.tsx @@ -114,7 +114,7 @@ const ParticipantList: React.FC = () => {
{/* Conditional image for challenged status */} {participant.is_challenged == 1 && ( @@ -132,41 +132,41 @@ const ParticipantList: React.FC = () => { }} > Image
Tree number:
-
{participant.up_id}
+
{participant.up_id}
-
+
{formatDate(participant.up_date)}
{formatTime(participant.up_date)}

-
-
+
+ {/*
Tree name:
{participant.up_tree_name}
-
-
+
*/} + {/*
Planter name:
{participant.up_planter}
+
*/} +
+ {/*
Uploader name:
*/} +
{participant.up_name}
-
-
Uploader name:
-
{participant.up_name}
-
-
-
Group name:
-
{participant.gp_name}
+
+ {/*
Group name:
*/} +
{participant.gp_name}
{participant.is_challenged == 1 ? (
-
This image has been challenged
+
This image has been challenged
) : token!=null ? (