Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

870 B
Raw Blame
"use client";

import { useTheme } from "next-themes";
import { useTranslations } from "next-intl";
import Image from "next/image";

export function TierFlowDiagram() {
  const t = useTranslations("onboarding.tier");
  const tOnboarding = useTranslations("onboarding");
  const { resolvedTheme } = useTheme();
  const src =
    resolvedTheme === "dark" ? "/images/tier-flow-dark.svg" : "/images/tier-flow-light.svg";

  return (
    <div className="flex flex-col items-center gap-3 my-4">
      <Image
        src={src}
        alt={tOnboarding("tierFlowDiagramAlt")}
        width={800}
        height={420}
        priority
        className="w-full max-w-2xl rounded-lg border border-white/[0.06]"
      />
      <p className="mx-auto max-w-md text-xs leading-relaxed text-text-muted text-center text-balance">
        {t("flowCaption")}
      </p>
    </div>
  );
}