31 lines
2.8 KiB
Markdown
31 lines
2.8 KiB
Markdown
# Subscription terms
|
|
|
|
`/terms/subscription` · `apps/{bull,bear}/src/app/(flow)/terms/subscription/page.tsx` · Type: static and policy · Layout: [layout-terms.md](layout-terms.md), [layout.md](layout.md)
|
|
|
|
| Field | Value |
|
|
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
| Robots | `index` |
|
|
| Status | `200` |
|
|
| loading.tsx | `apps/{bull,bear}/src/app/(flow)/terms/subscription/loading.tsx` (debt, Notes) |
|
|
| First flush | none: config, server i18n (`terms`, `auth`) and `getEnv().supportHours` |
|
|
| Canonical | none set (debt, Notes) |
|
|
| H1 | bull: `terms:title` «شرایط اشتراک», screen-reader-only, in `SubscriptionTerms`; bear: `rules:title` «قوانین لومینا» from the layout (debt) |
|
|
| JSON-LD | none |
|
|
| Scripts | none |
|
|
|
|
## Sections
|
|
|
|
In bull's document order.
|
|
|
|
| Section | Data | HTML | JS | Index | Notes |
|
|
| ------------------------- | ------ | ----------- | ---- | --------- | ---------------------------------------------------------------------------------------------- |
|
|
| SubscriptionTerms | config | first flush | none | primary | one `<section>` per term with its heading; bear: in a `Card` |
|
|
| ↳ Support hours and chats | config | first flush | none | secondary | island `SupportSheet` rows: `<a href>` to the Bale and Telegram chats, inside the last section |
|
|
|
|
## Notes
|
|
|
|
- The landing footer links here; checkout, a suspended card and the support sheet open it too.
|
|
- Debt: `loading.tsx` wraps an indexable page. Delete it.
|
|
- Debt: no canonical. Add `alternates: { canonical: ROUTES.rules.subscription }` to the page's `metadata`.
|
|
- Debt: the H1 differs between the apps ([layout-terms.md](layout-terms.md)).
|