Removed Netlify forms.

dependabot/npm_and_yarn/typescript-eslint/parser-4.33.0
guusvanmeerveld 3 years ago
parent f4226cb3d9
commit d29572c5f2

@ -0,0 +1,9 @@
{
"trailingComma": "es5",
"useTabs": true,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"printWidth": 100,
"arrowParens": "always"
}

@ -0,0 +1,3 @@
{
"prettier.configPath": ".prettierrc"
}

@ -6,12 +6,10 @@ const Contact = () => (
</div> </div>
<form <form
encType="application/x-www-form-urlencoded" encType="application/x-www-form-urlencoded"
action="/thanks" action="https://forms.guusvanmeerveld.dev/portfolio"
className="content" className="content"
method="POST" method="POST"
data-netlify="true"
name="contact" name="contact"
data-netlify-recaptcha="true"
> >
<label htmlFor="email">Email</label> <label htmlFor="email">Email</label>
<input name="email" type="email" required placeholder="Your email address" id="email" /> <input name="email" type="email" required placeholder="Your email address" id="email" />
@ -24,7 +22,6 @@ const Contact = () => (
</select> </select>
<label htmlFor="message">Message</label> <label htmlFor="message">Message</label>
<textarea required name="message" placeholder="Your message" id="message"></textarea> <textarea required name="message" placeholder="Your message" id="message"></textarea>
<div data-netlify-recaptcha="true"></div>
<button className="button" type="submit"> <button className="button" type="submit">
Send Send
</button> </button>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save