Skip to content

Commit

Permalink
Fix product hunt pic not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
jayehernandez committed Oct 20, 2022
1 parent ec08712 commit c41d0ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions site/components/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,9 @@ function About() {
style={{ width: '250px', height: '54px', margin: 'auto' }}
rel="noreferrer"
>
<img
<Image
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=196571&theme=dark"
alt="Letra - Passively learn a new language every time you open a new tab | Product Hunt"
style={{ width: '250px', height: '54px' }}
width="250"
height="54"
/>
Expand Down
1 change: 1 addition & 0 deletions site/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
reactStrictMode: true,
images: {
dangerouslyAllowSVG: true,
domains: ['api.producthunt.com', 'avatars.githubusercontent.com', 'images.unsplash.com'],
},
};

0 comments on commit c41d0ff

Please sign in to comment.