diff --git a/src/pages/index.js b/src/pages/index.js index 5d4d673e..d2d91883 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -144,19 +144,21 @@ class Home extends Component {
+ ]}>
-
+

A Simple Component

@@ -385,18 +387,18 @@ export const pageQuery = graphql` export default Home; -// TODO This nasty CSS is required because 'docs/index.md' defines hard-coded class names. -const markdownStyles = { - '& .home-section': { - marginTop: 20, - marginBottom: 15, +const sectionStyles = { + marginTop: 20, + marginBottom: 15, - [media.greaterThan('medium')]: { - marginTop: 60, - marginBottom: 65, - }, + [media.greaterThan('medium')]: { + marginTop: 60, + marginBottom: 65, }, +}; +// TODO This nasty CSS is required because 'docs/index.md' defines hard-coded class names. +const markdownStyles = { '& .example': { marginTop: 40,