Skip to content

Commit 8f70895

Browse files
committed
Contacts Form setup
1 parent 726ddc6 commit 8f70895

File tree

27 files changed

+34052
-1147
lines changed

27 files changed

+34052
-1147
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"dotenv.enableAutocloaking": false
3+
}

build/static/js/2.b30a83bd.chunk.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/static/js/2.b30a83bd.chunk.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config-overrides.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = function override(webpackConfig) {
2+
webpackConfig.module.rules.push({
3+
test: /\.mjs$/,
4+
include: /node_modules/,
5+
type: "javascript/auto"
6+
});
7+
8+
return webpackConfig;
9+
}

formspree.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"forms": {
3+
"contact": {
4+
"name": "Contact Form",
5+
"fields": {
6+
"email": { "type": "email", "required": true },
7+
"message": { "type": "text", "required": true }
8+
},
9+
"actions": [
10+
{ "type": "email", "to": "jon@jonchristie.net" }
11+
]
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)