31 lines
3.2 KiB
Markdown
31 lines
3.2 KiB
Markdown
# نصب اپلیکیشن (install the app)
|
|
|
|
`/account/install` · `apps/{bull,bear}/src/app/(main)/account/install/page.tsx` · Type: account · Layout: [layout-main.md](layout-main.md), [layout.md](layout.md)
|
|
|
|
| Field | Value |
|
|
| ----------- | -------------------------------------------------------------------------------------------------------- |
|
|
| Robots | `noindex` (page `metadata`) |
|
|
| Status | `200`; a guest is sent to login in the browser |
|
|
| loading.tsx | `(main)/account/install/loading.tsx` |
|
|
| First flush | none: what the device can do is known only in the browser |
|
|
| Canonical | none |
|
|
| H1 | bull: the `ResultPanel` title inside `InstallApp`, browser only; bear: `DesktopPageTitle` «نصب اپلیکیشن» |
|
|
| JSON-LD | none |
|
|
| Scripts | none beyond the layout's |
|
|
|
|
## Sections
|
|
|
|
In bull's document order.
|
|
|
|
| Section | Data | HTML | JS | Index | Notes |
|
|
| ------------------------------- | ------ | ----------- | ------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| MobileTopBar (bull) | config | first flush | hydrate | no | back to `/account` when nothing of this site is behind the page (`backToPrevious`, 0057) |
|
|
| ↳ Title or login link (bull) | viewer | skeleton | hydrate | no | |
|
|
| DesktopPageTitle (bear) | config | first flush | hydrate | no | «بازگشت» to `/account` and the H1 |
|
|
| InstallApp | viewer | skeleton | hydrate | no | `AuthGuard` with `InstallAppSkeleton`, then the view from `useInstallApp`: the browser's install offer, the menu fallback, the iOS Safari steps, or installed |
|
|
| ↳ InstallBenefits, InstallSteps | config | skeleton | hydrate | no | bull: the menu caption; bear: the two steps |
|
|
|
|
## Notes
|
|
|
|
- No `PartBoundary`: the part reads nothing over the network; the pwa lib keeps the browser's install offer (0047).
|