Staging
Merged
RT
6mo ago+4766+4766+0123456789012345678901234567890123456789-249-249-012345678901234567890123456789
Summary by cubic
Adds health endpoints and hardens deploys with automatic health checks and dynamic base path handling. Launches the Associate Retailer program plus Contact and legal policy pages, with updated navigation/footer and UI polish.
-
New Features
- Health endpoints at
/healthand/api/health(200 on GET/HEAD). - Associate Retailer program at
/associate-retailer(Apply, Community, application form, earnings calculator). - Contact page and legal policies (Privacy, Cookie, Refund, Terms) using
LegalPolicyDocument+MarketPolicyTabs(India/Malaysia). - Navbar/footer updated with new links.
- Health endpoints at
-
Refactors
- Deploy/rollback workflows set
NEXT_PUBLIC_BASE_PATH/APP_BASE_PATH, runpm2 --update-env, and use.github/scripts/healthcheck-candidates.mjsfor fallback health checks. next.config.tsderivesbasePathfromNEXT_PUBLIC_BASE_PATH(defaults to/stagingin dev, empty in prod) and appliesassetPrefixonly when needed.- UI polish: Associate Retailer content/layout refinements, global scrollbar styling, home hero copy + CTA tweaks, menu overlay scroll fix; removed unused SVGs and the hero laptop logo; cleaned up 3D scene materials.
- Deploy/rollback workflows set
Summary by CodeRabbit
-
New Features
- Contact page with interactive contact form.
- New legal/policy system and pages: Cookie Policy, Refund Policy, Terms & Conditions with India/Malaysia tabs.
- Associate Retailer section: landing, apply form, community, earnings calculator and related pages/components.
- Lightweight health endpoints for service checks.
-
Improvements
- Deployment health-checks enhanced to try multiple candidate URLs.
- Home hero updated with new messaging and PHYGITAL branding.
- Navbar adds Contact link; footer redesigned and global scrollbar styling added.