feat(website): whitepaper block and toast on the form kit; old form CSS removed - #1026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
blove
force-pushed
the
blove/lead-forms-whitepaper-pr3
branch
from
September 6, 2026 00:40
1487c11 to
32ff1e9
Compare
blove
enabled auto-merge (squash)
September 6, 2026 00:40
Contributor
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…cked download-link margin Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…note the row-button specificity tie Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
Author
|
Rebased onto main after #1024; |
blove
force-pushed
the
blove/lead-forms-whitepaper-pr3
branch
from
September 6, 2026 01:17
32ff1e9 to
09a90c8
Compare
Contributor
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.
PR 3 of 3 for
docs/superpowers/specs/2026-09-03-lead-forms-system-design.md. The whitepaper signup and the announcement toast compose the form kit; the last of the per-surface form CSS is deleted.Summary
WhitePaperForm(the shared component feat(website): homepage restructure (live-stage plan 1 of 3) #1024 extracted, used by the homepage teams block and byWhitePaperBlockon the library pages) rebuilds on the kit: label above the field, inline submit button matching the control height, validation on blur, focus on the field after an invalid submit, failures reported in a failure block, and the direct PDF download link kept.WhitePaperBlockis unchanged from main and keeps rendering the shared form.AnnouncementToastcomposes the same kit in a compact row with the same copy; failures are now reported instead of swallowed.chrome.cssandlanding.csslose the old per-surface form rules;forms.cssdocuments the row-button specificity tie withui.css(forms.css wins only by import order).Rebased onto main after #1024 (homepage restructure). The only conflict was
WhitePaperBlock.tsx; resolved by taking main's block and porting the kit form into the sharedWhitePaperFormwith itssurface,sourceSection, andidPrefixprops, so both call sites get it.Gates (Task 16, rerun after the rebase)
wp-email-input,Download (free),Email addresslabel): clean. The only earlier hit was thecontact-form-growth-disclosureelement id inside the kit-basedContactFormfrom feat(website): contact page on the form kit; enterprise form merges into it #995, which is an id, not retired CSS.npx nx lint website: 0 errors, pre-existing warnings only.npx nx test website(as CI runs it, from the repo root): pass.GROWTH_FORM_POLICY=growth_v1 npx nx build website: pass.WEBSITE_E2E_MODE=production GROWTH_FORM_POLICY=growth_v1 npx nx e2e website --grep "whitepaper|landing page|contact page|pricing|footer newsletter|privacy policy|public copy boundary|canonical policy surface": see the latest comment for the rerun result.AnnouncementToast.spec.tsx.Task 16 Step 5 (manual production gate: one real submission per changed surface, confirm in Neon and PostHog, then delete the synthetic contact) remains after deploy.
🤖 Generated with Claude Code