fix
This commit is contained in:
@@ -178,7 +178,7 @@ const Dashboard = () => {
|
|||||||
<div className="flex justify-between items-start mb-4">
|
<div className="flex justify-between items-start mb-4">
|
||||||
<div>
|
<div>
|
||||||
<h3 className="text-xl">Testing</h3>
|
<h3 className="text-xl">Testing</h3>
|
||||||
<p className="text-fg-muted text-sm mt-1">Weekly test — 10 questions</p>
|
<p className="text-fg-muted text-sm mt-1">Weekly test — 5 questions</p>
|
||||||
</div>
|
</div>
|
||||||
{testResult ? <Tag variant="success">Score: {testResult.percentage}%</Tag> : <Tag variant="default">To Do</Tag>}
|
{testResult ? <Tag variant="success">Score: {testResult.percentage}%</Tag> : <Tag variant="default">To Do</Tag>}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ const Testen = () => {
|
|||||||
<h1 className="text-3xl md:text-4xl font-bold text-teal mb-4">Weekly Test</h1>
|
<h1 className="text-3xl md:text-4xl font-bold text-teal mb-4">Weekly Test</h1>
|
||||||
<p className="text-fg-muted text-lg mb-2">Week {weekNumber}</p>
|
<p className="text-fg-muted text-lg mb-2">Week {weekNumber}</p>
|
||||||
<p className="text-fg-muted mb-8 max-w-md mx-auto">
|
<p className="text-fg-muted mb-8 max-w-md mx-auto">
|
||||||
Test your knowledge with 10 AI-generated questions. You have 5 minutes to complete the test. Good luck!
|
Test your knowledge with 5 AI-generated questions. You have 5 minutes to complete the test. Good luck!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{error && (
|
{error && (
|
||||||
@@ -193,7 +193,7 @@ const Testen = () => {
|
|||||||
|
|
||||||
<div className="space-y-3">
|
<div className="space-y-3">
|
||||||
<div className="flex items-center justify-center gap-6 text-sm text-fg-muted">
|
<div className="flex items-center justify-center gap-6 text-sm text-fg-muted">
|
||||||
<span className="flex items-center gap-1.5"><CheckSquare size={14} /> 10 questions</span>
|
<span className="flex items-center gap-1.5"><CheckSquare size={14} /> 5 questions</span>
|
||||||
<span className="flex items-center gap-1.5"><Clock size={14} /> 5 minutes</span>
|
<span className="flex items-center gap-1.5"><Clock size={14} /> 5 minutes</span>
|
||||||
<span className="flex items-center gap-1.5"><Trophy size={14} /> 20 pts max</span>
|
<span className="flex items-center gap-1.5"><Trophy size={14} /> 20 pts max</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -212,7 +212,7 @@ const Testen = () => {
|
|||||||
<div className="p-4 md:p-8 max-w-2xl mx-auto text-center py-20">
|
<div className="p-4 md:p-8 max-w-2xl mx-auto text-center py-20">
|
||||||
<Loader size={48} className="mx-auto text-teal animate-spin mb-4" />
|
<Loader size={48} className="mx-auto text-teal animate-spin mb-4" />
|
||||||
<p className="font-medium text-lg">AI is generating your test...</p>
|
<p className="font-medium text-lg">AI is generating your test...</p>
|
||||||
<p className="text-sm text-fg-muted mt-2">Preparing 10 questions based on your learning topics.</p>
|
<p className="text-sm text-fg-muted mt-2">Preparing 5 questions based on your learning topics.</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user