Commit 83b78cd
committed
feat(web): home page is now the marketing site with auth-aware CTAs
- / now renders the full marketing page (was a silent auth redirect).
Signed-in visitors see a "Dashboard →" CTA; signed-out visitors see
"Sign in →". Both header nav + hero primary button flip based on a
useAuthStatus() hook that calls /v1/me once on mount; "loading" state
renders a dim placeholder so the wrong CTA never flashes.
- /welcome route removed (its content became /).
- signin page back-link now points at /.
- dashboard layout "About" link becomes "Home" -> /.
- footer links drop the dead sheetforge.dev pages in favour of in-page
FAQ anchor + real GitHub repo link.
- header nav drops the 404-ing Docs/Pricing links and adds a FAQ anchor.
Behaviour: signed-in users landing on the domain get a product-forward
page with a dashboard button (no auto-redirect, they can still browse
the pitch), and signed-out users see the sign-in button as the primary
action.1 parent 74c7719 commit 83b78cd
4 files changed
Lines changed: 450 additions & 446 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments