refactor: centralize hotel name fallback via FALLBACK_HOTEL_NAME
Route all user-facing Atom hotel defaults through resolveHotelName (settings then HOTEL_NAME env then brand constant). Exclude Playwright e2e from tsconfig until deps are installed. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
6b2819aa20
commit
e00e9ca2dc
31 files changed
+113
-56
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { HABBO_GAMEDATA_HOTELS } from "@/lib/habbo-gamedata-hotel";
|
||||
import { FALLBACK_HOTEL_NAME } from "@/lib/brand";
|
||||
|
||||
export type FieldType =
|
||||
| "text"
|
||||
@@ -49,7 +50,7 @@ export const SETTINGS_GROUPS: SettingsGroup[] = [
|
||||
label: "Hotel name",
|
||||
type: "text",
|
||||
placeholder: "Epicnabbo",
|
||||
defaultValue: "Atom",
|
||||
defaultValue: FALLBACK_HOTEL_NAME,
|
||||
},
|
||||
{
|
||||
key: "cms_logo",
|
||||
|
||||
Reference in new issue
Block a user