ui phase 9

This commit is contained in:
hamid
2026-07-19 15:14:44 +03:30
parent 1ef4feb911
commit b638e25a0e
47 changed files with 2628 additions and 666 deletions
+8
View File
@@ -9,10 +9,18 @@ export const PUBLIC_URL = process.env.NEXT_PUBLIC_PUBLIC_URL; // Variant 2: .env
export const API_URL = envRequired(process.env.NEXT_PUBLIC_API_URL);
/**
* The Neshan **web** key (client-embeddable maps/search), separate from the server's
* `NeshanGeocoder` server key (refinement phase 8). Optional — `AddressMapPicker` falls back to
* the bounded-canvas grid stand-in when unset, so dev/CI/jsdom keep working without it.
*/
export const NESHAN_WEB_KEY = process.env.NEXT_PUBLIC_NESHAN_KEY || undefined;
IS_DEBUG &&
console.log('@/config', {
IS_DEBUG,
IS_PRODUCTION,
PUBLIC_URL,
API_URL,
NESHAN_WEB_KEY: NESHAN_WEB_KEY ? '(set)' : undefined,
});