Merge branch 'main' into 2/add-a-netlify-function

This commit is contained in:
Tara Z. Manicsic
2022-02-22 21:54:23 -05:00
committed by GitHub
3 changed files with 82 additions and 6 deletions

View File

@ -2,11 +2,14 @@
<div class="feedback-form">
<form
netlify
action="/feedback"
netlify-honeypot
method="post"
name="feedback"
data-netlify-honeypot="bot-field"
>
<p class="hidden">
<label>
Dont fill this out if youre human: <input name="bot-field" />
</label>
</p>
<input type="hidden" name="form-name" value="feedback" />
<label for="name">Name</label>
<input type="text" name="name" />
@ -39,4 +42,14 @@ button {
color: white;
width: 50%;
}
.hidden {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
</style>