mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +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'>
|
||||
<ul>
|
||||
<li>
|
||||
<Link to="/" activeClassName="current" onlyActiveOnIndex> Articles
|
||||
<Link to={ prefixLink('/')} activeClassName="current" onlyActiveOnIndex> Articles
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="/about/" activeClassName="current"> About me
|
||||
<Link to={ prefixLink('/about/')} activeClassName="current"> About me
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="/contact/" activeClassName="current"> Contact me
|
||||
<Link to={ prefixLink('/contact/')} activeClassName="current"> Contact me
|
||||
</Link>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user