import Link from "next/link"; import { ShieldCheckIcon, ChevronRightIcon } from "lucide-react"; import { getSeededOperator } from "@/lib/operator"; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; import { Separator } from "@/components/ui/separator"; import { ThemeToggle } from "@/components/theme-toggle"; import { NotificationsToggle } from "@/components/notifications-toggle"; import { PageShell } from "@/components/page-shell"; export default async function SettingsPage() { const op = await getSeededOperator(); const isAdmin = op.role === "admin"; return ( Operator {isAdmin && ( Admin Manage which usernames can sign in and what role each one has. Visible to admins only. Users )} Notifications Browser notifications when a reminder fires successfully or a test message is sent. Uses the in-tab Notification API — works while the app is open. Background push is on the roadmap. Appearance
Theme

cm WhatsApp Bot · self-hosted

); } function Row({ label, value, mono }: { label: string; value: string; mono?: boolean }) { return (
{label}
{value}
); }