Rename the two medcenter landings to their audience names: medcenter -> medcenterphysio, medcenterpersonal -> medcenterstart. Alongside the rename: - add a RevenueCalculator section to both landings; - rework the copy and figures in src/data/content.ts; - simplify the lead form: drop the "cabinet_state" and "profile" selects (along with SelectField and the matching fields in shared/lead.ts, lead-mapper.ts and amo-check.ts) and make company and email optional; - add the legacy/new static prototypes for both landings; - add pnpm-lock.yaml to medcenterstart (package-lock.json is still there too). deploy/apps.conf and deploy/README.md still refer to the old directory names and need a follow-up. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
37 lines
1.7 KiB
Bash
37 lines
1.7 KiB
Bash
# ---------------------------------------------------------------------------
|
|
# Public (baked into the client bundle at build time — never put secrets here)
|
|
# ---------------------------------------------------------------------------
|
|
VITE_SITE_URL=https://exodevices.ru/medical-centers/with-physiotherapy
|
|
|
|
# Sub-path the site is served from, if any. Leave as "/" when it sits at the
|
|
# domain root; set to "/medical-centers/with-physiotherapy/" when it is mounted
|
|
# under that path.
|
|
VITE_BASE_PATH=/
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Server
|
|
# ---------------------------------------------------------------------------
|
|
# One port per landing so all four can run side by side:
|
|
# fitnes 3000, hotel 3001, medcenter 3002, medcenterpersonal 3003.
|
|
PORT=3002
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# amoCRM — server-side only, never exposed to the browser
|
|
# ---------------------------------------------------------------------------
|
|
# Your account subdomain: for https://exotherapy.amocrm.ru put "exotherapy"
|
|
AMO_SUBDOMAIN=
|
|
|
|
# Long-lived access token.
|
|
# amoCRM → Настройки → Интеграции → Создать интеграцию → Внешняя интеграция →
|
|
# open it → tab "Ключи и скопы" → «Генерировать токен» (долгосрочный, ~1 год).
|
|
AMO_LONG_LIVED_TOKEN=
|
|
|
|
# Pipeline (воронка) the leads land in. The lead is placed in its first stage.
|
|
AMO_PIPELINE_ID=10980758
|
|
|
|
# Optional: numeric id of the amoCRM user leads are assigned to.
|
|
AMO_RESPONSIBLE_USER_ID=
|
|
|
|
# Optional: comma-separated tags added to every lead.
|
|
AMO_LEAD_TAGS=medcenter-landing
|