mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +01:00
Merge pull request #24 from ihororlovskyi/master
add prefixLink in SiteNav component (issue #21)
This commit is contained in:
commit
0468cc151d
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user