feat: hero demo-first CTA, evidence reorder, newsletter capture, footer blog column - #369
Merged
Conversation
…re, footer blog column - Swap hero CTAs: 'Watch it prove a result (65s)' becomes primary (scrolls to #demo); workflow-fit link becomes secondary; analytics testids and funnel events unchanged - Define qualification in plain words beside the hero CTA; rename nav button to 'Start your first workflow' (same /qualify href) - Move the three-application evidence player (#demo) above the customer case study on the homepage - Add lib/siteCopy.js canonical copy source; MastHead h1 uses buyerLine - Add NewsletterCapture (Netlify form 'newsletter', CSS-hidden honeypot, success state) mounted in Footer and near the homepage bottom - Footer: Blog column with three posts plus All posts; drop duplicate Blog entry from Connect column - netlify.toml: 301 redirects /demo -> app.openadapt.ai/demo and /docs -> docs.openadapt.ai
✅ Deploy Preview for cosmic-klepon-3c693c ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Changes (web-hero lane)
components/MastHead.js): the demo is now the primary action —heroCloudpill, label "Watch it prove a result (65s)", scrolls to the embedded evidence player section (#demo). "See if your workflow fits" becomes the secondary ghost button. Existing analytics hooks kept (data-testid="demo-cta"/workflow-fit-cta,HERO_CTA_CLICKevents with the samectavalues)./qualifyhref and tracking.pages/index.js): the three-application evidence player section (#demo) now sits above the customer case study. No component internals changed.lib/siteCopy.jsexportingbuyerLineandengineLine; MastHead h1 rendersbuyerLine.components/NewsletterCapture.js+.module.css— Netlify formname="newsletter", honeypot hidden via CSS class (clip technique, no visible text), success + error states; mounted above footer links and once near the homepage bottom. Fires existingtrackEmailCaptureconversion.components/Footer.js): "We ran it on a real EMR", "The silent wrong write", "Compile once, govern every repair", plus "All posts" → blog.openadapt.ai. The duplicate single Blog link was removed from the Connect column.netlify.toml): 301s/demo→https://app.openadapt.ai/demoand/docs→https://docs.openadapt.ai; existing content preserved.Verification
npm test: 193/193 passnpm run build: succeeds (includes prebuild paper-fetch, tests, presentation checks)Notes / follow-ups
cypress/e2e/basic.cy.jsstill asserts the old nav label "Qualify one workflow" in the header — one-line update needed when E2E next runs.MastHead.module.csscomments describe the pre-swap CTA hierarchy (file out of this lane's scope); refresh in a follow-up.mainasgrowth/pricing-clarityand is excluded from this PR.