diff --git a/public/streak-animation.html b/public/streak-animation.html index a325b7c..8b63ec9 100644 --- a/public/streak-animation.html +++ b/public/streak-animation.html @@ -9,7 +9,7 @@ --navy-900:#081226; --navy-800:#0c1c39; --navy-700:#13294d; --gold-200:#fdeeb8; --gold-300:#f6dd93; --gold-400:#e8c463; --gold-500:#d4af37; --gold-600:#b1892a; --gold-700:#7d5f18; - --ink:#e9eefb; --badge:220px; --grow:1.18; --halo-w:170%; + --ink:#e9eefb; --badge:240px; --grow:1.18; --halo-w:170%; --font:"Space Grotesk", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; } *{box-sizing:border-box} @@ -165,7 +165,7 @@ display: none !important; } .stage { - height: 360px !important; + height: 100vh !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; diff --git a/scratch/port_streak_clean.py b/scratch/port_streak_clean.py index dd8c472..b4b93cb 100644 --- a/scratch/port_streak_clean.py +++ b/scratch/port_streak_clean.py @@ -20,7 +20,7 @@ def port_html(): display: none !important; } .stage { - height: 360px !important; + height: 100vh !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; @@ -59,8 +59,8 @@ def port_html(): html = html.replace("Math.max(target,5)/5", "Math.max(target,3)/3") html = html.replace("(4 - target) / 3", "(3 - target) / 3") - # 5. Adjust badge size from 230px to 220px - html = html.replace("--badge:230px;", "--badge:220px;") + # 5. Adjust badge size from 230px to 240px + html = html.replace("--badge:230px;", "--badge:240px;") with open(dest_path, 'w', encoding='utf-8') as f: f.write(html) diff --git a/src/components/Dashboard/StreakOnboardingModal.tsx b/src/components/Dashboard/StreakOnboardingModal.tsx index 8b571dc..fbe9915 100644 --- a/src/components/Dashboard/StreakOnboardingModal.tsx +++ b/src/components/Dashboard/StreakOnboardingModal.tsx @@ -56,15 +56,15 @@ export function StreakOnboardingModal() { return (
- {wishMessage} -
+ {trialDaysLeft > 0 && ( ++ {wishMessage} +
+