text: import React from "react"
  import Layout from "../components/Layout"
  import { graphql } from "gatsby"
  import Projects from "../components/Projects"
  
  const ProjectsPage = ({
    data: {
      allStrapiProjects: { nodes: projects },
    },
  }) => {
    return (
      <Layout>
        <section className="projects-name">
          <Projects projects={projects} title="all projects" />
        </section>
      </Layout>
    )
  }
  
  export const query = graphql`
    {
      allStrapiProjects {
        nodes {
          image {
            childImageSharp {
              fluid {
                ...GatsbyImageSharpFluid
              }
            }
          }
          description
          github
          id
          title
          url
          stack {
            id
            title
          }
        }
      }
    }
  `
  
  export default ProjectsPage
  