Drop the duplicate customer app from the monorepo and keep user-app-v2 as the only app; include order pricing, admin cart, OTP/SMS, and dashboard cache updates. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
1.2 KiB
TypeScript
26 lines
1.2 KiB
TypeScript
/**
|
|
* The brand, in ONE place for the two frontends (admin panel, user-app-v2):
|
|
* page titles, PWA install name, login headers, welcome toasts,
|
|
* help texts and the public product link. Each app re-exports this from its own
|
|
* src/brand.ts, and its vite.config reads it for <title> and the PWA manifest.
|
|
*
|
|
* The server's SMS do NOT read this file — they use BRAND_NAME / BRAND_SITE_URL
|
|
* from the environment (apps/api/src/common/brand.ts), so changing the SMS
|
|
* wording needs only an env change and a restart.
|
|
*
|
|
* Everything else a rebrand touches (logo images, domain, server env) is listed
|
|
* in docs/BRANDING.md.
|
|
*/
|
|
export const brand = {
|
|
/** Persian name, used inside sentences: «ورود به تهران تاج». */
|
|
name: 'تهران تاج',
|
|
/** Latin name: PWA install name, alt texts, footer. */
|
|
nameEn: 'Tehran Taj',
|
|
/** Browser tab / home-screen title of the customer apps. */
|
|
appTitle: 'طلای تهران تاج',
|
|
/** Browser tab title of the admin panel. */
|
|
adminTitle: 'تهران تاج — پنل مدیریت',
|
|
/** Public customer site; product links in the admin panel point here. */
|
|
siteUrl: 'https://bnk.montzar.ir',
|
|
} as const;
|