feat: integrate learning module
This commit is contained in:
@@ -40,7 +40,7 @@ export const aiModules: readonly AiModuleDefinition[] = [
|
||||
title: 'Makelore Learning',
|
||||
subtitle: 'AI 学习',
|
||||
description: '用顶尖的方法解锁万物规律',
|
||||
route: null,
|
||||
route: '/learning',
|
||||
enabled: true,
|
||||
Icon: Sigma,
|
||||
},
|
||||
@@ -66,5 +66,8 @@ export function getAiModuleForPath(pathname: string): AiModuleId {
|
||||
if (pathname === '/ai-hardware' || pathname.startsWith('/ai-hardware/')) {
|
||||
return 'robot';
|
||||
}
|
||||
if (pathname === '/learning' || pathname.startsWith('/learning/')) {
|
||||
return 'learning';
|
||||
}
|
||||
return 'programming';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user