Add frontend/modules/loyalty with types, API client, design system, feature pages and thin App Router routes under app/loyalty/. BFF proxy at app/api/loyalty/. Include loyalty frontend docs. Co-authored-by: Cursor <cursoragent@cursor.com>
817 B
817 B
Loyalty Component Map
| Area | Path |
|---|---|
| Hub | pages/hub.tsx |
| Shared states | pages/shared.tsx |
| Portal shell | components/LoyaltyPortalShell.tsx |
| Layout factory | components/createPortalLayout.tsx |
| List CRUD factory | components/LoyaltyListCrudPage.tsx |
| Breadcrumbs | components/LoyaltyBreadcrumbs.tsx |
| Scope notice | components/LoyaltyScopeNotice.tsx |
| Table page | design-system/LoyaltyTablePage.tsx |
| Status chip | design-system/LoyaltyStatusChip.tsx |
| API | services/loyalty-api.ts |
| Nav | constants/portals.ts |
| Permissions | constants/permissions.ts |
Feature folders
features/dashboards, membership, points, rewards, campaigns, referrals, wallet, audience, rules, partners, analytics, admin