+
+
+
+ Lv.{level.level} {level.name}
+
+ {level.points}각
+
+
+
+
+
+
+ {level.next_points != null ? `${level.next_points - level.points}각 더 모으면 Lv.${level.level + 1} ${level.next_name}` : '가장 높은 레벨이에요'}
+ {unlock.length > 0 && · {unlock.join(', ')}}
+
+ {link && (
+
+ )}
+
+
+ )
+}
+
+/** 내 레벨 창: 오늘 받을 수 있는 각, 레벨마다 열리는 것 */
+export function LevelSheet() {
+ const level = useLevel().data
+ if (!level) return null
+ const steps = (level.unlocks ?? []).reduce