diff --git a/frontend/src/features/admin/AdminMenuForm.jsx b/frontend/src/features/admin/AdminMenuForm.jsx index 0ad3012..4ba4e9f 100644 --- a/frontend/src/features/admin/AdminMenuForm.jsx +++ b/frontend/src/features/admin/AdminMenuForm.jsx @@ -119,7 +119,7 @@ export default function AdminMenuForm() { }) return ( -
+

{isEdit ? '메뉴 항목 편집' : '메뉴 항목 추가'}

홈 화면에 표시되는 카드의 정보를 설정합니다

diff --git a/frontend/src/features/boss-crystal/admin/BossForm.jsx b/frontend/src/features/boss-crystal/admin/BossForm.jsx index 8a94b74..e9a2e4f 100644 --- a/frontend/src/features/boss-crystal/admin/BossForm.jsx +++ b/frontend/src/features/boss-crystal/admin/BossForm.jsx @@ -174,7 +174,7 @@ export default function BossForm() { const displayImage = imagePreview || existingImageUrl return ( -
+

{isEdit ? '보스 편집' : '보스 추가'}

보스 이름과 난이도별 결정 정보를 입력합니다

diff --git a/frontend/src/features/liberation/Liberation.jsx b/frontend/src/features/liberation/Liberation.jsx index eba1c99..66dd762 100644 --- a/frontend/src/features/liberation/Liberation.jsx +++ b/frontend/src/features/liberation/Liberation.jsx @@ -370,7 +370,7 @@ export default function Liberation() {
현재 진행 상태
-
+
- setState((prev) => ({ ...prev, currentPoints: n }))} - className="w-full h-12 rounded-lg border border-white/10 bg-gray-950 px-3 text-base text-right tabular-nums outline-none focus:border-emerald-500/50 hover:border-white/20 transition" - /> +
+ setState((prev) => ({ ...prev, currentPoints: n }))} + className="flex-1 min-w-0 bg-transparent px-3 h-12 text-base text-right tabular-nums outline-none" + /> + + / {(GENESIS_CHAPTERS[state.startChapter]?.required ?? 0).toLocaleString()} + +
@@ -404,6 +409,7 @@ export default function Liberation() { onChange={(w) => setState((prev) => ({ ...prev, weekly: w }))} totalWeekly={headerWeekly} totalMonthly={headerMonthly} + remaining={remaining} mode={calcMode} startDate={state.startDate} weeks={state.schedulerWeeks} diff --git a/frontend/src/features/liberation/components/WeeklyDefault.jsx b/frontend/src/features/liberation/components/WeeklyDefault.jsx index bc368ff..71e279d 100644 --- a/frontend/src/features/liberation/components/WeeklyDefault.jsx +++ b/frontend/src/features/liberation/components/WeeklyDefault.jsx @@ -69,7 +69,7 @@ export function BossRow({ boss, sel, onChange, monthly = false, showDone = true ) } -export default function WeeklyDefault({ weekly, onChange, totalWeekly, totalMonthly, mode = 'simple', startDate, weeks, onChangeWeeks }) { +export default function WeeklyDefault({ weekly, onChange, totalWeekly, totalMonthly, remaining, mode = 'simple', startDate, weeks, onChangeWeeks }) { const updateBoss = (key, patch) => { onChange({ ...weekly, bosses: { ...weekly.bosses, [key]: { ...weekly.bosses[key], ...patch } } }) } @@ -88,7 +88,7 @@ export default function WeeklyDefault({ weekly, onChange, totalWeekly, totalMont + {totalMonthly} / - 6500 + {(remaining ?? 0).toLocaleString()} ) : ( +{totalWeekly + totalMonthly}