fix(tour): restore location map and schedule button
This commit is contained in:
4 files changed
+95
-2
No files matched your search
@@ -4367,3 +4367,40 @@ because credentials were unavailable. No private markup or resources are tracked
|
||||
The Spanish extra dropdown choices remain a Jotform Builder review item, with
|
||||
fixed Astro context/locale URLs verified. See
|
||||
[focused evidence and remaining acceptance](phase-9-drawer-portal-corrections-2026-10-30.md).
|
||||
|
||||
## 2026-11-01 — Tour map and CTA restoration
|
||||
|
||||
Compared the public `/tour` HTML retrieved with normal TLS validation on
|
||||
2026-11-01 against the migrated page. The source ends with a centered filled
|
||||
“Schedule a Tour Today” link to `/client-consultation`, followed by a full-width
|
||||
360px Leaflet 1.9.4 map. Restored the CTA using the existing AIA `Button`
|
||||
component and added a Tour-only map below the content container.
|
||||
|
||||
The map preserves the source view `[33.63, -111.88756]`, zoom 12, clinic marker
|
||||
`[33.617746, -111.88756]`, OpenStreetMap attribution, 124px logo and directions
|
||||
popup. Leaflet CSS/JS use the same version and SRI hashes already used by Contact;
|
||||
tile requests go to `tile.openstreetmap.org`. These are external map dependencies,
|
||||
not self-hosted assets. No analytics, forms, clinical copy, metadata or routes
|
||||
changed. The logo is local. Intentional accessibility/reliability improvements:
|
||||
meaningful region/marker labels, visible link focus, safe new-tab links, correctly
|
||||
encoded directions destination and address/directions fallback when JavaScript
|
||||
or Leaflet is unavailable. Existing nine-photo gallery and captions are unchanged.
|
||||
|
||||
Validation: Astro check/build passed (128 pages); link audit found zero broken
|
||||
internal links; five Phase 8 accessibility tests and the focused nine-photo Tour
|
||||
regression passed. Chromium comparison against the retrieved live HTML and the
|
||||
local build at 390px and 1440px passed: both maps span the viewport at 360px
|
||||
height, all 4/12 requested map tiles loaded, marker/directions popup rendered,
|
||||
and the Astro page had no horizontal overflow or JavaScript exceptions. The
|
||||
CTA matches source fill/border `#ffbd59`, text `#254080` and no underline, using
|
||||
the established Astro button proportions rather than copying HubSpot CSS.
|
||||
No-JavaScript address/directions and consultation-link fallback passed.
|
||||
|
||||
Evidence and full-page/map screenshots: `/tmp/aia-tour-review-hknOnA/`.
|
||||
Read-only map/static asset GETs were allowed; unrelated vendor scripts and
|
||||
tracking requests were blocked. Consequently the live reference reported missing
|
||||
jQuery errors, while the Astro page reported none; this was a bounded map/CTA
|
||||
comparison, not validation of all live HubSpot functionality. An initial test
|
||||
selector matched both directions and the popup-close link; narrowing it to the
|
||||
external directions link resolved the test-only failure. No account changes,
|
||||
submissions, deployment, staging or commit occurred.
|
||||
Reference in new issue
Block a user