Markup structure, add InfoBox components
This commit is contained in:
11
src/components/InfoBox.js
Normal file
11
src/components/InfoBox.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react'
|
||||
import Link from 'gatsby-link'
|
||||
|
||||
const InfoBox = ({ headline, text, classes }) => (
|
||||
<div className={`${classes}`}>
|
||||
<h3>{headline}</h3>
|
||||
<p>{text}</p>
|
||||
</div>
|
||||
)
|
||||
|
||||
export default InfoBox
|
||||
Reference in New Issue
Block a user