Repository navigation
Widen the desktop hero and add a local architectural 3D render - #122
Conversation
The hero download card now detects the visitor's platform (shared detection with the classic landing in download-platform.js) and streams the installer in-page with progress, completion, and retry states rendered in the button itself. GitHub serves release assets without CORS on any redirect hop, so byte access needs a proxy. The client walks a cascade at click time: Cloudflare worker (workers/download-proxy, free egress, opt-in via secrets + PUBLIC_DOWNLOAD_STREAM_ORIGIN) → same-origin Vercel edge proxy (/stream/:platform, zero setup) → native /download navigation, which is also the no-JS default. Every failure mode degrades one tier. Covered by 10 worker unit tests and 12 Playwright specs (platform UAs, iOS card promotion, stream-to-done, mid-stream retry, cascade order, native fallback). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Use the verified v0.5.7 MSI while the release marked latest lacks a Windows installer. Keep the production download route, stream fallback, asset menu and version label consistent. Coven-Harness: codex / gpt-6
Refresh the static Windows download card from the published v0.5.13 release. Clarify that the .sig is an updater signature, not Windows code signing.\n\nCoven-Harness: codex / gpt-6
* feat(landing): apply developer handoff H1-H12 to the production landing page Single-column hero with the session table as the hero visual; the interactive dial and its WebGL dependency are removed from the homepage. - H1/H3: single-column hero, 64px under the nav (28px on phones), table header plus four rows above the fold at 1440x900 - H2: Cave line under the primary button; column headers expose a one-line description on hover, focus and tap (draft wording) - H4: Docs in the nav; native disclosure menu below 720px - H5: muted label token raised to at least 4.5:1 in both themes - H6: session cells are keyboard-operable buttons named for their row; focus follows a view open and returns on close - H7: Download button removed from the middle section; one label and style for both How it works links - H8: the markup is the finished overlap frame, so the page reads with no script and with reduced motion; the script rewinds before playing - H9: stats links always present with reserved height; counts fade in - H10: copy cue visible at rest; polite "Copied" announcement; select the command when the clipboard is unavailable - H11: table sized to its rows (card copy balance not done, see PR) - H12: empty logo alt, pause control for the demo Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QrchRpTr1HocnpYMw6gvKc * fix(landing): resolve handoff review and verify current browser contracts --------- Co-authored-by: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
🟡 Changes recommended
Inline padding causes inconsistent mobile gutters, and the pending sculpture import can still initialize WebGL after the hero leaves view or the tab becomes hidden.
2 open issues
1 file not reviewed
pnpm-lock.yaml: Generated file
What changed in this PR
Updates the production landing homepage with a wider, tighter hero and a local architectural illustration. This builds on #121 while leaving download behavior and the separate #117 work unchanged.
Changes:
- Widens homepage containers and introduces a responsive two-column hero with Geist typography.
- Adds an optional desktop Three.js scene with poster fallback and pause/resume controls.
- Adds poster-generation tooling, focused browser tests, and design records.
| File | Description |
|---|---|
tests/redesign.spec.ts |
Renames the hero test to reflect the new composition. |
tests/hero.spec.ts |
Adds layout, fallback, motion, and accessibility coverage. |
src/styles/redesign.css |
Defines the shared responsive container. |
src/styles/hero.css |
Styles the wider hero and sculpture presentation. |
src/scripts/redesign/sculpture.js |
Controls conditional loading, animation, and fallback lifecycle. |
src/scripts/redesign/sculpture-scene.js |
Builds and renders the procedural architectural scene. |
src/scripts/redesign/landing.js |
Updates comments describing script ownership. |
src/pages/index.astro |
Loads hero styles and Geist; scopes homepage widening. |
src/components/redesign/RedesignNav.astro |
Adopts the shared navigation container. |
src/components/redesign/RedesignHero.astro |
Combines hero copy with the sculpture component. |
src/components/redesign/RedesignFooter.astro |
Adopts shared footer containers. |
src/components/redesign/Outcomes.astro |
Adopts the shared section container. |
src/components/redesign/HeroSculpture.astro |
Authors the poster, caption, and motion control. |
src/components/redesign/FinalCta.astro |
Aligns the final action with the shared container. |
src/components/redesign/BoardSection.astro |
Places the session board in the shared container. |
scripts/render-hero-poster.mjs |
Exports a WebP poster from the procedural scene. |
pnpm-lock.yaml |
Locks the Three.js dependency. |
package.json |
Adds pinned Three.js. |
docs/superpowers/specs/2026-11-12-architectural-hero-design.md |
Records design requirements and reported results. |
docs/superpowers/plans/2026-11-12-architectural-hero.md |
Records implementation steps and verification evidence. |
Review effort: Balanced
|
Merged into main as All 11 pre-merge check runs and both Vercel statuses succeeded. Hosted main verification executed 112 browser cases without retries; all 20 API/Worker unit tests and the complete static/brand/UI/truth checks passed. The five release-browser jobs, including Firefox, also passed. The earlier Firefox and phone-layout failures were repaired and retained in the PR evidence rather than bypassed. Main's canonical homepage, public claims, native downloads, privacy/support pages and secondary navigation remain intact. The 3D enhancement is local, optional, pauseable and static-first, with post-import visibility gating and quiet fallback when WebGL2 is unavailable. No deployment-routing configuration or unrelated landing work was merged. Post-merge checks remain separate from the completed pre-merge qualification. |

