This commit is contained in:
2023-07-29 10:35:23 -07:00
parent 6cf4fd84d4
commit 8acedfc1cb
22 changed files with 27961 additions and 135 deletions

View File

@ -1,58 +1,3 @@
<template>
<div class="feedback-form">
<form
netlify
netlify-honeypot
name="feedback"
method="POST"
action="/success"
>
<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 id="name" type="text" name="name" />
<label for="email">Email</label>
<input id="email" type="email" name="email" required />
<label for="feedback">What is your feedback?</label>
<textarea id="feedback" wrap="soft" name="feedback" required></textarea>
<button type="submit">Submit</button>
</form>
</div>
</template>
<template src="./FeedbackForm.vue.html"></template>
<style scoped>
.feedback-form {
margin: 40px 40px;
min-width: 250px;
width: 45%;
}
input,
textarea,
button {
font-size: inherit;
margin: 15px 0;
padding: 12px 20px;
width: 100%;
}
button {
background-color: teal;
border: 1px solid black;
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>
<style scoped src="./FeedbackForm.vue.css"></style>