mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-13 15:29:16 +01:00
Merge pull request #34 from charandas/patch-1
prefixLink unnecessary for profilePic Closes #32
This commit is contained in:
commit
d2ab0f6133
@ -15,7 +15,7 @@ class SiteSidebar extends React.Component {
|
|||||||
let header = (
|
let header = (
|
||||||
<header>
|
<header>
|
||||||
<Link style={ { textDecoration: 'none', borderBottom: 'none', outline: 'none'} } to={ prefixLink('/') }>
|
<Link style={ { textDecoration: 'none', borderBottom: 'none', outline: 'none'} } to={ prefixLink('/') }>
|
||||||
<img src={prefixLink(profilePic)} width='75' height='75' />
|
<img src={profilePic} width='75' height='75' />
|
||||||
</Link>
|
</Link>
|
||||||
{ isHome ? (
|
{ isHome ? (
|
||||||
<h1><Link style={ { textDecoration: 'none', borderBottom: 'none', color: 'inherit'} } to={ prefixLink('/') }> { config.siteAuthor } </Link></h1>
|
<h1><Link style={ { textDecoration: 'none', borderBottom: 'none', color: 'inherit'} } to={ prefixLink('/') }> { config.siteAuthor } </Link></h1>
|
||||||
@ -55,4 +55,4 @@ SiteSidebar.propTypes = {
|
|||||||
location: React.PropTypes.object,
|
location: React.PropTypes.object,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default SiteSidebar
|
export default SiteSidebar
|
||||||
|
Loading…
Reference in New Issue
Block a user