Update AI coach calibration, fix streak animation speed, add dashboard features and target filtering
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user