From efbdb5a55a2b464c60236db56dfa1dcbce09495e Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Fri, 9 Oct 2026 08:06:25 +0000 Subject: [PATCH] Give both creation CTAs their feature icon (the other way around) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correcting the previous change: instead of stripping the snowflake from "Freeze my deck", "Make my homework" now carries the homework flow's own sparkles icon, and the snowflake is back on the deck button. Both CTAs are now identical in shape — feature icon + label, full-width, 44px, 14px radius, helper line centred underneath, same muted disabled chip and ice gradient when enabled. The computed-style diff between the two buttons is empty and their accessible names are unchanged. Service worker: freezmo-v14. Verified: CTA-parity suite 32/32, desktop regression 74/74, mobile 51/51. Lint + build clean. --- components/UploadScreen.tsx | 6 +++--- components/homework/HomeworkInput.tsx | 1 + public/sw.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/UploadScreen.tsx b/components/UploadScreen.tsx index 7d20f4b..55cc8ce 100644 --- a/components/UploadScreen.tsx +++ b/components/UploadScreen.tsx @@ -720,15 +720,15 @@ export function UploadScreen() {
- {/* Same CTA shape as the homework flow: text-only, full-width, with - the helper line centred underneath. */} + {/* Same CTA shape as the homework flow: feature icon, full-width, + helper line centred underneath. */}

{documentsBusy diff --git a/components/homework/HomeworkInput.tsx b/components/homework/HomeworkInput.tsx index 44ad645..c8d872d 100644 --- a/components/homework/HomeworkInput.tsx +++ b/components/homework/HomeworkInput.tsx @@ -326,6 +326,7 @@ export function HomeworkInput({ {/* -------------------------------------------------------- CTA */}

diff --git a/public/sw.js b/public/sw.js index 6a30b6c..1e96c85 100644 --- a/public/sw.js +++ b/public/sw.js @@ -9,7 +9,7 @@ * * Bumping CACHE_VERSION is how a new deploy invalidates old assets. */ -const CACHE_VERSION = "freezmo-v13"; +const CACHE_VERSION = "freezmo-v14"; const SHELL_CACHE = `${CACHE_VERSION}-shell`; const ASSET_CACHE = `${CACHE_VERSION}-assets`;