- 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>
23 lines
784 B
TypeScript
23 lines
784 B
TypeScript
import { StrictMode } from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
// Self-hosted so the landing stays self-contained and makes no third-party
|
|
// request. Subsets are gated by unicode-range, so only latin, latin-ext and
|
|
// cyrillic are actually downloaded for this page.
|
|
import '@fontsource-variable/inter'
|
|
import App from './App'
|
|
import { collectAttribution } from './lib/attribution'
|
|
import './index.css'
|
|
|
|
// Capture ad tags on arrival, not only on submit: the visitor may browse to an
|
|
// untagged URL (or come back days later) before sending a form.
|
|
collectAttribution()
|
|
|
|
const container = document.getElementById('root')
|
|
if (!container) throw new Error('#root is missing from index.html')
|
|
|
|
createRoot(container).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
)
|