Merge pull request #42 from wichopy/fix-links-component

Fix hrefs for github, twitter and vk links in Links component.
This commit is contained in:
Alexander Shelepenok 2017-10-30 17:35:05 +02:00 committed by GitHub
commit 79029ca7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,17 +19,17 @@ class Links extends React.Component {
<div className="links"> <div className="links">
<ul className="links__list"> <ul className="links__list">
<li className="links__list-item"> <li className="links__list-item">
<a href={links.twitter}> <a href={ `https://www.twitter.com/${links.twitter}` } target="_blank" >
<i className="icon-twitter" /> <i className="icon-twitter" />
</a> </a>
</li> </li>
<li className="links__list-item"> <li className="links__list-item">
<a href={links.github}> <a href={ `https://www.github.com/${links.github}` } target="_blank" >
<i className="icon-github" /> <i className="icon-github" />
</a> </a>
</li> </li>
<li className="links__list-item"> <li className="links__list-item">
<a href={links.vk}> <a href={ `https://www.vk.com/${links.vk}`} target="_blank" >
<i className="icon-vkontakte" /> <i className="icon-vkontakte" />
</a> </a>
</li> </li>