From 5a4d42137ba246eeec93f04f70bc1eb7fdbaa1ad Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Wed, 17 Jun 2026 21:22:17 -0500 Subject: [PATCH] Show Color it optional step as complete if done, make levels accordion style collapsible --- src/app/learn/page.tsx | 40 ++++++++++++++++++++++--------- src/components/ColoringRunner.tsx | 4 ++++ 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/src/app/learn/page.tsx b/src/app/learn/page.tsx index cd8b86b..43709d8 100644 --- a/src/app/learn/page.tsx +++ b/src/app/learn/page.tsx @@ -17,7 +17,7 @@ export default async function LearnPage() { const isDone = (l: Lesson) => { if (!user) return false; if (l.badgeKey && hasBadge(user.id, l.badgeKey)) return true; - return l.phase === "extra" ? false : doneCount(l) >= stepCount(l); + return doneCount(l) >= stepCount(l); }; return ( @@ -27,12 +27,16 @@ export default async function LearnPage() {
Each picture has an Outline lesson and a Details lesson (earn the badge), plus an optional Color it! lesson. - {!user && " Log in to track progress and earn badges."} + {!user && " Log in to track your progress and earn badges."}