Skip to content

Redesign/homepage and pro v2 - #1

Merged
SquaredR98 merged 3 commits into
masterfrom
redesign/homepage-and-pro-v2
Sep 13, 2026
Merged

SquaredR98 merged 3 commits into
masterfrom
redesign/homepage-and-pro-v2

Conversation

@SquaredR98

Copy link
Copy Markdown
Owner

No description provided.

The docstring said "19 built-in validators" while runBuiltInRule dispatches
27 cases. The marketing claim of 27 was right and the source comment was
stale, not the other way round — verified by counting the switch cases.

Also corrects the root README's test count. It read 1,151 from
"824 core + 271 react + 56 adapters", which both used a pre-fix react
number and omitted the templates suite entirely. Counted from a full run:

  824 core + 288 react + 56 adapters + 102 templates = 1,270

Docstring only; no runtime change. 824 core tests still pass.
…sign system

The homepage read as a portfolio piece — "A side project · early", "I built
it to learn how to publish npm packages" — which told a buyer the project
would be abandoned. The product out-specs that framing, so the page now
leads with the one claim competitors structurally cannot make: responses go
from the browser to infrastructure the customer controls, with no vendor in
the path.

Section order now carries the argument: claim (Hero) → why it is structural
(DataFlow) → how to verify it (TrustStrip) → capability → paid tier →
limits. The founder narrative moved to /about rather than being deleted;
Scope stays on the homepage because it is what makes the rest credible.

Design system (components/homepage/v2.css + globals.css):
  - engraved-plate depth tokens: --plate, --lit, --e1/e2/e3, --inset
  - one section heading scale, replacing fixed 38px in 7 sections, a
    26-36px clamp in 3, and one 44px — none of which scaled on mobile
  - one vertical rhythm, replacing py-19/20/22 plus breakpoint overrides
  - alternating grounds; 11 of 12 sections had sat on the same white, so
    the middle of the page read as one undifferentiated field
  - three CTA tiers consolidated from four divergent button systems

Numbers corrected across every surface (Rule 1). "44 field types" appeared
on 7 surfaces including layout metadata and the OpenGraph image; the
registry has 41. Test count was 1,151 in three places; a full run gives
1,270.

Two false claims removed after checking source: TrustStrip advertised
"row-level security and audit logging built into the adapter layer" —
neither exists, only AES-256-GCM encryption does; and a demo carried a
fabricated testimonial naming a real company.

LiveDemos: 41 dead CSS classes removed (297 lines) — hand-built card,
input, stepper and validation styles left over from when those demos were
mockups rather than real FormEngineRenderer instances.

ScrollReveal now drops its transform on transitionend. A lingering
transform — even translate-y-0 — makes an element a containing block for
position:fixed descendants, which offset dnd-kit's DragOverlay from the
cursor in the embedded Pro builder.
The Pro page predated the v2 design system entirely — zero plates, zero
elevation — and kept a parallel set of primitives: a fixed 34px heading
with its own breakpoint overrides, its own py-20 rhythm, muted eyebrows
with dots rather than the fading rule. All nine sections use shared.css,
so correcting that file moved the page at once.

Token ownership fixed: --fc-h2, --fc-section-y, --ground-2 and friends had
been declared in homepage/v2.css, which this page does not import. They are
site-wide, so they moved to globals.css.

Re-indexed (robots noindex removed) with the purchase CTA as a
non-clickable "Coming soon" plate, and deliberately NO Product/Offer
structured data — advertising a price and InStock to search engines for
something that cannot be bought would be false.

Rule 9 fixes found on the page:
  - "Launch price — limited time" with a struck-through $399: an expiring
    discount on an unpurchasable product
  - "$199 once" in the hero eyebrow, away from any statement of
    availability

Deleted two dead components. ProFaq claimed a "14-day refund, no questions
asked" policy contradicting the live FAQ's "all sales are final"; it was
rendered nowhere, so the wrong policy could have been reintroduced by
anyone who wired it up. ProContact was superseded by ProContactFaq.

Telehealth section rendered for the first time, after the feature grid
rather than inside it — that grid is headed "{n} features, one licence"
and computes the count from its own arrays, so folding a separate $99
add-on in would inflate Pro's feature count. Four claims corrected against
packages/telehealth: it is not "included with every Pro licence"; PSS-10
does not exist; templates are 7 not 14; field types are 8.

Two bugs fixed here that were first seen on the homepage builder:
--background must be the lit surface for Pro's segmented view-mode tabs to
show an active state, and overflow-hidden clips dnd-kit's non-portaled
DragOverlay.
@vercel

vercel Bot commented Sep 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
fieldcraft-website Ready Ready Preview Sep 13, 2026 4:39am UTC

@SquaredR98
SquaredR98 merged commit 8bd74bb into master Sep 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant