attempt fix for netlify form

main
Midnight 3 years ago
parent a6f30a8985
commit a8613ac6c6

@ -35,20 +35,24 @@ export default function Contact() {
<section> <section>
<div> <div>
<h4>{"📨 Shoot us an email"}</h4> <h4>{"📨 Shoot us an email"}</h4>
<form netlify> <form name="contact" method="POST" data-netlify="true">
<div> <div>
<label>Name</label> <label>Name</label>
<input type="text" /> <input type="text" name="name" />
</div> </div>
<div> <div>
<label>Email</label> <label>Email</label>
<input type="email" /> <input type="email" name="name" />
</div> </div>
<div> <div>
<label>Message</label> <label>Message</label>
<textarea></textarea> <textarea name="message" rows={10}></textarea>
</div>
<div>
<button type="submit">Send</button>
</div> </div>
</form> </form>
</div> </div>

@ -158,6 +158,15 @@ form input, form textarea {
padding: 0.3em 0.4em; padding: 0.3em 0.4em;
} }
form button {
background-color: var(--background-color-dark);
border-radius: var(--padding-sm);
border: unset;
padding: 0.3em 0.6em;
font-size: 1em;
cursor: pointer;
}
/* mobile */ /* mobile */
@media(max-aspect-ratio: 5/4) { @media(max-aspect-ratio: 5/4) {

Loading…
Cancel
Save