import React from 'react'; import { RouteHandler, Link } from 'react-router'; import { Container, Grid, Breakpoint, Span } from 'react-responsive-grid'; import Typography from 'typography'; import { link } from 'gatsby-helpers'; var typography = new Typography(); var rhythm = typography.rhythm, fontSizeToMS = typography.fontSizeToMS; import '../css/styles.css'; module.exports = React.createClass({displayName: "exports", render: function() { var header; if (this.props.state.path === link('/')) { header = (

{this.props.config.blogTitle}

); } else { header = (

{this.props.config.blogTitle}

); } return ( {header} ); } });