Repository navigation
Add a public landing page - #8
Merged
Merged
Conversation
There was no front door: / redirected straight to /login, so a visitor who had never signed up saw a password form and nothing explaining the product. / is now the public landing page from PRD §44 — hero, the identity graph, why now, the human-in-the-loop flow, and the anti-spam guarantees. A signed-in visitor is redirected to their inbox instead, checked by cookie presence so the page costs no API round trip. The inbox moves to /today. The bottom navigation hides itself on public routes, where app chrome is meaningless, and /more gains the sign-out control the UI never had. CI now asserts / renders for a signed-out visitor and contains its own copy, so a redirect loop or a blank marketing page fails the build. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
There was no front door.
/redirected straight to/login, so anyone who had never signed up hit a password form with no explanation of what the product is.What changed
/is now the public landing page (PRD §44): hero, the identity graph, why-now signals, the human-in-the-loop flow, and the anti-spam guarantees. Mobile-first, uses the existing design tokens, works in light and dark./today, which redirects to/loginitself./today./,/login,/offline) — app chrome before sign-in is meaningless./moregains a sign-out control. There was no way to log out from the UI at all.CI
Asserts
/returns 200 for a signed-out visitor and contains its own copy, so a redirect loop or an empty marketing page fails the build. The existing "PWA reaches the API" check moves to/today, which is the route that actually exercises it.Verification
291 tests, typecheck clean,
next buildclean, prettier clean.🤖 Generated with Claude Code