Add after-hours callbacks and persistent ad attribution to all four landings

- The callback dialog switches its copy outside business hours
  (shared/business-hours.ts); such leads get a "нерабочее время" tag,
  a marker in the deal name and a line in the note in amoCRM.
- utm_*, yclid and gclid are read on page load and kept for 30 days
  (src/lib/attribution.ts), last tagged visit wins, and are sent with
  every lead.
- The callback dialog is rebuilt: focus trap, focus return, phone
  masking and a full-number check.
- fitnes drops the floating MobileCta; header and mobile bars follow
  the new dialog state in the other three.
- Add the latest design mockups under legacy/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
yuriy.pandClaude Opus 5.5 committed 2026-09-23 20:53:40 +06:00
1 parent 56ff5839b8
commit a61d53962a
145 files changed
+9242 -523

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
Fitnes — обратный звонок + UTM
1. Сохраните резервную копию опубликованного лендинга.
2. Загрузите СОДЕРЖИМОЕ папки Fitnes в каталог этого лендинга:
index.html, styles.css, script.js, attribution.js и assets/.
CSS и JS должны обновляться вместе с HTML.
3. Сохраните существующий серверный обработчик /api/leads/fitness-centers.
В архиве нет его реализации и нет доступа/ключей к CRM.
4. Убедитесь, что обработчик принимает lead_type=callback с именем и телефоном,
не требует company/email и записывает UTM, yclid и gclid из верхнего уровня JSON.
5. Очистите кеш HTML/CDN. Не удаляйте attribution.js.
6. Проверьте заявку в Network и затем непосредственно в CRM.
Изменённые runtime-файлы: index.html, styles.css, script.js.
Неизменённые runtime-файлы: attribution.js, assets/.
Контактный номер: +7 927 789-60-71.
Нижней фиксированной кнопки нет.