First commit
This commit is contained in:
45
lib/data/mockPractice.ts
Normal file
45
lib/data/mockPractice.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
import type { PracticeModule } from "@/types/practice";
|
||||
|
||||
export const mockPracticeModules: PracticeModule[] = [
|
||||
{
|
||||
slug: "translation",
|
||||
title: "Legal Translation Challenge",
|
||||
description: "Translate legal terms accurately in context with timed multiple-choice questions.",
|
||||
isInteractive: true,
|
||||
questions: [
|
||||
{
|
||||
id: "q1",
|
||||
prompt: "Spanish term: incumplimiento contractual",
|
||||
choices: ["Contractual compliance", "Breach of contract", "Contract interpretation", "Mutual assent"],
|
||||
answerIndex: 1,
|
||||
},
|
||||
{
|
||||
id: "q2",
|
||||
prompt: "Spanish term: medida cautelar",
|
||||
choices: ["Class action", "Summary judgment", "Injunctive relief", "Arbitration clause"],
|
||||
answerIndex: 2,
|
||||
},
|
||||
{
|
||||
id: "q3",
|
||||
prompt: "Spanish term: fuerza mayor",
|
||||
choices: ["Strict liability", "Force majeure", "Punitive damages", "Specific performance"],
|
||||
answerIndex: 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
slug: "term-matching",
|
||||
title: "Term Matching Game",
|
||||
description: "Pair legal terms with practical definitions.",
|
||||
isInteractive: false,
|
||||
},
|
||||
{
|
||||
slug: "contract-clauses",
|
||||
title: "Contract Clause Practice",
|
||||
description: "Identify weak and risky clause drafting choices.",
|
||||
isInteractive: false,
|
||||
},
|
||||
];
|
||||
|
||||
export const getPracticeBySlug = (slug: string) =>
|
||||
mockPracticeModules.find((module) => module.slug === slug);
|
||||
Reference in New Issue
Block a user