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"
}

@ -1,36 +1,33 @@
const Contact = () => ( const Contact = () => (
<div className="contact"> <div className="contact">
<div className="container"> <div className="container">
<div className="header" id="contact"> <div className="header" id="contact">
Contact 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>
> <input name="email" type="email" required placeholder="Your email address" id="email" />
<label htmlFor="email">Email</label> <label htmlFor="type">Message type</label>
<input name="email" type="email" required placeholder="Your email address" id="email" /> <select name="type[]" id="type">
<label htmlFor="type">Message type</label> <option value="bug">Bug</option>
<select name="type[]" id="type"> <option value="question">Question</option>
<option value="bug">Bug</option> <option value="suggestion">Suggestion</option>
<option value="question">Question</option> <option value="other">Other</option>
<option value="suggestion">Suggestion</option> </select>
<option value="other">Other</option> <label htmlFor="message">Message</label>
</select> <textarea required name="message" placeholder="Your message" id="message"></textarea>
<label htmlFor="message">Message</label> <button className="button" type="submit">
<textarea required name="message" placeholder="Your message" id="message"></textarea> Send
<div data-netlify-recaptcha="true"></div> </button>
<button className="button" type="submit"> </form>
Send </div>
</button> </div>
</form>
</div>
</div>
); );
export default Contact; export default Contact;

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