Skip to content

Commit

Permalink
Adding new broken image
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed Mar 24, 2024
1 parent 4ecfe63 commit cd8bc59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/blocks/downloadBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Download = (data: Downloads) => {
secondLinkText,
} = data;

const srcImage = img && !isImgBroken ? img : "/images/broken-image.png";
const srcImage = img && !isImgBroken ? img : "/images/broken-image.jpg";
return (
<div className="col-span-1">
<div className={classNames("py-3 text-black md:px-6")}>
Expand All @@ -78,7 +78,7 @@ const Download = (data: Downloads) => {
alt={header}
height={400}
width={210}
style={{ width: "100%", height: "auto" }}
style={{ width: "auto", height: "100%" }}
/>
)}
</div>
Expand Down
Binary file added public/images/broken-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cd8bc59

Please sign in to comment.