Spaces:
Sleeping
Sleeping
embed: bake NEXT_PUBLIC_EMBED_MODE at build; hide load/deploy/login/gallery/help in embed; default brand logo/icon to /logo.png
d98e39c | // Centralized branding for name and logo paths | |
| // Use public/ paths (served by Next) for images. You can set these via env vars. | |
| // eslint-disable-next-line @typescript-eslint/no-explicit-any | |
| declare const process: any; | |
| export const BRAND_NAME: string = process.env.NEXT_PUBLIC_BRAND_NAME ?? "inSite"; | |
| // Primary logo used in headers/nav. Prefer PNG as requested; fallback to existing SVG. | |
| export const BRAND_LOGO_SRC: string = | |
| process.env.NEXT_PUBLIC_BRAND_LOGO ?? "/logo.png"; | |
| // Favicon/app icon (can be same as logo). Prefer PNG; fallback to BRAND_LOGO_SRC. | |
| export const BRAND_ICON_SRC: string = | |
| process.env.NEXT_PUBLIC_BRAND_ICON ?? BRAND_LOGO_SRC; | |