Update for latest canary + prettier
This commit is contained in:
parent
b7d1dbf4e1
commit
b23a664df6
20 changed files with 436 additions and 314 deletions
43
src/components/Bio.js
Normal file
43
src/components/Bio.js
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
import React from "react"
|
||||
|
||||
// Import typefaces
|
||||
import "typeface-montserrat"
|
||||
import "typeface-merriweather"
|
||||
|
||||
import profilePic from "./profile-pic.jpg"
|
||||
import { rhythm } from "../utils/typography"
|
||||
|
||||
class Bio extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<p
|
||||
style={{
|
||||
marginBottom: rhythm(2.5),
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src={profilePic}
|
||||
alt={`Kyle Mathews`}
|
||||
style={{
|
||||
float: "left",
|
||||
marginRight: rhythm(1 / 4),
|
||||
marginBottom: 0,
|
||||
width: rhythm(2),
|
||||
height: rhythm(2),
|
||||
}}
|
||||
/>
|
||||
Written by
|
||||
{" "}
|
||||
<strong>Kyle Mathews</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
|
||||
BIN
src/components/profile-pic.jpg
Normal file
BIN
src/components/profile-pic.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
Loading…
Add table
Add a link
Reference in a new issue