From 0c6ccecc90b9ca55ab2f0a8af52466153314f379 Mon Sep 17 00:00:00 2001 From: caadiq Date: Tue, 14 Apr 2026 00:26:44 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=B4=EB=B0=A9=20=EC=A7=84=ED=96=89?= =?UTF-8?q?=EB=8F=84=20UI=20=EC=84=B8=EB=B6=80=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 라벨/밑줄과 세그먼트 바 간격 조정 - 1차/2차 밑줄 사이 간격을 세그먼트 바와 동일하게 맞춤 - 세그먼트 진행도 색상을 인라인 스타일로 변경 (Tailwind 컴파일 이슈 회피) - 예상 해방 날짜 표시 위치/스타일 다듬기 Co-Authored-By: Claude Opus 4.6 (1M context) --- .../liberation/components/ProgressBar.jsx | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) 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)}