Add consultation-specific CTA flow routing users to the contact form#260
Draft
Add consultation-specific CTA flow routing users to the contact form#260
Conversation
…opdown, and CTA tracking Co-authored-by: danielmeppiel <51440732+danielmeppiel@users.noreply.github.com> Agent-Logs-Url: https://github.com/danielmeppiel/corporate-website/sessions/ae6f4f11-f07c-4c3d-b86a-404d19135099
Copilot
AI
changed the title
[WIP] Add call-to-action for consultation request and contact form
Add consultation-specific CTA flow routing users to the contact form
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hero CTA triggered a generic alert (
showMessage()) with no path to the contact form, and no consultation-specific entry points existed across the page. The contact form also had no way to capture inquiry intent.index.html<button onclick="showMessage()">Get Started</button>→<a href="#contact" id="hero-cta">Request a Consultation</a>"Schedule a Consultation") and Services ("Request a Consultation") sectionsmain.jsshowMessage()withinitializeConsultationCTAs(): attaches click listeners to all three CTAs, logs each click to the audit trail, and auto-pre-selects"Consultation Request"in the dropdown when the form hasn't been touched yethandleSubmit()now captures and logs theinquiry-typefieldstyle.css.cta-buttonupdated: brand green#059669,display: inline-block(works for<a>elements), 44px min-height (WCAG touch target).cta-button--secondary(outlined green variant) and.section-ctacentering wrapperselectadded to.form-groupstyles;.secondary-linkcontrast fixed for dark hero backgroundScreenshots
Hero — primary CTA:

About — secondary CTA:

Contact form — "Consultation Request" auto-selected on CTA click:

Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
googlechromelabs.github.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node node install.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.