Merge pull request #24 from ihororlovskyi/master

add prefixLink in SiteNav component (issue #21)
This commit is contained in:
Alexander S 2016-12-10 00:53:24 +03:00 committed by GitHub
commit 0468cc151d

View File

@ -10,15 +10,15 @@ class SiteNav extends React.Component {
<nav className='blog-nav'> <nav className='blog-nav'>
<ul> <ul>
<li> <li>
<Link to="/" activeClassName="current" onlyActiveOnIndex> Articles <Link to={ prefixLink('/')} activeClassName="current" onlyActiveOnIndex> Articles
</Link> </Link>
</li> </li>
<li> <li>
<Link to="/about/" activeClassName="current"> About me <Link to={ prefixLink('/about/')} activeClassName="current"> About me
</Link> </Link>
</li> </li>
<li> <li>
<Link to="/contact/" activeClassName="current"> Contact me <Link to={ prefixLink('/contact/')} activeClassName="current"> Contact me
</Link> </Link>
</li> </li>
</ul> </ul>