From 3c4ec7aadac014ecadcb15f1fbfb18d6bc35161d Mon Sep 17 00:00:00 2001 From: alsaze Date: Thu, 4 Dec 2025 14:45:37 +0300 Subject: [PATCH] init --- .env | 4 ++- Dockerfile | 3 +++ components/Contacts.vue | 36 ++++++-------------------- layouts/default.vue | 46 ++++++++++++++++++---------------- nuxt.config.ts | 8 +----- package.json | 3 ++- public/netlify-form-dummy.html | 7 ------ server/api/send_mail.post.ts | 29 +++++++++++++++++++++ yarn.lock | 5 ++++ 9 files changed, 75 insertions(+), 66 deletions(-) delete mode 100644 public/netlify-form-dummy.html create mode 100644 server/api/send_mail.post.ts diff --git a/.env b/.env index 5d9467f..8f89e83 100644 --- a/.env +++ b/.env @@ -1,2 +1,4 @@ VITE_BASE_URL=http://localhost:3000 -VITE_YANDEX_MAPS_KEY=13f4c06b-cb7e-4eeb-81f1-af52f12587b2 \ No newline at end of file +VITE_YANDEX_MAPS_KEY=13f4c06b-cb7e-4eeb-81f1-af52f12587b2 +SMTP_USER=rentalservicekg@yandex.ru +SMTP_APP_PASSWORD=uljislsoihthciju diff --git a/Dockerfile b/Dockerfile index 564cb64..8001666 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,9 @@ COPY --from=build /app/.output/ ./ ENV PORT=80 ENV VITE_BASE_URL=https://rental.koptilnya.xyz ENV VITE_YANDEX_MAPS_KEY=13f4c06b-cb7e-4eeb-81f1-af52f12587b2 +ENV SMTP_USER=rentalservicekg@yandex.ru +ENV SMTP_APP_PASSWORD=uljislsoihthciju + EXPOSE 80 diff --git a/components/Contacts.vue b/components/Contacts.vue index 267d7ad..7614ac8 100644 --- a/components/Contacts.vue +++ b/components/Contacts.vue @@ -43,9 +43,7 @@ -
- - +
Как к вам обращаться @@ -125,13 +123,6 @@
-