Fix UI issues, timer logic, theme switcher, view solutions, and markdown rendering
This commit is contained in:
@@ -132,7 +132,7 @@ export default function CBTPage() {
|
||||
</Badge>
|
||||
{exam.exam_pattern && (
|
||||
<Badge variant="outline" className="bg-primary/20 text-primary border-primary/30 uppercase tracking-wider text-[10px]">
|
||||
{exam.exam_pattern}
|
||||
{exam.exam_pattern === 'JEE_Main' ? 'JEE Main' : exam.exam_pattern === 'JEE_Advanced' ? 'JEE Advanced' : exam.exam_pattern}
|
||||
</Badge>
|
||||
)}
|
||||
</div>
|
||||
@@ -218,7 +218,7 @@ export default function CBTPage() {
|
||||
<div className="font-bold text-base md:text-lg text-[#00F0FF]">{Math.round(attempt.accuracy)}%</div>
|
||||
</div>
|
||||
<Link href={`/dashboard/cbt/history/${attempt.id}`}>
|
||||
<Button variant="outline" className="rounded-xl border-border hover:bg-secondary hover:text-foreground">
|
||||
<Button variant="outline" className="rounded-xl border-border hover:bg-primary hover:text-primary-foreground">
|
||||
View Solutions
|
||||
</Button>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user