Files
zeekay 7ea10888b5 /referral: the referral service's window, on the fold
The page drew the beta waitlist: a board, twenty follow and star
buttons, and a link rewritten to /beta?ref= over the service's own.  A
failed read of GET /v1/referral was swallowed, so the share card simply
never appeared and the counts read 0.  It was also withheld as an empty
page while carrying copy.

Now the fold's words beside a window that is the service's answer: the
link it mints, Copy, the device's share sheet and seven channels each
through tagged(link, channel, 'referral'), the counts as Referred,
Pending and Qualified, the newest referees, and Change your code
(PUT /v1/referral).  Signed out the same window stands empty beside
Get your link and Sign in, and nothing is asked.  A refused read says
why with Try again.  No amount anywhere: a referral pays nothing, and
the line under the words sends paid referrals to /affiliate, which
links back.

The page is published, and the gate serves the service's answers:
both sessions, every channel's tag, the clipboard, the refusal, the
rename, no money, no unserved referral address, and a phone.
2026-10-30 07:31:51 -07:00

15 lines
534 B
TypeScript

import type { Metadata } from 'next'
import { pageMeta } from '@/lib/page-meta'
// The page is 'use client', so it can export no metadata of its own and served
// the root's title. Whether it is indexed is decided by lib/publish.
export const metadata: Metadata = pageMeta({
title: 'Bring a builder to Hanzo',
description: 'One link counts everyone who signs up through it, and who goes on to use Hanzo.',
path: '/referral',
})
export default function Layout({ children }: { children: React.ReactNode }) {
return children
}