3.6 KiB
3.6 KiB
Register: phone number
/auth/register/phone · apps/{bull,bear}/src/app/(auth)/auth/register/phone/page.tsx · Type: login · Layout: layout.md
| Field | Value |
|---|---|
| Robots | noindex (page metadata) |
| Status | 200 for every visitor; a signed-in visitor is sent on in the browser by GuestGuard |
| loading.tsx | apps/{bull,bear}/src/app/(auth)/auth/register/phone/loading.tsx |
| First flush | none |
| Canonical | none set |
| H1 | the phone step's heading in RegisterPhoneStep; browser only |
| JSON-LD | none |
| Scripts | none beyond the layout's |
Sections
In bull's document order.
| Section | Data | HTML | JS | Index | Notes |
|---|---|---|---|---|---|
| AuthTopBar (bull) | config | first flush | none | no | back button and auth:register.header |
| ↳ BackButton (bull) | URL | first flush | hydrate | no | <a href> to /auth/register, keeping ?redirect= |
| AuthTemplate header (bear) | config | first flush | none | no | brand <a href="/"> |
| StepBack (bear) | URL | first flush | hydrate | no | «بازگشت» above the card to /auth/register |
| SupportEntry | — | first flush | hydrate | no | in the bar; the dialog mounts only when open |
| NetworkBar | — | none | hydrate | no | under the bar, only while offline or reconnecting |
| RegisterPhoneStep | viewer | skeleton | hydrate | no | GuestGuard fallback SkeletonPreset preset="form" count={1}; guest: progress, H1, phone form, support |
| ↳ RulesCaption | config | none | hydrate | no | under the submit button; its link opens LegalDocumentDialog, which reads GET /legal/platform_rules only when opened; a sheet on bull, a modal on bear |
Notes
- Decision 0013: the step renders only in the browser; the number stays in the auth-flow store.