Skip to content

Commit cdaa814

Browse files
committed
feat: Add contact form backend functionality
1 parent 3c4bb9f commit cdaa814

4 files changed

Lines changed: 198 additions & 30 deletions

File tree

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NEXT_PUBLIC_FORMSPREE_ID=
2+
NEXT_PUBLIC_RECAPTCHA_SITE_KEY=

package-lock.json

Lines changed: 142 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@
1515
},
1616
"dependencies": {
1717
"@headlessui/react": "^1.7.3",
18+
"@types/react-google-recaptcha": "^2.1.5",
1819
"next": "12.3.1",
1920
"react": "18.1.0",
20-
"react-dom": "18.1.0"
21+
"react-dom": "18.1.0",
22+
"react-google-recaptcha": "^2.1.0"
2123
},
2224
"devDependencies": {
25+
"@formspree/react": "^2.4.1",
2326
"@playwright/test": "1.27.1",
2427
"@tailwindcss/aspect-ratio": "^0.4.0",
2528
"@types/react": "18.0.21",

0 commit comments

Comments
 (0)