Polish: link buttons, theme-aware dark variant, assistant drawer overlay, sticky draft bar

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-11-11 18:32:46 -07:00
parent aed14cd04f
commit c549c34f60
13 changed files with 60 additions and 66 deletions

View file

@ -409,11 +409,9 @@ export default function QuizPage() {
</div>
<div className="flex flex-wrap items-center gap-2">
{data.activeAttempt ? (
<Link to={`/session/${data.activeAttempt.id}`}>
<Button variant="marker" size="lg" icon={<Play className="fill-current" />}>
<Button to={`/session/${data.activeAttempt.id}`} variant="marker" size="lg" icon={<Play className="fill-current" />}>
Resume ({data.activeAttempt.answeredCount}/{data.activeAttempt.questionCount})
</Button>
</Link>
) : null}
<Button variant={data.activeAttempt ? 'secondary' : 'primary'} size="lg" icon={<Play className="fill-current" />} disabled={questions.length === 0} onClick={() => setStartOpen(true)}>
{data.activeAttempt ? 'Start new' : 'Start'}