Update ContactForm and add GuestBookForm

This commit is contained in:
2021-07-04 19:48:29 +02:00
parent ab1e7473f4
commit 4df2f1085f
6 changed files with 91 additions and 29 deletions

View File

@@ -52,10 +52,10 @@
<label for="content" class="form-label">{{ $t('contact.form.content') }}</label>
</div>
</form>
<div v-if="error" class="mt-4 px-3 py-1 rounded-full bg-red-300 font-bold text-black">
<div v-if="error" class="mt-2 py-1 text-red-400 text-sm">
{{ $t('contact.form.error') }}
</div>
<div v-if="success" class="mt-4 px-3 py-1 rounded-full bg-green-300 font-bold text-black">
<div v-if="success" class="mt-2 py-1 text-green-400 text-sm">
{{ $t('contact.form.success') }}
</div>
<div class="my-12 flex justify-center">