Skip to content

runningbeta/senzoro

Repository files navigation

šŸš€ Senzoro Landing Page

Netlify Status

reCAPTCHA

This site uses react-google-recaptcha to render the reCAPTCHA widget.

To make the reCAPTCHA work, youā€™ll need to do the following:

  1. Sign up for a reCAPTCHA API key pair for your site.
  2. Log in to your Netlify account, and add the following environment variables to your siteā€™s Settings > Build & deploy > Build environment variables:
  • SITE_RECAPTCHA_KEY with your reCAPTCHA site key.
  • SITE_RECAPTCHA_SECRET with your reCAPTCHA secret key.
  1. Change the build command for your site to
echo -e "GATSBY_SITE_RECAPTCHA_KEY=$SITE_RECAPTCHA_KEY\nGATSBY_SITE_RECAPTCHA_SECRET=$SITE_RECAPTCHA_SECRET" >> .env.production && gatsby build

Note: Thereā€™s probably a more elegant way to make the SITE_RECAPTCHA_KEY environment variable available to Gatsby in production. This was just the quickest way I found to make it work without having to duplicate the variable

To see the reCAPTCHA widget locally, add GATSBY_SITE_RECAPTCHA_KEY=your-reCAPTCHA-API-site-key to your local .env.development file.

About

šŸŒSimple Gatsby multilanguage landing page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published