- {hasAny
- ? "Runs in other states aren't shown by this filter."
- : "Reminder fire events will appear here."}
-
-
-
-
+
)}
);
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx
index 159d1df..b3fdc65 100644
--- a/apps/web/src/app/page.tsx
+++ b/apps/web/src/app/page.tsx
@@ -39,6 +39,7 @@ import { Badge } from "@/components/ui/badge";
import { getSeededOperator } from "@/lib/operator";
import { getDashboardStats } from "@/lib/queries";
import { PageShell } from "@/components/page-shell";
+import { EmptyState } from "@/components/empty-state";
// ---------------------------------------------------------------------------
// Time helpers (no external dep, server-safe)
@@ -333,21 +334,17 @@ export default async function DashboardPage() {
>
) : (
-
-
-
-
-
No reminders have fired yet.
-
- Schedule one to start sending WhatsApp messages.
-
-
+
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}
Schedule a reminder
-
-
+ }
+ />
)}
diff --git a/apps/web/src/app/reminders/page.tsx b/apps/web/src/app/reminders/page.tsx
index 0688c57..373f8fe 100644
--- a/apps/web/src/app/reminders/page.tsx
+++ b/apps/web/src/app/reminders/page.tsx
@@ -15,6 +15,7 @@ import { Badge } from "@/components/ui/badge";
import { Card, CardContent } from "@/components/ui/card";
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
import { PageShell } from "@/components/page-shell";
+import { EmptyState } from "@/components/empty-state";
import { getSeededOperator } from "@/lib/operator";
import { listAccounts, listReminders } from "@/lib/queries";
import { describeRecurrence, specFromRrule } from "@/lib/recurrence";
@@ -326,26 +327,24 @@ export default async function RemindersPage({ searchParams }: PageProps) {
>
) : (
-
-
-
-
-
- {allReminders.length === 0
- ? "No reminders yet."
- : hasAnyFilter
- ? "No reminders match your filters."
- : `No ${status} reminders yet.`}
-
-
- {allReminders.length === 0
- ? "Create a reminder to start sending scheduled WhatsApp messages."
- : hasAnyFilter
- ? "Try clearing the filters or widening your search."
- : "Reminders in other states aren't shown by this filter."}
-