feat(marketing): redesign the site around product core values - #5256
feat(marketing): redesign the site around product core values#5256shivamhwp wants to merge 24 commits into
Conversation
Accept live server configs that only change the nightly/dev channel suffix so the hero demo stage art updates without a reload, and stub the RPC methods main added so the demo backend typechecks again.
Show the iPad and iPhone cards whenever the desktop demo is visible, and treat date-only nightly versions as the same release line so live channel switching still applies.
Only apply is-loaded when device preview images have actually loaded, and keep load listeners wired while the store is hidden so a narrow-to-wide resize no longer reveals empty full-color cards.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| ): ServerConfig | null { | ||
| if ( | ||
| projection?.source === "live" && | ||
| (initialConfig === null || |
There was a problem hiding this comment.
🟠 High state/server.ts:430
resolveServerConfigValue now accepts a live projection from the previous session when its serverVersion differs from the new session's initialConfig only by a nightly/dev suffix. During a real reconnect or channel switch (e.g. cached/live 1.0.0 followed by a bootstrap 1.0.0-nightly.20260701.1), this causes the old session's providers, settings, and config to override the new session's bootstrap configuration — the prior exact-equality comparison intentionally rejected stale cross-session projections. Consider restoring the exact comparison for production state, or gating the nightly/dev equivalence to demo-only contexts.
🤖 Copy this AI Prompt to have your agent fix this:
In file @packages/client-runtime/src/state/server.ts around line 430:
`resolveServerConfigValue` now accepts a live projection from the previous session when its `serverVersion` differs from the new session's `initialConfig` only by a nightly/dev suffix. During a real reconnect or channel switch (e.g. cached/live `1.0.0` followed by a bootstrap `1.0.0-nightly.20260701.1`), this causes the old session's providers, settings, and config to override the new session's bootstrap configuration — the prior exact-equality comparison intentionally rejected stale cross-session projections. Consider restoring the exact comparison for production state, or gating the nightly/dev equivalence to demo-only contexts.
What changed
Why
The marketing site should make T3 Code's core value obvious before asking visitors to understand the implementation. This draft puts the product experience first and keeps multiple hero directions available for review before choosing the final presentation.
Impact
Visitors get a clearer, more visual explanation of how T3 Code works across surfaces. Maintainers can review the complete redesign and compare the hero directions in one branch.
Validation
git diff --checkGenerated with GPT-5.6 using the Codex harness in T3 Code.
Note
Redesign marketing site with stage-aware downloads, interactive demo, and mobile app support
VITE_T3CODE_DEMO=true) disables client tracing entirely and uses hash-based routing, which differs from production behavior.📊 Macroscope summarized cc45c83. 34 files reviewed, 0 issues evaluated, 0 issues filtered, 0 comments posted
🗂️ Filtered Issues
No issues evaluated.