feature: add success page for form

This commit is contained in:
Ben Hong 2022-02-23 10:35:53 -08:00
parent c2103218e2
commit a371e8d990
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="feedback-form">
<form netlify netlify-honeypot method="post">
<form netlify netlify-honeypot method="post" action="/success">
<p class="hidden">
<label>
Dont fill this out if youre human: <input name="bot-field" />

6
pages/success.vue Normal file
View File

@ -0,0 +1,6 @@
<template>
<div>
<h1>Thanks for your feedback!</h1>
<NuxtLink to="/">Home</NuxtLink>
</div>
</template>