gatsby-starter-blog-forestry/components/Bio.js
2016-03-28 21:15:50 -07:00

30 lines
801 B
JavaScript

import React from 'react'
import { config } from 'config'
import { rhythm } from 'utils/typography'
import { prefixLink } from 'gatsby-helpers'
class Bio extends React.Component {
render () {
return (
<p
style={{
marginBottom: rhythm(2.5),
}}
>
<img
src={prefixLink('/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