Added the Speaking generation to the project, still WIP

This commit is contained in:
Tiago Ribeiro
2023-11-30 15:50:24 +00:00
parent 1746db3752
commit 96fe83de14
2 changed files with 236 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ import ReadingGeneration from "./(generation)/ReadingGeneration";
import ListeningGeneration from "./(generation)/ListeningGeneration";
import WritingGeneration from "./(generation)/WritingGeneration";
import LevelGeneration from "./(generation)/LevelGeneration";
import SpeakingGeneration from "./(generation)/SpeakingGeneration";
export const getServerSideProps = withIronSessionSsr(({req, res}) => {
const user = req.session.user;
@@ -115,6 +116,7 @@ export default function Generation() {
{module === "reading" && <ReadingGeneration />}
{module === "listening" && <ListeningGeneration />}
{module === "writing" && <WritingGeneration />}
{module === "speaking" && <SpeakingGeneration />}
{module === "level" && <LevelGeneration />}
</Layout>
)}