feat: move brand name to one config and redesign the accounting card
اپ: نام برند در همهی صفحهها و پیامها یکسان شده و از یک تنظیم مرکزی خوانده میشود. اپ: کارت حسابداری در صفحهی مشتری بازطراحی شد؛ ماندهها و وضعیت لینک واضحتر نمایش داده میشوند. پنل: کارت حسابداری در پروندهی مشتری بازطراحی شد؛ ماندهها، آخرین ارسال و فرم لینک دستی واضحتر شدهاند. پنل: ستون «کد» در جدولها بهطور پیشفرض پنهان است و از انتخاب ستونها قابل نمایش است. پنل: تغییر نمایش ستونها در جدولها بلافاصله اعمال میشود. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Haiku 5.5
parent
5d2a1efb0c
commit
532ceee189
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* The brand, in ONE place for the three frontends (admin panel, user-app,
|
||||
* 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: 'Zartaj',
|
||||
/** 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;
|
||||
Reference in New Issue
Block a user