init
All checks were successful
Deploy / build (push) Successful in 52s

This commit is contained in:
alsaze
2025-12-09 00:09:09 +03:00
parent 38becd5e9b
commit 1a8d15e547
72 changed files with 640 additions and 92 deletions

View File

@@ -131,6 +131,7 @@
<script setup lang="ts">
const toast = useToast()
const route = useRoute()
const contacts = [
{
@@ -201,7 +202,10 @@ const [comment, commentAttrs] = defineField('comment')
const onSubmit = handleSubmit(async (values) => {
const res = await $fetch('/api/send_mail', {
method: 'POST',
body: values,
body: {
...values,
route: route.path,
},
})
if (res.ok) {