mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 14:29:36 +01:00
Merge pull request #8 from jmsmrgn/patch-1
Add trailing slashes to nav links
This commit is contained in:
commit
f869ef4946
@ -14,11 +14,11 @@ class SiteNav extends React.Component {
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="/about" className={ location.pathname === prefixLink('/about') ? "current" : null }> About me
|
||||
<Link to="/about/" className={ location.pathname === prefixLink('/about/') ? "current" : null }> About me
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="/contact" className={ location.pathname === prefixLink('/contact') ? "current" : null }> Contact me
|
||||
<Link to="/contact/" className={ location.pathname === prefixLink('/contact/') ? "current" : null }> Contact me
|
||||
</Link>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user