feat(learning): replace courses with project catalog

This commit is contained in:
2026-08-20 00:08:04 +08:00
parent 2cb8a7aef4
commit 38db1589e2
56 changed files with 1741 additions and 8725 deletions

View File

@@ -43,7 +43,7 @@ const Setup = lazy(() => import('./pages/Setup').then(({ Setup: component }) =>
const Login = lazy(() => import('./pages/Login').then(({ Login: component }) => ({ default: component })));
const ModuleSelection = lazy(() => import('./pages/ModuleSelection').then(({ ModuleSelection: component }) => ({ default: component })));
const Learning = lazy(() => import('./pages/Learning').then(({ Learning: component }) => ({ default: component })));
const LearningCoursePlayer = lazy(() => import('./pages/Learning/CoursePlayer').then(({ LearningCoursePlayer: component }) => ({ default: component })));
const LearningProjectDetail = lazy(() => import('./pages/Learning/ProjectDetail').then(({ LearningProjectDetail: component }) => ({ default: component })));
/**
* Error Boundary to catch and display React rendering errors
@@ -471,7 +471,7 @@ function App() {
<Route path="/image-prompts" element={<ImagePromptMuseum />} />
<Route path="/ai-hardware" element={<AiHardware />} />
<Route path="/learning" element={<Learning />} />
<Route path="/learning/course/:courseId" element={<LearningCoursePlayer />} />
<Route path="/learning/project/:projectId" element={<LearningProjectDetail />} />
<Route path="/workbench/:projectId" element={<Workbench />} />
<Route path="/opencode-chat" element={<ProjectChatRoute />} />
<Route path="/projects" element={<Projects />} />