Refactor marketing configuration and sidebar display

- Removed the IS_MARKETING flag from app-config.ts to simplify configuration.
- Updated the Sidebar component to always display the "AutoMaker" branding, removing conditional rendering based on the marketing flag.
- Cleaned up package.json by removing the dev:marketing script and ensuring consistency in test commands.
- Cleaned up package-lock.json by removing references to the marketing app and its dependencies.
This commit is contained in:
Cody Seibert
2025-12-13 20:20:03 -05:00
parent d248e74492
commit cc4310b368
4 changed files with 2 additions and 777 deletions

View File

@@ -4,7 +4,6 @@ import { useState, useMemo, useEffect, useCallback, useRef } from "react";
import { cn } from "@/lib/utils";
import { useAppStore, formatShortcut, type ThemeMode } from "@/store/app-store";
import { CoursePromoBadge } from "@/components/ui/course-promo-badge";
import { IS_MARKETING } from "@/config/app-config";
import {
FolderOpen,
Plus,
@@ -817,15 +816,7 @@ export function Sidebar() {
sidebarOpen ? "hidden lg:block" : "hidden"
)}
>
{IS_MARKETING ? (
<>
https://<span className="text-brand-500">automaker</span>.app
</>
) : (
<>
Auto<span className="text-brand-500">maker</span>
</>
)}
Auto<span className="text-brand-500">maker</span>
</span>
</div>
{/* Bug Report Button */}