|
@@ -45,6 +45,10 @@ import LibraryBlogCourse from "./pages/library/blog/course";
|
|
|
import LibraryBlogAnthology from "./pages/library/blog/anthology";
|
|
import LibraryBlogAnthology from "./pages/library/blog/anthology";
|
|
|
import LibraryBlogTerm from "./pages/library/blog/term";
|
|
import LibraryBlogTerm from "./pages/library/blog/term";
|
|
|
|
|
|
|
|
|
|
+import LibraryDiscussion from "./pages/library/discussion";
|
|
|
|
|
+import LibraryDiscussionList from "./pages/library/discussion/list";
|
|
|
|
|
+import LibraryDiscussionTopic from "./pages/library/discussion/topic";
|
|
|
|
|
+
|
|
|
import Studio from "./pages/studio";
|
|
import Studio from "./pages/studio";
|
|
|
import StudioHome from "./pages/studio/home";
|
|
import StudioHome from "./pages/studio/home";
|
|
|
|
|
|
|
@@ -60,6 +64,11 @@ import StudioGroupList from "./pages/studio/group/list";
|
|
|
import StudioGroupEdit from "./pages/studio/group/edit";
|
|
import StudioGroupEdit from "./pages/studio/group/edit";
|
|
|
import StudioGroupShow from "./pages/studio/group/show";
|
|
import StudioGroupShow from "./pages/studio/group/show";
|
|
|
|
|
|
|
|
|
|
+import StudioCourse from "./pages/studio/course";
|
|
|
|
|
+import StudioCourseList from "./pages/studio/course/list";
|
|
|
|
|
+import StudioCourseEdit from "./pages/studio/course/edit";
|
|
|
|
|
+import StudioCourseShow from "./pages/studio/course/show";
|
|
|
|
|
+
|
|
|
import StudioDict from "./pages/studio/dict";
|
|
import StudioDict from "./pages/studio/dict";
|
|
|
import StudioDictList from "./pages/studio/dict/list";
|
|
import StudioDictList from "./pages/studio/dict/list";
|
|
|
|
|
|
|
@@ -152,6 +161,12 @@ const Widget = () => {
|
|
|
<Route path=":type/:id/:mode/:param" element={<LibraryArticleShow />} />
|
|
<Route path=":type/:id/:mode/:param" element={<LibraryArticleShow />} />
|
|
|
</Route>
|
|
</Route>
|
|
|
|
|
|
|
|
|
|
+ <Route path="discussion" element={<LibraryDiscussion />}>
|
|
|
|
|
+ <Route path="list" element={<LibraryDiscussionList />} />
|
|
|
|
|
+ <Route path="topic/:id" element={<LibraryDiscussionTopic />} />
|
|
|
|
|
+ <Route path="discussion/:id" element={<LibraryDiscussion />} />
|
|
|
|
|
+ </Route>
|
|
|
|
|
+
|
|
|
<Route path="blog/:studio" element={<LibraryBlog />}>
|
|
<Route path="blog/:studio" element={<LibraryBlog />}>
|
|
|
<Route path="overview" element={<LibraryBlogOverview />} />
|
|
<Route path="overview" element={<LibraryBlogOverview />} />
|
|
|
<Route path="palicanon" element={<LibraryBlogTranslation />} />
|
|
<Route path="palicanon" element={<LibraryBlogTranslation />} />
|
|
@@ -164,34 +179,44 @@ const Widget = () => {
|
|
|
<Route path="home" element={<StudioHome />} />
|
|
<Route path="home" element={<StudioHome />} />
|
|
|
<Route path="palicanon" element={<StudioPalicanon />}></Route>
|
|
<Route path="palicanon" element={<StudioPalicanon />}></Route>
|
|
|
<Route path="recent" element={<StudioRecent />}></Route>
|
|
<Route path="recent" element={<StudioRecent />}></Route>
|
|
|
|
|
+
|
|
|
<Route path="channel" element={<StudioChannel />}>
|
|
<Route path="channel" element={<StudioChannel />}>
|
|
|
<Route path="list" element={<StudioChannelList />} />
|
|
<Route path="list" element={<StudioChannelList />} />
|
|
|
<Route path=":channelid/edit" element={<StudioChannelEdit />} />
|
|
<Route path=":channelid/edit" element={<StudioChannelEdit />} />
|
|
|
</Route>
|
|
</Route>
|
|
|
|
|
+
|
|
|
<Route path="group" element={<StudioGroup />}>
|
|
<Route path="group" element={<StudioGroup />}>
|
|
|
<Route path="list" element={<StudioGroupList />} />
|
|
<Route path="list" element={<StudioGroupList />} />
|
|
|
<Route path=":groupid" element={<StudioGroupShow />} />
|
|
<Route path=":groupid" element={<StudioGroupShow />} />
|
|
|
<Route path=":groupid/edit" element={<StudioGroupEdit />} />
|
|
<Route path=":groupid/edit" element={<StudioGroupEdit />} />
|
|
|
<Route path=":groupid/show" element={<StudioGroupShow />} />
|
|
<Route path=":groupid/show" element={<StudioGroupShow />} />
|
|
|
</Route>
|
|
</Route>
|
|
|
|
|
+
|
|
|
|
|
+ <Route path="course" element={<StudioCourse />}>
|
|
|
|
|
+ <Route path="list" element={<StudioCourseList />} />
|
|
|
|
|
+ <Route path=":courseId" element={<StudioCourseShow />} />
|
|
|
|
|
+ <Route path=":courseId/edit" element={<StudioCourseEdit />} />
|
|
|
|
|
+ <Route path=":courseId/show" element={<StudioCourseShow />} />
|
|
|
|
|
+ </Route>
|
|
|
|
|
+
|
|
|
<Route path="dict" element={<StudioDict />}>
|
|
<Route path="dict" element={<StudioDict />}>
|
|
|
<Route path="list" element={<StudioDictList />} />
|
|
<Route path="list" element={<StudioDictList />} />
|
|
|
</Route>
|
|
</Route>
|
|
|
|
|
+
|
|
|
<Route path="term" element={<StudioTerm />}>
|
|
<Route path="term" element={<StudioTerm />}>
|
|
|
<Route path="list" element={<StudioTermList />} />
|
|
<Route path="list" element={<StudioTermList />} />
|
|
|
</Route>
|
|
</Route>
|
|
|
- <Route path="course" element={<StudioCourse />}>
|
|
|
|
|
- <Route path="list" element={<StudioCourseList />} />
|
|
|
|
|
- <Route path=":courseid/edit" element={<StudioCourseEdit />} />
|
|
|
|
|
- </Route>
|
|
|
|
|
|
|
+
|
|
|
<Route path="article" element={<StudioArticle />}>
|
|
<Route path="article" element={<StudioArticle />}>
|
|
|
<Route path="list" element={<StudioArticleList />} />
|
|
<Route path="list" element={<StudioArticleList />} />
|
|
|
<Route path=":articleid/edit" element={<StudioArticleEdit />} />
|
|
<Route path=":articleid/edit" element={<StudioArticleEdit />} />
|
|
|
</Route>
|
|
</Route>
|
|
|
|
|
+
|
|
|
<Route path="anthology" element={<StudioAnthology />}>
|
|
<Route path="anthology" element={<StudioAnthology />}>
|
|
|
<Route path="list" element={<StudioAnthologyList />}></Route>
|
|
<Route path="list" element={<StudioAnthologyList />}></Route>
|
|
|
<Route path=":anthology_id/edit" element={<StudioAnthologyEdit />} />
|
|
<Route path=":anthology_id/edit" element={<StudioAnthologyEdit />} />
|
|
|
</Route>
|
|
</Route>
|
|
|
|
|
+
|
|
|
<Route path="analysis" element={<StudioAnalysis />}>
|
|
<Route path="analysis" element={<StudioAnalysis />}>
|
|
|
<Route path="list" element={<StudioAnalysisList />} />
|
|
<Route path="list" element={<StudioAnalysisList />} />
|
|
|
</Route>
|
|
</Route>
|