diff --git a/app/(game)/number-parentheses/play/NumberPlayClient.tsx b/app/(game)/number-parentheses/play/NumberPlayClient.tsx index a456109..e5e70af 100644 --- a/app/(game)/number-parentheses/play/NumberPlayClient.tsx +++ b/app/(game)/number-parentheses/play/NumberPlayClient.tsx @@ -196,15 +196,11 @@ export default function NumberPlayClient({ 문제 풀이 -

괄호를 풀어 두 항을 순서대로 입력하세요. @@ -212,6 +208,12 @@ export default function NumberPlayClient({

+
+ +
{!submitted ? ( diff --git a/app/(game)/variable-parentheses/play/VariablePlayClient.tsx b/app/(game)/variable-parentheses/play/VariablePlayClient.tsx index 0858977..76d27a6 100644 --- a/app/(game)/variable-parentheses/play/VariablePlayClient.tsx +++ b/app/(game)/variable-parentheses/play/VariablePlayClient.tsx @@ -146,19 +146,21 @@ export default function VariablePlayClient({ 문제 풀이 - -
+

괄호를 풀어 첫째 항과 둘째 항의 답을 보기에서 고르세요.

+
+ +
{!submitted ? ( diff --git a/components/game/StageIndicator.tsx b/components/game/StageIndicator.tsx index 9de4068..94a9e07 100644 --- a/components/game/StageIndicator.tsx +++ b/components/game/StageIndicator.tsx @@ -17,14 +17,14 @@ export default function StageIndicator({ .length; return ( -
+

총 {results.length}문제 중 {completedCount}문제 완료, 정답{" "} {correctCount}개, 오답 {incorrectCount}개, 현재 {currentIndex + 1}번 문제

    {results.map((result, index) => { @@ -33,34 +33,26 @@ export default function StageIndicator({ const isCompleted = result !== null; let label = `${stageNumber}번 남은 단계`; - let content = ""; let className = - "flex size-8 items-center justify-center rounded-full border text-sm font-bold leading-none transition"; + "block h-2 w-full rounded-full transition"; if (isCompleted) { label = result.correct ? `${stageNumber}번 완료, 정답` : `${stageNumber}번 완료, 오답`; - content = result.correct ? "✓" : "×"; className += result.correct - ? " border-emerald-700 bg-emerald-700 text-white" - : " border-red-700 bg-red-700 text-white"; + ? " bg-emerald-700" + : " bg-red-700"; } else if (isCurrent) { label = `${stageNumber}번 현재 단계`; - content = String(stageNumber); - className += - " border-emerald-700 bg-white text-emerald-800 shadow-sm ring-2 ring-emerald-200"; + className += " bg-emerald-300 ring-2 ring-emerald-700"; } else { - className += " border-slate-300 bg-white text-slate-300"; + className += " bg-slate-200"; } return ( -
  1. - - {content || ( - - )} - +
  2. +
  3. ); })}