text: import React from "react"
  import { graphql } from "gatsby"
  
  import Layout from "../components/layout"
  import SEO from "../components/seo"
  import HomePage from "../components/Page/HomePage"
  
  const IndexPage = ({
    data: {
      allMarkdownRemark: { edges },
    },
  }) => {
    return (
      <Layout>
        <SEO title="Home" />
        <HomePage blogs={edges} />
      </Layout>
    )
  }
  
  export default IndexPage
  
  export const pageQuery = graphql`
    query {
      allMarkdownRemark {
        edges {
          node {
            frontmatter {
              picture {
                childImageSharp {
                  fluid {
                    ...GatsbyImageSharpFluid
                  }
                }
              }
              path
              date(formatString: "MMMM DD, YYYY")
              title
              summary
              author
            }
          }
        }
      }
    }
  `
  