import React from 'react' import PropTypes from 'prop-types' import { Link, graphql } from 'gatsby' import Layout from '../components/Layout' import Content from '../components/Content' import HeaderHome from '../components/HeaderHome' import { ReactComponent as Arrow } from '../images/arrow.svg' import styles from './index.module.scss' const SectionLink = ({ to, title, children }) => (

{title}

{children}

Learn More ) SectionLink.propTypes = { to: PropTypes.string.isRequired, title: PropTypes.string.isRequired, children: PropTypes.any } const IndexPage = ({ data, location }) => ( }> ) IndexPage.propTypes = { data: PropTypes.object.isRequired, location: PropTypes.object.isRequired } export default IndexPage export const IndexQuery = graphql` query { allSectionsYaml { edges { node { title description link } } } } `