Skip to content

Commit 43ab235

Browse files
committed
Finish resources page
1 parent 36716a5 commit 43ab235

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

components/Container.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import React from 'react'
2+
import classNames from 'classnames'
23

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+
}

components/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Link from 'next/link'
44
export const NavLink = ({ href = '#!', ...props }) => (
55
<Link href={href}>
66
<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"
88
{...props}
99
/>
1010
</Link>

pages/resources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Container from '../components/Container'
55

66
export default () => (
77
<Layout title="TACHYONS - Resources">
8-
<Container>
8+
<Container ph={true}>
99
<h1 className="f3 f1-l">Resources</h1>
1010
<article>
1111
<h3 className="f5 fw6 bb bw2 pb2 mb3">Recommended Reading</h3>

0 commit comments

Comments
 (0)