diff --git a/frontend/src/features/liberation/components/ProgressBar.jsx b/frontend/src/features/liberation/components/ProgressBar.jsx index 3a8d6a0..7954d73 100644 --- a/frontend/src/features/liberation/components/ProgressBar.jsx +++ b/frontend/src/features/liberation/components/ProgressBar.jsx @@ -22,14 +22,12 @@ export default function ProgressBar({ totalAccumulated, completionDate }) { const renderSegment = ({ chapter, status, current }) => { const pct = (current / chapter.required) * 100 + const bg = status === 'done' ? '#10b981' : status === 'active' ? '#fbbf24' : 'transparent' return (
) @@ -62,24 +60,23 @@ export default function ProgressBar({ totalAccumulated, completionDate }) { {/* 섹션 제목 */}
퀘스트 진행 상황
- {/* 1차 / 2차 라벨 */} -
-
- 1차 해방 -
+ {/* 1차 / 2차 라벨 + 세그먼트 바 */} +
+
+
+ 1차 해방 +
+
+
+ 2차 해방 +
+
-
-
- 2차 해방 -
+
+ {chapterStates.map(renderSegment)}
- {/* 세그먼트 바 (붙어있음) */} -
- {chapterStates.map(renderSegment)} -
- {/* 초상화 (붙어있음) */}
{chapterStates.map(renderPortrait)}