feat: introduce marketing mode and update sidebar display

- 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.
This commit is contained in:
Cody Seibert
2025-12-12 22:42:43 -05:00
parent 28328d7d1e
commit b3a4fd2be1
3 changed files with 120 additions and 31 deletions

View File

@@ -0,0 +1,6 @@
/**
* 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";