text: require("dotenv").config({
    path: `.env.${process.env.NODE_ENV}`,
  })
  
  module.exports = {
    siteMetadata: {
      title: `Mission Ridge Range & Academy DFW | Plano Gun Range`,
      description: `Mission Ridge Range & Academy in Plano, Texas is opening soon to the public! Sign up to stay updated on DFW’s premiere gun range for all shooters.`,
      author: `Mission Ridge Gun Range`,
    },
    plugins: [
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/static/images`,
        },
      },
      `gatsby-plugin-netlify`,
      `gatsby-plugin-react-helmet`,
      {
        resolve: "gatsby-plugin-mailchimp",
        options: {
          endpoint: process.env.MAILCHIMP_POST, // string; add your MC list endpoint here; see instructions below
          timeout: 3500, // number; the amount of time, in milliseconds, that you want to allow mailchimp to respond to your request before timing out. defaults to 3500
        },
      },
      `gatsby-plugin-image`,
      `gatsby-image`,
      `gatsby-plugin-sharp`,
      `gatsby-transformer-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `Mission Ridge DFW`,
          short_name: `mission-ridge`,
          start_url: `https://missionridgedfw.com/`,
          background_color: `#663399`,
          theme_color: `#FF54AC`,
          display: `minimal-ui`,
          icon: `static/images/favicon.ico`, // This path is relative to the root of the site.
        },
      },
      `gatsby-plugin-sass`,
      {
        resolve: "gatsby-omni-font-loader",
        options: {
          enableListener: true,
          preconnect: ["https://fonts.gstatic.com"],
          /* Font loading mode */
          mode: "async",
  
          web: [
            {
              file: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap",
              name: "Open Sans",
            },
            {
              file: "https://use.typekit.net/ujo8xej.css",
              name: "Industry",
            },
          ],
        },
      },
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      `gatsby-plugin-offline`,
    ],
  }
  