Skip to content

Commit 0554ee4

Browse files
committed
Make cover images as links and minor updates on README.md
1 parent 55162f4 commit 0554ee4

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class App extends Component {
7878
</div>
7979
<div className='footer'>
8080
<div>
81-
<a href='https://hashnode.com?utm_source=chrome_extension&utm_medium=extension' target='_blank' rel='noopener'>My feed</a> · <span>&copy 2019</span>
81+
<a href='https://hashnode.com?utm_source=chrome_extension&utm_medium=extension' target='_blank' rel='noopener'>My feed</a> · <span>&copy; 2019</span>
8282
</div>
8383
<a href='https://l.hshno.de/chrome-extension-feedback' target='_blank' rel='noopener'>Feedback</a>
8484
</div>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ In order to live test the extension copy the `manifest.json` file manually to re
3131
----
3232

3333
**To build for production**
34-
Run `yarn build`. This time no need to copy manifest file manually. Everything is taken care of.
34+
Run `yarn build-all`. This builds for both chrome and firefox. This time no need to copy manifest file manually. Everything is taken care of.
3535

3636
---
3737

components/PostCard.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ export class PostCard extends Component {
3131
return (
3232
<div>
3333
{post.coverImage && (
34-
<img className='post-cover' src={post.coverImage} width='100%' />
34+
<a
35+
href={`https://hashnode.com/post/${post.slug}-${
36+
post.cuid
37+
}?utm_source=chrome_extension&utm_medium=extension`}
38+
target='_blank'
39+
>
40+
<img className='post-cover' src={post.coverImage} width='100%' />
41+
</a>
3542
)}
3643
<div className='post-details'>
3744
<a

0 commit comments

Comments
 (0)