File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/app/projects/components Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,16 @@ export default function ProjectCard({
2727 </ p >
2828 { ( githubUrl || documentationUrl ) && (
2929 < div className = 'flex gap-4 justify-end mt-6 pt-6 border-t-2' >
30- { githubUrl && (
30+ { githubUrl && githubUrl !== "NA" ? (
3131 < Link href = { githubUrl ! } target = '_blank' >
3232 < Image src = { github } height = { 20 } width = { 20 } alt = 'facebook_img' />
3333 </ Link >
34- ) }
35- { documentationUrl && (
36- < Link href = { documentationUrl ?? "" } target = '_blank' >
34+ ) : null }
35+ { documentationUrl && documentationUrl !== "NA" ? (
36+ < Link href = { documentationUrl } target = '_blank' >
3737 < Image src = { redirect } height = { 20 } width = { 20 } alt = 'facebook_img' />
3838 </ Link >
39- ) }
39+ ) : null }
4040 </ div >
4141 ) }
4242 </ div >
You can’t perform that action at this time.
0 commit comments