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

1.1 KB
Raw Blame
"use client";

import Link from "next/link";
import { useTranslations } from "next-intl";

// One-cycle migration notice. Settings → AI no longer renders or writes the
// legacy controls; the dedicated Modality Bridge page owns these settings.
export default function ModalityBridgeMovedCard() {
  const t = useTranslations("settings");

  return (
    <section className="rounded-lg border border-border/70 bg-surface/40 p-4">
      <div className="flex items-start gap-3">
        <span className="material-symbols-outlined text-[21px] text-fuchsia-500" aria-hidden="true">
          image_search
        </span>
        <div className="min-w-0 flex-1">
          <h4 className="text-base font-semibold text-text-main">
            {t("modalityBridgeMovedTitle")}
          </h4>
          <p className="mt-1 text-sm text-text-muted">{t("modalityBridgeMovedBody")}</p>
        </div>
      </div>

      <div className="mt-4 border-t border-border pt-3 text-sm">
        <Link href="/dashboard/settings/modality-bridge" className="text-primary hover:underline">
          {t("modalityBridgeMovedCta")}
        </Link>
      </div>
    </section>
  );
}