Upgrade for Gatsby 0.12

This commit is contained in:
Kyle Mathews 2016-07-20 11:52:05 -07:00
parent bea1c89913
commit fe529b5ee6
3 changed files with 7 additions and 5 deletions

View file

@ -2,6 +2,7 @@ import React from 'react'
import { config } from 'config'
import { rhythm } from 'utils/typography'
import { prefixLink } from 'gatsby-helpers'
import profilePic from './profile-pic.jpg'
class Bio extends React.Component {
render () {
@ -12,7 +13,7 @@ class Bio extends React.Component {
}}
>
<img
src={prefixLink('/kyle-round-small-pantheon.jpg')}
src={prefixLink(profilePic)}
alt={`author ${config.authorName}`}
style={{
float: 'left',

BIN
components/profile-pic.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB