From 027d8caf33084391357b540f420829b5fc7aed79 Mon Sep 17 00:00:00 2001 From: praliptarajoo Date: Thu, 18 Jan 2024 17:19:36 +0530 Subject: [PATCH] UI changes under projects page --- src/app/projects/components/ProjectCard.tsx | 34 ++++++++++++--------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/src/app/projects/components/ProjectCard.tsx b/src/app/projects/components/ProjectCard.tsx index e017bf9f..671f451f 100644 --- a/src/app/projects/components/ProjectCard.tsx +++ b/src/app/projects/components/ProjectCard.tsx @@ -25,20 +25,26 @@ export default function ProjectCard({

{shortDescription}

- {(githubUrl || documentationUrl) && ( -
- {githubUrl && githubUrl !== "NA" ? ( - - facebook_img - - ) : null} - {documentationUrl && documentationUrl !== "NA" ? ( - - facebook_img - - ) : null} -
- )} + {(githubUrl || documentationUrl) && + (githubUrl !== "NA" || documentationUrl !== "NA") && ( +
+ {githubUrl && githubUrl !== "NA" ? ( + + facebook_img + + ) : null} + {documentationUrl && documentationUrl !== "NA" ? ( + + facebook_img + + ) : null} +
+ )} ); }