update,
This commit is contained in:
@@ -30,8 +30,8 @@ import WordPage from './pages/Lesson/WordPage';
|
||||
import ListeningPractice from './pages/ListeningPractice';
|
||||
import PracticeFinish from './pages/ListeningPractice/Finish';
|
||||
import PracticeResult from './pages/ListeningPractice/Result';
|
||||
import QuestionRoute from './pages/ListeningPractice/Route';
|
||||
import CorrectionRoute from './pages/ListeningPractice/Route/CorrectionRoute';
|
||||
import QuestionRoute from './pages/ListeningPractice/QuestionRoute';
|
||||
import CorrectionRoute from './pages/ListeningPractice/QuestionRoute/CorrectionRoute';
|
||||
import MatchingFrenzyMatchFinished from './pages/MatchingFrenzy/Finished';
|
||||
import MatchingFrenzyMatchRun from './pages/MatchingFrenzy/MatchRun';
|
||||
import MatchingFrenzyMatchResult from './pages/MatchingFrenzy/Result';
|
||||
@@ -45,6 +45,7 @@ import Setting from './pages/Setting/indx';
|
||||
import Tab1 from './pages/Tab1';
|
||||
import Tab2 from './pages/Tab2';
|
||||
import Tab3 from './pages/Tab3';
|
||||
// import WordPageWithLayout from './pages/Lesson/WordPageWithLayout.del';
|
||||
|
||||
function RouteConfig() {
|
||||
return (
|
||||
@@ -81,16 +82,20 @@ function RouteConfig() {
|
||||
<Route exact path={`${LISTENING_PRACTICE_LINK}/result`}>
|
||||
<PracticeResult />
|
||||
</Route>
|
||||
|
||||
{/* http://localhost:5173/listening_practice */}
|
||||
<Route exact path={LISTENING_PRACTICE_LINK}>
|
||||
<ListeningPractice />
|
||||
</Route>
|
||||
{/* */}
|
||||
|
||||
<Route exact path={`${CONNECTIVE_REVISION_LINK}/r/:p_route`}>
|
||||
<ConnectiveRevisionQuizRun />
|
||||
</Route>
|
||||
|
||||
<Route exact path={`${CONNECTIVE_REVISION_LINK}/finished`}>
|
||||
<ConnectiveRevisionQuizResult />
|
||||
</Route>
|
||||
|
||||
<Route exact path={CONNECTIVE_REVISION_LINK}>
|
||||
<ConnectiveRevisionSelectCategory />
|
||||
</Route>
|
||||
@@ -104,6 +109,7 @@ function RouteConfig() {
|
||||
<Route exact path={`${MATCHING_FRENZY_LINK}/result`}>
|
||||
<MatchingFrenzyMatchResult />
|
||||
</Route>
|
||||
{/* http://localhost:5173/matching_frenzy/r/0 */}
|
||||
<Route exact path={MATCHING_FRENZY_LINK}>
|
||||
<MatchingFrenzySelectCategory />
|
||||
</Route>
|
||||
@@ -126,16 +132,23 @@ function RouteConfig() {
|
||||
</Route>
|
||||
|
||||
{/* TODO: change lesson_idx to lesson_type_idx, need to modify LessonWordPage as well */}
|
||||
{/* http://localhost:5173/lesson_word_page/v/000000000000001/000000000000003/0 */}
|
||||
{/*
|
||||
http://localhost:5173/lesson_word_page/v/000000000000001/000000000000003/0
|
||||
layout: v
|
||||
*/}
|
||||
<Route exact path={`${LESSON_WORD_PAGE_LINK}/v/:lesson_idx/:cat_idx/:word_idx`}>
|
||||
<WordPage />
|
||||
</Route>
|
||||
|
||||
{/*
|
||||
<Route exact path={`${LESSON_WORD_PAGE_LINK}/v/:lesson_idx/:cat_idx/:word_idx`}>
|
||||
<LessonWordPage />
|
||||
</Route>
|
||||
*/}
|
||||
|
||||
{/*
|
||||
http://localhost:5173/lesson_word_page/c/000000000000001/000000000000003/0
|
||||
layout: c
|
||||
*/}
|
||||
<Route exact path={`${LESSON_WORD_PAGE_LINK}/c/:lesson_idx/:cat_idx/:word_idx`}>
|
||||
<ConnectivesPage />
|
||||
</Route>
|
||||
|
Reference in New Issue
Block a user