Created a quick demo home page for a user

This commit is contained in:
Tiago Ribeiro
2023-03-03 09:18:03 +00:00
parent d76d454e83
commit d3dd1c4ccd
9 changed files with 165 additions and 119 deletions

1
src/interfaces/index.ts Normal file
View File

@@ -0,0 +1 @@
export type Module = "reading" | "listening" | "writing" | "speaking";

View File

@@ -0,0 +1,8 @@
import {Module} from "@/interfaces";
export type UserResults = {[key in Module]: ModuleResult};
interface ModuleResult {
score: number;
total: number;
}