diff --git a/src/components/Card.js b/src/components/Card.js index 7f8bbdb..ff0fd6e 100644 --- a/src/components/Card.js +++ b/src/components/Card.js @@ -1,32 +1,26 @@ import React from 'react' import Link from 'gatsby-link' -import Img from 'gatsby-image' import ImgSprint from '../images/wow-we-did-design-sprint-remotely.png' const Card = ({ ...props }) => ( -
+
{props.image ? ( - + ) : ( Sprint Work )}
-
- {props.title} - {props.date} -
+ +

{props.title}

+

-
- - #workstyle - -
) diff --git a/src/templates/blog.js b/src/templates/blog.js index a622df2..f353ae5 100644 --- a/src/templates/blog.js +++ b/src/templates/blog.js @@ -7,20 +7,22 @@ class Blog extends Component { render() { const data = this.props.data return ( -
+
{data.allWordpressPost.edges.map(({ node }) => ( - +
+ +
))}
)