Update packages + update Typography setup
This commit is contained in:
parent
950e38687e
commit
1043f18f0c
6 changed files with 38 additions and 22 deletions
|
|
@ -1,11 +1,8 @@
|
|||
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';
|
||||
|
||||
let typography = new Typography();
|
||||
let rhythm = typography.rhythm, fontSizeToMS = typography.fontSizeToMS;
|
||||
import { rhythm, fontSizeToMS } from 'utils/typography'
|
||||
|
||||
import '../css/styles.css';
|
||||
|
||||
|
|
@ -55,7 +52,7 @@ export default class extends React.Component {
|
|||
}}
|
||||
>
|
||||
{header}
|
||||
<RouteHandler typography={typography} {...this.props}/>
|
||||
<RouteHandler {...this.props}/>
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue