import { getT } from "../i18n/server"; import { Badge } from "./ui/Badge"; import { Card, CardContent } from "./ui/Card"; export default async function HowItWorks() { const t = await getT(); const steps = [ { title: t("howItWorks.steps.addBot.title"), desc: t("howItWorks.steps.addBot.description"), }, { title: t("howItWorks.steps.dashboard.title"), desc: t("howItWorks.steps.dashboard.description"), }, { title: t("howItWorks.steps.realtime.title"), desc: t("howItWorks.steps.realtime.description"), }, ]; return (

{t("howItWorks.title")}

{t("howItWorks.subtitle")}

{steps.map((s, i) => ( {`${i + 1}`}

{s.title}

{s.desc}

))}
); }