├── .eslintrc.json ├── .gitignore ├── README.md ├── _.github └── workflows │ └── deploy.yml ├── data ├── .gitkeep ├── chapter_1.json ├── chapter_2.json ├── chapter_3.json └── chapters.json ├── next.config.js ├── package.json ├── public └── robots.txt ├── src ├── components │ ├── Layout │ │ ├── Footer │ │ │ ├── Footer.module.scss │ │ │ └── Footer.tsx │ │ ├── Layout.module.scss │ │ ├── Layout.tsx │ │ └── Navbar │ │ │ ├── Navbar.module.scss │ │ │ └── Navbar.tsx │ ├── LinksList │ │ ├── LinksList.module.scss │ │ └── LinksList.tsx │ ├── QuestionsContainer │ │ ├── Question │ │ │ ├── Question.module.scss │ │ │ └── Question.tsx │ │ ├── QuestionInput │ │ │ ├── QuestionInput.module.scss │ │ │ └── QuestionInput.tsx │ │ ├── QuestionsContainer.module.scss │ │ └── QuestionsContainer.tsx │ ├── SwitchesContainer │ │ ├── Switch │ │ │ ├── Switch.module.scss │ │ │ └── Switch.tsx │ │ ├── SwitchesContainer.tsx │ │ └── SwithesContainer.module.scss │ └── TopNav │ │ ├── ChapterNav │ │ ├── ChapterNav.module.scss │ │ └── ChapterNav.tsx │ │ ├── ExerciseNav │ │ ├── ExerciseNav.module.scss │ │ └── ExerciseNav.tsx │ │ └── NavigateBtn │ │ ├── NavigateBtn.module.scss │ │ └── NavigateBtn.tsx ├── lib │ ├── apiUtils.ts │ ├── store.ts │ ├── textUtils.ts │ ├── types.ts │ └── utils.ts ├── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── chapter │ │ ├── [chapterId].tsx │ │ └── [chapterId] │ │ │ └── [exerciseId].tsx │ ├── chapters.tsx │ └── index.tsx └── styles │ ├── Home.module.scss │ └── globals.scss └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/README.md -------------------------------------------------------------------------------- /_.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/_.github/workflows/deploy.yml -------------------------------------------------------------------------------- /data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/chapter_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/data/chapter_1.json -------------------------------------------------------------------------------- /data/chapter_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/data/chapter_2.json -------------------------------------------------------------------------------- /data/chapter_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/data/chapter_3.json -------------------------------------------------------------------------------- /data/chapters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/data/chapters.json -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/package.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/public/robots.txt -------------------------------------------------------------------------------- /src/components/Layout/Footer/Footer.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/Layout/Footer/Footer.module.scss -------------------------------------------------------------------------------- /src/components/Layout/Footer/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/Layout/Footer/Footer.tsx -------------------------------------------------------------------------------- /src/components/Layout/Layout.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/Layout/Layout.module.scss -------------------------------------------------------------------------------- /src/components/Layout/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/Layout/Layout.tsx -------------------------------------------------------------------------------- /src/components/Layout/Navbar/Navbar.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/Layout/Navbar/Navbar.module.scss -------------------------------------------------------------------------------- /src/components/Layout/Navbar/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/Layout/Navbar/Navbar.tsx -------------------------------------------------------------------------------- /src/components/LinksList/LinksList.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/LinksList/LinksList.module.scss -------------------------------------------------------------------------------- /src/components/LinksList/LinksList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/LinksList/LinksList.tsx -------------------------------------------------------------------------------- /src/components/QuestionsContainer/Question/Question.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/QuestionsContainer/Question/Question.module.scss -------------------------------------------------------------------------------- /src/components/QuestionsContainer/Question/Question.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/QuestionsContainer/Question/Question.tsx -------------------------------------------------------------------------------- /src/components/QuestionsContainer/QuestionInput/QuestionInput.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/QuestionsContainer/QuestionInput/QuestionInput.module.scss -------------------------------------------------------------------------------- /src/components/QuestionsContainer/QuestionInput/QuestionInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/QuestionsContainer/QuestionInput/QuestionInput.tsx -------------------------------------------------------------------------------- /src/components/QuestionsContainer/QuestionsContainer.module.scss: -------------------------------------------------------------------------------- 1 | .container { 2 | list-style: upper-roman; 3 | width: 100%; 4 | } 5 | -------------------------------------------------------------------------------- /src/components/QuestionsContainer/QuestionsContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/QuestionsContainer/QuestionsContainer.tsx -------------------------------------------------------------------------------- /src/components/SwitchesContainer/Switch/Switch.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/SwitchesContainer/Switch/Switch.module.scss -------------------------------------------------------------------------------- /src/components/SwitchesContainer/Switch/Switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/SwitchesContainer/Switch/Switch.tsx -------------------------------------------------------------------------------- /src/components/SwitchesContainer/SwitchesContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/SwitchesContainer/SwitchesContainer.tsx -------------------------------------------------------------------------------- /src/components/SwitchesContainer/SwithesContainer.module.scss: -------------------------------------------------------------------------------- 1 | .container { 2 | width: 100%; 3 | } 4 | -------------------------------------------------------------------------------- /src/components/TopNav/ChapterNav/ChapterNav.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/TopNav/ChapterNav/ChapterNav.module.scss -------------------------------------------------------------------------------- /src/components/TopNav/ChapterNav/ChapterNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/TopNav/ChapterNav/ChapterNav.tsx -------------------------------------------------------------------------------- /src/components/TopNav/ExerciseNav/ExerciseNav.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/TopNav/ExerciseNav/ExerciseNav.module.scss -------------------------------------------------------------------------------- /src/components/TopNav/ExerciseNav/ExerciseNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/TopNav/ExerciseNav/ExerciseNav.tsx -------------------------------------------------------------------------------- /src/components/TopNav/NavigateBtn/NavigateBtn.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/TopNav/NavigateBtn/NavigateBtn.module.scss -------------------------------------------------------------------------------- /src/components/TopNav/NavigateBtn/NavigateBtn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/components/TopNav/NavigateBtn/NavigateBtn.tsx -------------------------------------------------------------------------------- /src/lib/apiUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/lib/apiUtils.ts -------------------------------------------------------------------------------- /src/lib/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/lib/store.ts -------------------------------------------------------------------------------- /src/lib/textUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/lib/textUtils.ts -------------------------------------------------------------------------------- /src/lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/lib/types.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/chapter/[chapterId].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/pages/chapter/[chapterId].tsx -------------------------------------------------------------------------------- /src/pages/chapter/[chapterId]/[exerciseId].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/pages/chapter/[chapterId]/[exerciseId].tsx -------------------------------------------------------------------------------- /src/pages/chapters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/pages/chapters.tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/styles/Home.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/styles/Home.module.scss -------------------------------------------------------------------------------- /src/styles/globals.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/src/styles/globals.scss -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nktfh100/exercises-engine/HEAD/tsconfig.json --------------------------------------------------------------------------------