ui: reorder sidebar - Vibe Architect first, Prompt Enhancer second
This commit is contained in:
@@ -21,6 +21,7 @@ export default function Sidebar({ currentView, onViewChange }: SidebarProps) {
|
|||||||
const common = translations[language].common;
|
const common = translations[language].common;
|
||||||
|
|
||||||
const menuItems: Array<{ id: View; label: string; icon: any; count?: number; highlight?: boolean }> = [
|
const menuItems: Array<{ id: View; label: string; icon: any; count?: number; highlight?: boolean }> = [
|
||||||
|
{ id: "ai-assist" as View, label: t.aiAssist, icon: MessageSquare, highlight: true },
|
||||||
{ id: "enhance" as View, label: t.promptEnhancer, icon: Sparkles },
|
{ id: "enhance" as View, label: t.promptEnhancer, icon: Sparkles },
|
||||||
{ id: "prd" as View, label: t.prdGenerator, icon: FileText },
|
{ id: "prd" as View, label: t.prdGenerator, icon: FileText },
|
||||||
{ id: "action" as View, label: t.actionPlan, icon: ListTodo },
|
{ id: "action" as View, label: t.actionPlan, icon: ListTodo },
|
||||||
@@ -28,7 +29,6 @@ export default function Sidebar({ currentView, onViewChange }: SidebarProps) {
|
|||||||
{ id: "slides" as View, label: t.slidesGen, icon: Presentation },
|
{ id: "slides" as View, label: t.slidesGen, icon: Presentation },
|
||||||
{ id: "googleads" as View, label: t.googleAds, icon: Megaphone },
|
{ id: "googleads" as View, label: t.googleAds, icon: Megaphone },
|
||||||
{ id: "market-research" as View, label: t.marketResearch, icon: Search },
|
{ id: "market-research" as View, label: t.marketResearch, icon: Search },
|
||||||
{ id: "ai-assist" as View, label: t.aiAssist, icon: MessageSquare, highlight: true },
|
|
||||||
{ id: "history" as View, label: t.history, icon: History, count: history.length },
|
{ id: "history" as View, label: t.history, icon: History, count: history.length },
|
||||||
{ id: "settings" as View, label: t.settings, icon: Settings },
|
{ id: "settings" as View, label: t.settings, icon: Settings },
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user