1.5 KiB
1.5 KiB
Layout: invite-codes
apps/wall-street-plaza/src/app/(panel)/invite-codes/layout.tsx · wraps /invite-codes and /invite-codes/requests, inside layout-panel.md · it reads nothing on the server
| Section | Data | HTML | JS | Index | Notes |
|---|---|---|---|---|---|
| PageHeader, with the H1 | config | first flush | none | no | codes:header.title and its subtitle |
| ↳ CodesSearch | — | first flush | hydrate | no | SearchField with the URL's q, written to the URL once typing pauses; both tabs filter by it |
| CodesTabs | config | first flush | hydrate | no | TabLinks to «همه کدها» and «درخواستهای افزایش», each keeping q |
| ↳ Pending count | query | none | hydrate | no | the sidebar's usePanelCounts read; the badge shows once the admin is known and the count is above 0 |
Scripts: none.
Notes
- Both tabs keep this frame, so the search keeps its value and position between them.
- The header and tabs sit outside the page's
AdminGuard: a guest sees them until the redirect.