Update AI coach calibration, fix streak animation speed, add dashboard features and target filtering

This commit is contained in:
2026-09-21 12:03:37 +05:30
parent ddde053b51
commit 63ab119f7c
11 changed files with 90 additions and 39 deletions

View File

@@ -398,6 +398,14 @@ export default function DashboardLayout({ children }: { children: ReactNode }) {
</div>
</header>
{/* Free Trial Banner */}
{trialInfo.isTrialActive && (
<div className="bg-primary text-primary-foreground px-4 py-2.5 text-center text-sm font-bold flex justify-center items-center gap-2 shadow-sm shrink-0 z-30">
<span className="size-2 rounded-full bg-primary-foreground animate-pulse"></span>
15 Days Free Trial — Day {trialInfo.trialDayNumber}
</div>
)}
{/* Scrollable page body */}
<main className="flex-1 overflow-y-auto relative bg-background/50">
{children}