import { ChevronRight, MessageSquareText, ShieldCheck, Users } from "lucide-react"; import type { ReactNode } from "react"; import { AppLink } from "../components/AppLink"; import type { Navigate } from "../routing"; export function Dashboard({ navigate }: { navigate: Navigate }) { return (
} title={"Accounts"} text={"Account status, premium, verification, sessions."} href="/accounts" navigate={navigate} /> } title={"Supergroups and Channels"} text={"Public entities, member counts, verification state."} href="/channels" navigate={navigate} /> } title={"Message Audit"} text={"Message boxes, updates, outbox state."} href="/messages" navigate={navigate} />
); } function Launcher({ icon, title, text, href, navigate }: { icon: ReactNode; title: string; text: string; href: string; navigate: Navigate; }) { return ( {icon} {title} {text} ); }