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

View file

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Before After
Before After

View file

@ -11,7 +11,7 @@
"babel-preset-es2015": "^6.9.0", "babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1", "babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0", "babel-preset-stage-0": "^6.5.0",
"gatsby": "^0.11.2", "gatsby": "^0.12.0",
"history": "^2.1.1", "history": "^2.1.1",
"lodash": "^4.13.1", "lodash": "^4.13.1",
"moment": "^2.14.1", "moment": "^2.14.1",
@ -19,9 +19,9 @@
"react-document-title": "^2.0.2", "react-document-title": "^2.0.2",
"react-dom": "^15.2.1", "react-dom": "^15.2.1",
"react-responsive-grid": "^0.3.3", "react-responsive-grid": "^0.3.3",
"react-router": "^2.5.2", "react-router": "^2.6.0",
"safe-access": "^0.1.0", "safe-access": "^0.1.0",
"typography": "^0.11.1", "typography": "^0.11.7",
"typography-react": "^0.10.4", "typography-react": "^0.10.4",
"typography-theme-wordpress-2016": "^0.11.3", "typography-theme-wordpress-2016": "^0.11.3",
"underscore.string": "^3.2.3" "underscore.string": "^3.2.3"
@ -33,10 +33,11 @@
"css-loader": "^0.23.1", "css-loader": "^0.23.1",
"eslint": "^2.11.1", "eslint": "^2.11.1",
"eslint-config-airbnb": "^9.0.1", "eslint-config-airbnb": "^9.0.1",
"eslint-plugin-import": "^1.10.2", "eslint-plugin-import": "^1.11.0",
"eslint-plugin-jsx-a11y": "^2.0.1", "eslint-plugin-jsx-a11y": "^2.0.1",
"eslint-plugin-react": "^5.2.2", "eslint-plugin-react": "^5.2.2",
"gh-pages": "^0.11.0", "gh-pages": "^0.11.0",
"image-webpack-loader": "^2.0.0",
"null-loader": "^0.1.1", "null-loader": "^0.1.1",
"postcss-loader": "^0.9.1", "postcss-loader": "^0.9.1",
"react-transform-catch-errors": "^1.0.2", "react-transform-catch-errors": "^1.0.2",