mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 20:03:37 +00:00
- Added a new configuration flag `IS_MARKETING` to toggle marketing mode. - Updated the sidebar component to conditionally display the marketing URL when in marketing mode. - Refactored event type naming for consistency in the sidebar logic. - Cleaned up formatting in the HttpApiClient for improved readability.
7 lines
191 B
TypeScript
7 lines
191 B
TypeScript
/**
|
|
* Marketing mode flag
|
|
* When set to true, displays "https://automaker.app" with "maker" in theme color
|
|
*/
|
|
|
|
export const IS_MARKETING = process.env.NEXT_PUBLIC_IS_MARKETING === "true";
|