File tree Expand file tree Collapse file tree 1 file changed +20
-14
lines changed
src/app/projects/components Expand file tree Collapse file tree 1 file changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -25,20 +25,26 @@ export default function ProjectCard({
2525 < p className = 'mt-3 text-mf-dark tracking-wide leading-10' >
2626 { shortDescription }
2727 </ p >
28- { ( githubUrl || documentationUrl ) && (
29- < div className = 'flex gap-4 justify-end mt-6 pt-6 border-t-2' >
30- { githubUrl && githubUrl !== "NA" ? (
31- < Link href = { githubUrl ! } target = '_blank' >
32- < Image src = { github } height = { 20 } width = { 20 } alt = 'facebook_img' />
33- </ Link >
34- ) : null }
35- { documentationUrl && documentationUrl !== "NA" ? (
36- < Link href = { documentationUrl } target = '_blank' >
37- < Image src = { redirect } height = { 20 } width = { 20 } alt = 'facebook_img' />
38- </ Link >
39- ) : null }
40- </ div >
41- ) }
28+ { ( githubUrl || documentationUrl ) &&
29+ ( githubUrl !== "NA" || documentationUrl !== "NA" ) && (
30+ < div className = 'flex gap-4 justify-end mt-6 pt-6 border-t-2' >
31+ { githubUrl && githubUrl !== "NA" ? (
32+ < Link href = { githubUrl ! } target = '_blank' >
33+ < Image src = { github } height = { 20 } width = { 20 } alt = 'facebook_img' />
34+ </ Link >
35+ ) : null }
36+ { documentationUrl && documentationUrl !== "NA" ? (
37+ < Link href = { documentationUrl } target = '_blank' >
38+ < Image
39+ src = { redirect }
40+ height = { 20 }
41+ width = { 20 }
42+ alt = 'facebook_img'
43+ />
44+ </ Link >
45+ ) : null }
46+ </ div >
47+ ) }
4248 </ div >
4349 ) ;
4450}
You can’t perform that action at this time.
0 commit comments