d94d2700f9
* add netlifycms example * Updated everything * Moved the layout out of _app * Updated next to latest * applied prettier and linter * Removed unrequired files * Moved to with-netlify-cms * updated readme to reflect the new name * Added license field
17 lines
345 B
JavaScript
17 lines
345 B
JavaScript
import Layout from '../components/layout'
|
|
import { attributes, html } from '../content/about.md'
|
|
|
|
const About = () => (
|
|
<Layout>
|
|
<h1>{attributes.title}</h1>
|
|
<div dangerouslySetInnerHTML={{ __html: html }} />
|
|
<style jsx>{`
|
|
h1,
|
|
div {
|
|
text-align: center;
|
|
}
|
|
`}</style>
|
|
</Layout>
|
|
)
|
|
|
|
export default About
|