feat(landing): public marketing page at the root (5.1) - #73
Merged
Merged
Conversation
Guests hitting / were bounced straight to the login form, with no pitch. Add a landing at the root path (value proposition, value props, "cómo funciona", trust, CTAs) and change rootRedirectGuard so only authenticated users are redirected (to /dashboard); guests now see the landing. CTAs link to /register and /login, plus a demo button when demoEnabled. Screenshots are intentionally pending (a marked spot + docs note) — real captures only, no invented ones.
|
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.



What
Item 5.1 — Landing. Guests hitting
/were bounced straight to the login form, with no pitch. Now the root renders a landing page for guests; only authenticated users are redirected (to/dashboard).Sections: hero + primary CTAs, value props, "cómo funciona" (3 steps), trust (verified backups, data ownership, no ads), final CTA, footer (Ayuda/Términos/Privacidad). CTAs →
/registerand/login, plus a Probar la demo button whenenvironment.demoEnabled.Routing
rootRedirectGuardnow returnstruefor guests (landing) and redirects authenticated users to/dashboard. Spec updated.Screenshots
Intentionally not shipped: the plan wants real captures. There's a marked spot in the template (commented block) and a note in
docs/specs/landing.mdto add them underbikontrol-web/public/screenshots/. No invented/mocked screenshots.Verification
landing.spec.ts(guest sees the landing; authenticated user at/lands on/dashboard/home).format:check+ lint clean; AOT build passes.