Commit f9c649b
feat(website): homepage sequencing, plate trim, and diagram scaling (#1089)
* feat(website): replace the whitepaper disclosure and drop the direct links
Requested change. The form now reads 'We will never spam you or share your
email address.' in place of the three-email outreach disclosure, and the
two 'Download the PDF directly' escapes are gone: the 'Already on the list?'
line and the one in the failure block.
Recorded because it is not a copy edit: whitepaper signups are still
enrolled into the founder campaign (campaign/send.ts treats formKind
'whitepaper' as a campaign context), so the follow-up sequence still sends
and is no longer disclosed at the point of capture. Raised before making
the change and confirmed. GROWTH_FORM_POLICY_VERSION is bumped to
growth_v1.2026-09-09 so consent captured under the old wording stays
distinguishable from consent captured under this one, and the constant is
renamed WHITEPAPER_PRIVACY_ASSURANCE because it no longer discloses outreach.
The SUCCESS block keeps its direct link -- that reader has already given
their address and the copy promises it ('the PDF is here too'). The failure
block now says 'Try again in a moment.' rather than handing over the file.
Also removes the .wp-already rules and the home_whitepaper_direct_inline
analytics id, both of which nothing can reach any more.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* feat(website): reorder the fork band, trim the plate, swap the briefing titles
- OpenSourceStrip moves above Stage, so the fork band follows the
architecture diagram. The e2e spine order moves with it.
- The airport plate loses its N/S/E taxiways -- lines, letters, the
TaxiwayLetter component, the TWY_* constants and the .ap-taxiway /
.ap-twy-* rules -- and gains 44 viewBox units of margin below the
southern runway (NEAT 444->488, VIEW 536->580, furniture shifted with it).
- The off-airport strip now reads 'All AI Models supported'.
- 'Compatibility, not endorsement' and 'Everything on the right is yours'
are removed.
- The briefing titles swap: the eyebrow carries the problem, the h2 carries
the offer. '· free' leaves the eyebrow meta because the headline now
opens with 'Free'.
Two guards changed rather than deleted. Compatibility.spec kept its
negative half -- nothing may read as an endorsement, and 'never sees' must
still appear nowhere, that being the overclaim #1067 corrected -- while
losing the positive never-TALKS-TO assertion, since that claim leaves the
homepage with the old strip copy.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(website): the architecture diagram scales instead of scrolling
It was never scaling at all. The docs kit floors every figure at a render
width so shrinking the SVG cannot shrink its text into illegibility, and the
marketing scale caps it at 860 -- but min-width beats max-width, so the two
together pinned this diagram at exactly 1024px: ~96px of the container went
unused on desktop, and between 768 and 1024 the figure scrolled sideways
until the phone stack snapped in.
Both constraints are dropped so width:100% governs. The max-width override
needs .arch-figure .tp-diagram-figure[data-scale] .tp-diagram-svg -- the
marketing cap is (0,3,0) and a plain .arch-figure descendant selector loses
to it, which is how the first attempt at this silently stayed at 860px.
Legibility now comes from the breakpoint rather than a floor: the phone
stack takes over below 1024px, so the SVG never renders under ~944px and
its 13.5px type never drops under ~10px. Measured at 1440px: 1120px wide,
11.8px type, no scroll. At 900px: stack, no page overflow.
Also removes the toast's standalone 'or download directly' link and its
now-dead .toast-download-link rule, and updates the airport e2e, which
pinned the three taxiways this branch removed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(website): the toast's failure block no longer hands over the PDF
Aligns it with WhitePaperForm, whose failure block was changed the same way
earlier on this branch: the guide is reachable only through a successful
submission, so a failed send says to retry rather than releasing the file.
trackWhitepaperDownloadClick and the toast_direct_download cta id go with
it -- nothing in the toast can emit either any more.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(website): the e2e follows the policy bump and the PDF gate
Both surfaced in CI, both real consequences of this branch.
website.spec.ts hardcoded growth_v1.2026-09-01 rather than importing it
(form-policy.ts is server-only and cannot load in a Playwright process), so
bumping the policy version made the running app post a value the suite did
not expect. Updated, with a comment saying it has to move with the constant.
'marketing pages link to downloadable whitepaper PDFs' failed because there
are no such links any more: removing every direct-download escape from
WhitePaperForm took the library pages' links with it. The test now asserts
the gate instead -- the PDFs stay served, they are just not linked -- so
re-adding a link is a deliberate act rather than a silent regression.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent a956b25 commit f9c649b
19 files changed
Lines changed: 103 additions & 174 deletions
File tree
- apps/website
- e2e
- src
- app
- components
- landing
- lib
- analytics
- growth
- styles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | | - | |
56 | 60 | | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
548 | 553 | | |
549 | 554 | | |
550 | 555 | | |
551 | | - | |
552 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
553 | 562 | | |
554 | 563 | | |
555 | 564 | | |
556 | 565 | | |
557 | 566 | | |
558 | 567 | | |
559 | | - | |
| 568 | + | |
560 | 569 | | |
561 | | - | |
| 570 | + | |
562 | 571 | | |
563 | 572 | | |
564 | 573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
Lines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | | - | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
122 | 124 | | |
123 | | - | |
124 | | - | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
| |||
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 47 | | |
63 | 48 | | |
64 | 49 | | |
| |||
168 | 153 | | |
169 | 154 | | |
170 | 155 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | 156 | | |
178 | 157 | | |
179 | 158 | | |
| |||
359 | 338 | | |
360 | 339 | | |
361 | 340 | | |
362 | | - | |
363 | 341 | | |
364 | 342 | | |
365 | 343 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
73 | | - | |
| 77 | + | |
| 78 | + | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
| |||
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
82 | | - | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 127 | + | |
124 | 128 | | |
125 | | - | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
0 commit comments