Consolidate two bios into one Bio component

This commit is contained in:
Kyle Mathews 2016-03-16 09:40:26 -06:00
parent 02eadc482b
commit 603411f0cd
3 changed files with 33 additions and 30 deletions

29
components/Bio.js Normal file
View file

@ -0,0 +1,29 @@
import React from 'react'
import { config } from 'config'
import { rhythm } from 'utils/typography'
class Bio extends React.Component {
render () {
return (
<p
style={{
marginBottom: rhythm(2.5),
}}
>
<img
src="/kyle-round-small-pantheon.jpg"
style={{
float: 'left',
marginRight: rhythm(1/4),
marginBottom: 0,
width: rhythm(2),
height: rhythm(2),
}}
/>
Written by <strong>{config.authorName}</strong> who lives and works in San Francisco building useful things. <a href="https://twitter.com/kylemathews">You should follow him on Twitter</a>
</p>
)
}
}
export default Bio