File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
+ import classNames from 'classnames'
2
3
3
- export default ( { className = '' , ...props } ) => (
4
- < div className = { `mw9 center ${ className } ` } { ...props } />
5
- )
4
+ export default ( { className = '' , ph, ...props } ) => {
5
+ const cx = classNames ( className , 'mw9 center' , {
6
+ 'ph3 ph5-m ph0-l' : ph
7
+ } )
8
+ return < div className = { cx } { ...props } />
9
+ }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import Link from 'next/link'
4
4
export const NavLink = ( { href = '#!' , ...props } ) => (
5
5
< Link href = { href } >
6
6
< a
7
- className = "f6 fw6 hover-blue link black-70 mr2 mr3 -m mr4 -l dib"
7
+ className = "f6 fw6 hover-blue link black-70 ml2 ml3 -m ml4 -l dib"
8
8
{ ...props }
9
9
/>
10
10
</ Link >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Container from '../components/Container'
5
5
6
6
export default ( ) => (
7
7
< Layout title = "TACHYONS - Resources" >
8
- < Container >
8
+ < Container ph = { true } >
9
9
< h1 className = "f3 f1-l" > Resources</ h1 >
10
10
< article >
11
11
< h3 className = "f5 fw6 bb bw2 pb2 mb3" > Recommended Reading</ h3 >
You can’t perform that action at this time.
0 commit comments