text: const dotenv = require("dotenv")
  
  if (process.env.NODE_ENV !== "production") {
    dotenv.config()
  }
  
  module.exports = {
    siteMetadata: {
      title: `NKS`,
      description: `Full Stack Web Engineer React | Node | Mongo | Express`,
      author: `@nicolaskao`,
      siteUrl: "https://wizardly-nightingale-07f855.netlify.com/",
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      `gatsby-plugin-styled-components`,
      "gatsby-plugin-page-transitions",
      `gatsby-plugin-sitemap`,
      // {
      //   resolve: `gatsby-source-contentful`,
      //   options: {
      //     spaceId: `astaev2fuoib`,
      //     // Learn about environment variables: https://gatsby.dev/env-vars
      //     // accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
      //   },
      // },
      {
        resolve: "gatsby-plugin-web-font-loader",
        options: {
          google: {
            families: ["Roboto:300,400,700"],
          },
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `NKS Legal Marketing`,
          short_name: `NKS`,
          start_url: `/`,
          background_color: `#0d282f`,
          theme_color: `#0d282f`,
          display: `minimal-ui`,
          icon: `src/images/Logo_Only_HighQuality.png`, // This path is relative to the root of the site.
        },
      },
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      // `gatsby-plugin-offline`,
    ],
  }
  