import { CheckCircle2, ChevronRight, Clock3, FileJson, KeyRound, MessageSquareText, ShieldCheck, Users } from "lucide-react"; import type { ReactNode } from "react"; import { AppLink } from "../components/AppLink"; import { StatusItem } from "../components/ui"; import { useI18n } from "../i18n"; import type { Navigate } from "../routing"; export function Dashboard({ navigate }: { navigate: Navigate }) { const { t } = useI18n(); return (
{t("dashboard.eyebrow")}

{t("dashboard.title")}

} title={t("route.accounts")} text={t("dashboard.accountsText")} href="/accounts" navigate={navigate} /> } title={t("route.channels")} text={t("dashboard.channelsText")} href="/channels" navigate={navigate} /> } title={t("route.messages")} text={t("dashboard.messagesText")} href="/messages" navigate={navigate} />
{t("dashboard.strip.dryRun")}
{t("dashboard.strip.token")}
{t("dashboard.strip.pagination")}
{t("dashboard.strip.snapshot")}
); } function Launcher({ icon, title, text, href, navigate }: { icon: ReactNode; title: string; text: string; href: string; navigate: Navigate; }) { return ( {icon} {title} {text} ); }