Skip to content

Commit

Permalink
Merge pull request #38 from rezaageng/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rezaageng authored Oct 27, 2023
2 parents dcc6e06 + 986e0b9 commit 5b3b8e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/app/projects/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ const Projects = async (): Promise<JSX.Element> => {
key={project.id}
index={i}
title={project.attributes.name}
cover={project.attributes.cover.data.attributes.formats.medium.url}
cover={
project.attributes.cover.data.attributes.formats.medium?.url ??
project.attributes.cover.data.attributes.url
}
slug={project.attributes.slug}
repository={project.attributes.repository}
website={project.attributes.website}
Expand Down
2 changes: 1 addition & 1 deletion src/components/home/HomeThanks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const HomeThanks = ({ link }: Props): JSX.Element => {
},
{
name: 'E-mail',
link: link.attributes.email
link: `mailto:${link.attributes.email}`
}
]

Expand Down

0 comments on commit 5b3b8e6

Please sign in to comment.