Add much more practice content to every section
Hoeren 28 exercises, Lesen 22 texts, Schreiben 24 tasks, Sprechen 20 topics + 8 planning tasks + 10 presentations, Grammatik 20 lessons with ~260 exercises and a random drill, 332 words with gap-fill, plural and hat/ist drills.
This commit is contained in:
1 parent
1f1d28a34d
commit
c754477f07
16 files changed
+2054
-17
No files matched your search
+12
-1
@@ -1,4 +1,5 @@
|
||||
import type { Pair } from "./types";
|
||||
import { extraExercises, moreLessons } from "./grammatik-extra";
|
||||
|
||||
export type GrammarEx =
|
||||
| { kind: "mc"; q: string; options: string[]; answer: number; ar?: string; why?: string }
|
||||
@@ -15,7 +16,7 @@ export interface Lesson {
|
||||
exercises: GrammarEx[];
|
||||
}
|
||||
|
||||
export const lessons: Lesson[] = [
|
||||
const baseLessons: Lesson[] = [
|
||||
{
|
||||
id: "nebensatz",
|
||||
title: "Nebensätze: weil, dass, wenn, ob",
|
||||
@@ -480,3 +481,13 @@ export const lessons: Lesson[] = [
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const lessons: Lesson[] = [
|
||||
...baseLessons.map((l) => ({ ...l, exercises: [...l.exercises, ...(extraExercises[l.id] ?? [])] })),
|
||||
...moreLessons,
|
||||
];
|
||||
|
||||
/** Alle Übungen aus allen Lektionen – für den Zufalls-Drill. */
|
||||
export const allGrammarExercises: { lessonId: string; lessonTitle: string; ex: GrammarEx }[] = lessons.flatMap((l) =>
|
||||
l.exercises.map((ex) => ({ lessonId: l.id, lessonTitle: l.title, ex })),
|
||||
);
|
||||
Reference in new issue
Block a user