Skip to content

Commit

Permalink
Merge pull request #34 from deamme/master
Browse files Browse the repository at this point in the history
Include message icon as a clickable link
  • Loading branch information
mddanishyusuf authored Apr 10, 2019
2 parents 66c4624 + a1e00fa commit 98b74de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/HackCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const HackCard = (props) => {
<Heart size={18} color={'#4618B1'}/><span>25</span>
</div> */}
<div className="any-comments footer-meta">
<MessageSquare size={18} color={'#4618B1'}/><a href={issue.html_url} target="_blank"><span>{issue.comments === 0 ? 'comment?' : issue.comments}</span></a>
<a href={issue.html_url} target="_blank"><MessageSquare size={18} color={'#4618B1'}/><span>{issue.comments === 0 ? 'comment?' : issue.comments}</span></a>
<span>Share:</span>
<a href={`https://twitter.com/intent/tweet/?text=${encodeURI(issue.title)}&amp;url=https://dailyhack.xyz/post/${[getSlug(issue.title),issue.number].join('-')}`} target="_blank" rel="noopener"><Twitter size={18} color={'#4618B1'}/></a>
<a href={`https://facebook.com/sharer/sharer.php?u=https://dailyhack.xyz/post/${[getSlug(issue.title),issue.number].join('-')}`} target="_blank" rel="noopener"><Facebook size={18} color={'#4618B1'}/></a>
Expand Down

0 comments on commit 98b74de

Please sign in to comment.