|
|
@ -1,7 +1,7 @@ |
|
|
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; |
|
|
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; |
|
|
|
import { faFacebookSquare, faRedditSquare, faTwitterSquare } from '@fortawesome/free-brands-svg-icons' |
|
|
|
import { faFacebookSquare, faHackerNewsSquare, faRedditSquare, faTwitterSquare } from '@fortawesome/free-brands-svg-icons'; |
|
|
|
|
|
|
|
|
|
|
|
import { getFacebookShareUrl, getRedditShareUrl, getTwitterShareUrl } from "lib/url"; |
|
|
|
import { getFacebookShareUrl, getHnShareUrl, getRedditShareUrl, getTwitterShareUrl } from 'lib/url'; |
|
|
|
import { ShareIconsList, ShareWrap } from './style'; |
|
|
|
import { ShareIconsList, ShareWrap } from './style'; |
|
|
|
import { ShareIcon } from 'components/share-icon'; |
|
|
|
import { ShareIcon } from 'components/share-icon'; |
|
|
|
|
|
|
|
|
|
|
@ -24,6 +24,9 @@ const SharePage = ({ |
|
|
|
<ShareIcon href={ getFacebookShareUrl({ text: title, url: url }) } target="_blank"> |
|
|
|
<ShareIcon href={ getFacebookShareUrl({ text: title, url: url }) } target="_blank"> |
|
|
|
<FontAwesomeIcon icon={ faFacebookSquare } /> |
|
|
|
<FontAwesomeIcon icon={ faFacebookSquare } /> |
|
|
|
</ShareIcon> |
|
|
|
</ShareIcon> |
|
|
|
|
|
|
|
<ShareIcon href={ getHnShareUrl({ text: title, url: url })} target="_blank"> |
|
|
|
|
|
|
|
<FontAwesomeIcon icon={faHackerNewsSquare}/> |
|
|
|
|
|
|
|
</ShareIcon> |
|
|
|
<ShareIcon href={ getRedditShareUrl({ text: title, url: url })} target="_blank"> |
|
|
|
<ShareIcon href={ getRedditShareUrl({ text: title, url: url })} target="_blank"> |
|
|
|
<FontAwesomeIcon icon={ faRedditSquare } /> |
|
|
|
<FontAwesomeIcon icon={ faRedditSquare } /> |
|
|
|
</ShareIcon> |
|
|
|
</ShareIcon> |
|
|
|