First commit of the Hedena Gold product (separate from gold-bank): branding, package names, and deploy defaults aligned to the new brand; legacy Henza trees stay local-only via .gitignore.
17 lines
587 B
TypeScript
17 lines
587 B
TypeScript
import { envOr } from './env';
|
|
|
|
/**
|
|
* The brand name and public site address used in every SMS and message the
|
|
* server sends. Read on each call, so changing BRAND_NAME / BRAND_SITE_URL in
|
|
* the environment and restarting renames every outgoing text at once — no code
|
|
* change. The frontends read the same values from their own brand files; see
|
|
* docs/BRANDING.md for the full list.
|
|
*/
|
|
export function brandName(): string {
|
|
return envOr('BRAND_NAME', 'هدنا گلد');
|
|
}
|
|
|
|
export function brandSiteUrl(): string {
|
|
return envOr('BRAND_SITE_URL', 'https://bnk.montzar.ir');
|
|
}
|