+
+
-
-
+
+
{notification.title}
{notification.body && (
-
+
{notification.body}
)}
-
+
{formatDistanceToNow(new Date(notification.created_at), {
addSuffix: true,
})}
@@ -69,7 +76,7 @@ export function RecentActivity() {
))}
)}
-
-
+
+
);
}
diff --git a/src/components/dashboard/stats-cards.tsx b/src/components/dashboard/stats-cards.tsx
index d6fb8b9..8bbe6fc 100644
--- a/src/components/dashboard/stats-cards.tsx
+++ b/src/components/dashboard/stats-cards.tsx
@@ -2,7 +2,6 @@
import Link from "next/link";
import { AlertTriangle, Clock, ClipboardList, CheckCircle2 } from "lucide-react";
-import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card";
import { useDataProvider } from "@/lib/demo/data-provider-context";
interface StatsCardsProps {
@@ -17,28 +16,32 @@ const stats = [
key: "overdue",
label: "Overdue",
icon: AlertTriangle,
- color: "text-red-500",
+ iconColor: "text-red-500",
+ bgColor: "bg-red-50 dark:bg-red-500/10",
prop: "overdue" as const,
},
{
key: "dueSoon",
label: "Due Soon",
icon: Clock,
- color: "text-orange-500",
+ iconColor: "text-amber-500",
+ bgColor: "bg-amber-50 dark:bg-amber-500/10",
prop: "dueSoon" as const,
},
{
key: "active",
label: "Active",
icon: ClipboardList,
- color: "text-blue-500",
+ iconColor: "text-[#0D7C66]",
+ bgColor: "bg-emerald-50 dark:bg-emerald-500/10",
prop: "active" as const,
},
{
key: "completed",
label: "Completed",
icon: CheckCircle2,
- color: "text-green-500",
+ iconColor: "text-[#E07A3A]",
+ bgColor: "bg-orange-50 dark:bg-orange-500/10",
prop: "completed" as const,
},
] as const;
@@ -51,17 +54,17 @@ export function StatsCards({ overdue, dueSoon, active, completed }: StatsCardsPr
{stats.map((stat) => (
-
-
-
-
+
+
+
+
+
+
{stat.label}
-
-
-
- {values[stat.prop]}
-
-
+
+
+
{values[stat.prop]}
+
))}
diff --git a/src/components/dashboard/task-completion-chart.tsx b/src/components/dashboard/task-completion-chart.tsx
index 153e74a..2b22fb8 100644
--- a/src/components/dashboard/task-completion-chart.tsx
+++ b/src/components/dashboard/task-completion-chart.tsx
@@ -9,7 +9,7 @@ import {
Tooltip,
CartesianGrid,
} from "recharts";
-import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card";
+import { TrendingUp } from "lucide-react";
interface TaskCompletionChartProps {
data: { date: string; count: number }[];
@@ -19,11 +19,12 @@ export function TaskCompletionChart({ data }: TaskCompletionChartProps) {
const hasData = data && data.length > 0;
return (
-
-
- Task Completions
-
-
+
+
+
Your Progress
+
+
+
{hasData ? (
@@ -42,19 +43,25 @@ export function TaskCompletionChart({ data }: TaskCompletionChartProps) {
) : (
-
- No completion data yet
+
+
+
+
+
Your progress chart lives here
+
+ As you complete tasks, you'll see a visual history of everything you've accomplished.
+
)}
-
-
+
+
);
}
diff --git a/src/components/demo/demo-banner.tsx b/src/components/demo/demo-banner.tsx
index b343244..1ef30d6 100644
--- a/src/components/demo/demo-banner.tsx
+++ b/src/components/demo/demo-banner.tsx
@@ -11,17 +11,17 @@ export function DemoBanner() {
if (dismissed) return null;
return (
-
-
+
+
You're exploring Casera in demo mode. Changes aren't saved.
-