feat: update Makelore modules and conversations
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { LucideIcon } from 'lucide-react';
|
||||
import { Code2, Paintbrush } from 'lucide-react';
|
||||
import { Code2, Paintbrush, Sigma } from 'lucide-react';
|
||||
|
||||
export const AI_MODULE_SELECTION_PATH = '/module-select';
|
||||
|
||||
export type AiModuleId = 'programming' | 'painting';
|
||||
export type AiModuleId = 'programming' | 'painting' | 'learning';
|
||||
|
||||
export type AiModuleDefinition = {
|
||||
id: AiModuleId;
|
||||
@@ -20,7 +20,7 @@ export const aiModules: readonly AiModuleDefinition[] = [
|
||||
id: 'programming',
|
||||
title: 'Makelore Code',
|
||||
subtitle: 'AI 编程',
|
||||
description: '把想法变成可运行的产品、游戏和工具。',
|
||||
description: '把创意编程变成可运行的产品、游戏或工具',
|
||||
route: '/opencode-chat',
|
||||
enabled: true,
|
||||
Icon: Code2,
|
||||
@@ -29,11 +29,20 @@ export const aiModules: readonly AiModuleDefinition[] = [
|
||||
id: 'painting',
|
||||
title: 'Makelore Canvas',
|
||||
subtitle: 'AI 绘画',
|
||||
description: '用 AI 生成、编辑并组织你的视觉创作。',
|
||||
description: '用灵感描绘色彩缤纷的世界',
|
||||
route: '/image-canvas',
|
||||
enabled: true,
|
||||
Icon: Paintbrush,
|
||||
},
|
||||
{
|
||||
id: 'learning',
|
||||
title: 'Makelore Learning',
|
||||
subtitle: 'AI 学习',
|
||||
description: '用顶尖的方法解锁万物规律',
|
||||
route: null,
|
||||
enabled: false,
|
||||
Icon: Sigma,
|
||||
},
|
||||
];
|
||||
|
||||
export function getAiModuleForPath(pathname: string): AiModuleId {
|
||||
|
||||
Reference in New Issue
Block a user