Update packages and run prettier

This commit is contained in:
Kyle Mathews 2017-08-04 18:12:17 -07:00
parent 6bc49591c3
commit 8f03c8589e
6 changed files with 63 additions and 65 deletions

View file

@ -1,14 +1,14 @@
import React from "react"
import Link from "gatsby-link"
import { Container } from "react-responsive-grid"
import React from 'react'
import Link from 'gatsby-link'
import { Container } from 'react-responsive-grid'
import { rhythm, scale } from "../utils/typography"
import { rhythm, scale } from '../utils/typography'
class Template extends React.Component {
render() {
const { location, children } = this.props
let header
if (location.pathname === "/") {
if (location.pathname === '/') {
header = (
<h1
style={{
@ -19,11 +19,11 @@ class Template extends React.Component {
>
<Link
style={{
boxShadow: "none",
textDecoration: "none",
color: "inherit",
boxShadow: 'none',
textDecoration: 'none',
color: 'inherit',
}}
to={"/"}
to={'/'}
>
Gatsby Starter Blog
</Link>
@ -33,18 +33,18 @@ class Template extends React.Component {
header = (
<h3
style={{
fontFamily: "Montserrat, sans-serif",
fontFamily: 'Montserrat, sans-serif',
marginTop: 0,
marginBottom: rhythm(-1),
}}
>
<Link
style={{
boxShadow: "none",
textDecoration: "none",
color: "inherit",
boxShadow: 'none',
textDecoration: 'none',
color: 'inherit',
}}
to={"/"}
to={'/'}
>
Gatsby Starter Blog
</Link>