From 6739d59f2b6189a98570e23e04c20d86d774ccce Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Mon, 20 Oct 2025 11:29:38 -0500 Subject: [PATCH] feat(levels): redesign kyu details with larger operators and prominent digits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Increase operator icon size from xl to 4xl for better visibility - Center-align card layout with operator icon at top - Extract and prominently display digit count in 2xl bold text - Change hover effect from slide to scale for centered design - Increase base font size from sm to md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/web/src/app/levels/page.tsx | 85 +++++++++++++++++--------------- 1 file changed, 44 insertions(+), 41 deletions(-) diff --git a/apps/web/src/app/levels/page.tsx b/apps/web/src/app/levels/page.tsx index b471ad7a..372d9a23 100644 --- a/apps/web/src/app/levels/page.tsx +++ b/apps/web/src/app/levels/page.tsx @@ -655,7 +655,7 @@ export default function LevelsPage() { const sections = rawText ? parseKyuDetails(rawText) : [] // Use consistent sizing across all levels - const sizing = { fontSize: 'sm', gap: '3', iconSize: 'xl' } + const sizing = { fontSize: 'md', gap: '3', iconSize: '4xl' } return sections.length > 0 ? (
- {sections.map((section, idx) => ( -
+ {sections.map((section, idx) => { + // Extract the digit count (e.g., "4" from "4-digit total") + const digitMatch = section.value.match(/(\d+)-digit/) + const digitCount = digitMatch ? digitMatch[1] : null + + return (
- + {section.icon} - + {digitCount} digits +
+ )} +
{section.label} - +
-
- {section.value} -
-
- ))} + ) + })} ) : null })()}