mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 08:13:37 +00:00
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:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user