Updated the nomenclature of the ModuleTitle

This commit is contained in:
Tiago Ribeiro
2023-09-21 23:25:17 +01:00
parent 1e4316a57e
commit 1bac6eb110

View File

@@ -89,7 +89,7 @@ export default function ModuleTitle({minTimer, module, label, exerciseIndex, tot
{moduleLabels[module]} exam {label && `- ${label}`} {moduleLabels[module]} exam {label && `- ${label}`}
</span> </span>
<span className="text-xs font-normal self-end text-mti-gray-davy"> <span className="text-xs font-normal self-end text-mti-gray-davy">
Question {exerciseIndex}/{totalExercises} Exercise {exerciseIndex}/{totalExercises}
</span> </span>
</div> </div>
<ProgressBar color={module} label="" percentage={(exerciseIndex * 100) / totalExercises} className="h-2 w-full" /> <ProgressBar color={module} label="" percentage={(exerciseIndex * 100) / totalExercises} className="h-2 w-full" />