Skip to content

Commit

Permalink
Set download image to board website (#81)
Browse files Browse the repository at this point in the history
Fix mistercade image on download page
  • Loading branch information
arntsonl authored Dec 5, 2024
1 parent 681b926 commit 4e18e59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const RenderDownloadBox = ({
const releaseVersion = useGitHubInfo((state) => state.releaseVersion);
return (
<div key={`download-${name}`} className={styles.box}>
<img className={styles.boxImage} src={image} />
<a href={website}>
<img className={styles.boxImage} src={image} />
</a>
<div className={styles.boxInfo}>
<h3 className={styles.boxTitle}>{name}</h3>
<div>
Expand Down
2 changes: 1 addition & 1 deletion src/config/boards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ const boards = {
pinout: null,
website:
'https://github.com/misteraddons/MiSTercadeV1',
image: '/img/boards/MiSTercadeV2.jpg',
image: '/img/boards/MistercadeV2.jpg',
category: 'closed',
desc: () => (
<p>
Expand Down

0 comments on commit 4e18e59

Please sign in to comment.