Upgrade to Gatsby 0.12.0

This commit is contained in:
wpioneer
2016-07-30 02:05:32 +03:00
parent 3ea9799f76
commit e8f183226f
6 changed files with 692 additions and 25 deletions

View File

@@ -5,6 +5,7 @@ import { config } from 'config'
import SiteNav from '../SiteNav'
import SiteLinks from '../SiteLinks'
import './style.css'
import profilePic from '../../pages/photo.jpg'
class SiteSidebar extends React.Component {
render() {
@@ -14,7 +15,7 @@ class SiteSidebar extends React.Component {
let header = (
<header>
<Link style={ { textDecoration: 'none', borderBottom: 'none', outline: 'none'} } to={ prefixLink('/') }>
<img src='./photo.jpg' width='75' height='75' />
<img src={prefixLink(profilePic)} width='75' height='75' />
</Link>
{ isHome ? (
<h1><Link style={ { textDecoration: 'none', borderBottom: 'none', color: 'inherit'} } to={ prefixLink('/') }> { config.siteAuthor } </Link></h1>