feat: add Telegram contact form API (PHP) and connect form endpoint

This commit is contained in:
2026-03-14 19:41:25 +03:00
parent 851dd6173b
commit 9a3785a13c
2 changed files with 65 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
// Настройки для связи и формы
export const WHATSAPP_PHONE = '74953637476' // без +
export const TELEGRAM_USERNAME = 'sag24ru' // @username без @
export const FORM_ENDPOINT = '' // https://formspree.io/f/XXXXXXX — оставить пустым, будет mailto:
export const FORM_ENDPOINT = '/api/contact.php'
export const EMAIL = 'info@sag24.ru'