Objective
Deliver the user-approved wider architectural hero into
main, resolve Copilot's two review conversations, and merge after final verification. This PR follows #121; it does not merge the olderlandingsite's infrastructure or close #117.Final implementation
The original candidate targeted
landing, which diverged from main before the canonical static-first cutover. Integration starts from main6c52c9950b27223cf68461db654fb171de84e7e0and adds only the hero feature. The ratified headline, maturity-qualified copy, active product registry, canonical three-command foundation, semantic proof, shared navigation/theme controls, metadata, browser-native downloads, privacy and support pages are preserved.A homepage-only layout option widens content to 1440 px on large screens and tightens hero spacing. A separate graphite/violet/ivory architectural object uses local, dynamically loaded Three.js. The flat canonical mark remains in the header and hero eyebrow. Phones and reduced-motion sessions retain a 21 KiB authored poster exported from the same scene. Visible desktop motion is capped at 30 fps and pixel ratio 1.75; pause, offscreen/hidden stopping, import failure and lost/unavailable WebGL are handled without making content depend on the renderer.
Measured main candidate: next section y=569 at 1920/2560 px and y=513 at 1440 px; no overflow at 320, 720, 1440, 1920 or 2560 px. These supersede the earlier landing-only board coordinates.
Copilot disposition and independent review
visibleanddocument.hiddenchecks immediately before mounting. Existing visibility callbacks retry when eligible. The regression failed before the fix and passed afterward.Canonical owners and impact
Visual evidence is
OpenCoven/brandat798e2f5f2f1a69f5d156ccc0a9aafc4f7da55fc8, its web profile and usage contract. Main's pinned brand/UI, public-positioning and product-registry contracts remain authoritative. Identity, runtime and protected-action semantics remain with their existing owners. No claim, API, Worker, download infrastructure, policy, analytics mode, structured data or deployment configuration changes are included. Missing proof remains unknown. No secrets or third-party renderer requests are introduced.Intentional files: homepage and shared layout wide option; sculpture component/lifecycle/scene/CSS; pinned Three dependency and lockfile; poster and regeneration script; current homepage and hero tests; revised design/plan records. All other main changes are retained exactly, and the primary checkout and other worktrees are preserved.
Verification
Local main-integration qualification with Node 22.23.5 / pnpm 10.34.9; current published head is
cfeee067234f66a8dee01032c645988c9ac25668:CI=true pnpm build: passed for all 12 routes, including fallback sanitization.pnpm check: passed all pinned brand/UI, static, analytics, public-truth, registry, release-gate and provisioner checks.pnpm test:unit: 20 passed, zero failed/skipped.CI=true pnpm exec playwright test --config=playwright.integration.config.ts --retries=0: 112 passed, zero failed/skipped/retried. The temporary config changed only preview port 4173 to 4182 because 4173 was occupied; the committed canonical config is unchanged./tmp/hero-main-1920.pngand/tmp/hero-main-320.png.git diff --check origin/main: passed.Receipts:
/tmp/hero-main-final-checks.log,/tmp/hero-main-race-red.log, and ignored Playwright report/results directories. Generateddist, screenshots and traces are excluded from Git; the poster is a required source asset. The initial hosted main head exposed two follow-ups: Firefox disabled WebGL2 and Three logged constructor errors, and Linux font fallback placed the phone action below the inherited 600 px cutoff. The current head probes WebGL2 before constructing Three and explicitly verifies zero fallback console errors. The phone check now asserts action-before-art and action within the first 900 px viewport, preserving the longer canonical copy and readable typography. The full local 112-case suite passed with the graphics preflight, followed by all 13 focused hero cases after the viewport assertion update. First failures remain in/tmp/hero-firefox.log,/tmp/hero-ci-build.log,/tmp/hero-ci-phone.pngand the corresponding hosted artifacts; hosted checks must qualify the current head separately.Migration and rollback
No data migration. Revert the final main delivery to restore its previous hero and remove the Three dependency. Physical-device, human screen-reader and production-domain acceptance remain separate from local Chromium and CI evidence. The user's current instruction authorizes merging this PR into main; it does not authorize changing which branch serves the production domain.
Final hosted qualification
Exact head
cfeee067234f66a8dee01032c645988c9ac25668has all 11 check runs successful: main build and checks, five release browser jobs, baseline capture and CodeQL analyses. Both Vercel statuses are successful. GitHub’s refreshed discussion panel reports all conversations resolved. The base remains main6c52c9950b27223cf68461db654fb171de84e7e0; the diff is clean and no required gate is bypassed.