diff --git a/backend/seed.py b/backend/seed.py index 4c9c809..8ba30e2 100644 --- a/backend/seed.py +++ b/backend/seed.py @@ -39,7 +39,7 @@ def seed_local_database(): city="Patna", state="Bihar", tier=models.TierEnum.FREE, - streak_count=0, + streak_count=1, last_active=datetime.utcnow() ) session.add(free_student) diff --git a/public/streak-animation.html b/public/streak-animation.html index cae536f..a325b7c 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:190px; --grow:1.18; --halo-w:170%; + --ink:#e9eefb; --badge:220px; --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: 280px !important; + height: 360px !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 90b340f..dd8c472 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: 280px !important; + height: 360px !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 190px - html = html.replace("--badge:230px;", "--badge:190px;") + # 5. Adjust badge size from 230px to 220px + html = html.replace("--badge:230px;", "--badge:220px;") 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 304b733..8b571dc 100644 --- a/src/components/Dashboard/StreakOnboardingModal.tsx +++ b/src/components/Dashboard/StreakOnboardingModal.tsx @@ -57,14 +57,14 @@ export function StreakOnboardingModal() {
{/* Centered Modal Card Container with Border (containing both the animation and text) */} -
+
{/* Subtle background glow */}
- {/* Top Celebration Animation Panel (Iframe with height 280px, border-b) */} -
+ {/* Top Celebration Animation Panel (Iframe with height 360px, border-b) */} +