text: /**
   * Configure your Gatsby site with this file.
   *
   * See: https://www.gatsbyjs.com/docs/gatsby-config/
   */
  require("dotenv").config({
    path: `.env.${process.env.NODE_ENV}`,
  })
  
  module.exports = {
    /* Your site config here */
    siteMetadata: {
      title: "Gatsby toturial",
      description: "random description",
      author: "alirajabi",
      data: ["item 1", "item 2"],
      person: { name: "ali", age: 30 },
    },
  
    plugins: [
      `gatsby-plugin-styled-components`,
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images/`,
        },
      },
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: `gwyr9pvaw046`,
          // Learn about environment variables: https://gatsby.dev/env-vars
          accessToken: process.env.ACCESS_TOKEN,
        },
      },
    ],
  }
  