import React from 'react' import { RouteHandler, Link } from 'react-router' import { Container } from 'react-responsive-grid' import { link } from 'gatsby-helpers' import { rhythm, fontSizeToMS } from 'utils/typography' import { config } from 'config' import '../css/styles.css' export default class extends React.Component { propTypes () { return { route: React.PropTypes.object, } } render () { let header if (this.props.route.path === link('/')) { header = (