diff --git a/src/app/projects/components/ProjectCard.tsx b/src/app/projects/components/ProjectCard.tsx index 671f451f..92ba7ae1 100644 --- a/src/app/projects/components/ProjectCard.tsx +++ b/src/app/projects/components/ProjectCard.tsx @@ -6,6 +6,7 @@ import Image from "next/image"; interface Props { title: string; + parentTitle: string; shortDescription: string; githubUrl?: string; documentationUrl?: string; @@ -16,6 +17,7 @@ export default function ProjectCard({ shortDescription, githubUrl, documentationUrl, + parentTitle, }: Props) { return (
@@ -25,7 +27,8 @@ export default function ProjectCard({

{shortDescription}

- {(githubUrl || documentationUrl) && + {parentTitle !== "Upcoming Projects" && + (githubUrl || documentationUrl) && (githubUrl !== "NA" || documentationUrl !== "NA") && (
{githubUrl && githubUrl !== "NA" ? ( diff --git a/src/app/projects/components/ProjectGrid.tsx b/src/app/projects/components/ProjectGrid.tsx index 961128b5..3657005b 100644 --- a/src/app/projects/components/ProjectGrid.tsx +++ b/src/app/projects/components/ProjectGrid.tsx @@ -26,11 +26,20 @@ export default function ProjectGrid({ title, projectData }: Props) {
{projectData.map( - ({ title, shortDescription, githubUrl, documentationUrl }, index) => { + ( + { + title: projectTitle, + shortDescription, + githubUrl, + documentationUrl, + }, + index + ) => { return (