Skip to content

Commit

Permalink
Merge pull request #204 from ethereum/captcha-button
Browse files Browse the repository at this point in the history
Captcha in forms
  • Loading branch information
pettinarip committed Mar 18, 2022
2 parents 8550fa4 + b7ebc29 commit 6f130d3
Show file tree
Hide file tree
Showing 26 changed files with 5,774 additions and 5,538 deletions.
6 changes: 5 additions & 1 deletion .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ GOOGLE_ACADEMIC_SHEET_NAME=

# google sheet for devcon grants
GOOGLE_DEVCON_SPREADSHEET_ID=
GOOGLE_DEVCON_SHEET_NAME=
GOOGLE_DEVCON_SHEET_NAME=

# captcha
NEXT_PUBLIC_HCAPTCHA_SITEKEY=
HCAPTCHA_SECRET=
9 changes: 9 additions & 0 deletions additional.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Fields, Files } from 'formidable';
import { IncomingMessage } from 'http';

declare module 'next' {
export interface NextApiRequest extends IncomingMessage {
fields?: Fields;
files?: Files;
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@emotion/react": "^11",
"@emotion/styled": "^11",
"@fontsource/libre-franklin": "^4.5.0",
"@hcaptcha/react-hcaptcha": "^1.1.1",
"@mailchimp/mailchimp_marketing": "^3.0.74",
"@socialgouv/matomo-next": "^1.2.2",
"chakra-react-select": "^3.0.1",
Expand Down

0 comments on commit 6f130d3

Please sign in to comment.