import Link from "next/link"; import { CONNECT_HELP, featureGateView } from "@peppa/core"; import { FeatureGate } from "@/components/FeatureGate"; import { LiveRefresh } from "@/components/LiveRefresh"; import { PageHeader } from "@/components/common"; import { CopyText } from "@/components/CopyText"; import { Workspace } from "@/components/Workspace"; import { publicOrigin } from "@/lib/auth"; import { getLocale, getT } from "@/lib/i18n"; /** PEP-135: how to connect FORGE to one's own Claude or ChatGPT — step by step; texts live in core/connect-texts.ts. */ export default async function ConnectHelp() { const t = CONNECT_HELP[await getLocale()] ?? CONNECT_HELP.ru; const address = `${await publicOrigin()}/mcp`; const tr = await getT(); const card = "flex flex-col gap-2 rounded-lg border bg-card px-4 py-3"; const h2 = "m-0 text-[15px] font-semibold"; return (
{t.back}} title={t.title}> {t.lead}

{t.addressTitle}

{t.addressNote}

{t.apps.map((app) => (

{app.title}

{app.need}

    {app.steps.map((s) => (
  1. {s}
  2. ))}
))}

{t.askTitle}

{t.askLead}

    {t.asks.map((a) => (
  • {a}
  • ))}

{t.troubleTitle}

{t.troubles.map((x) => (
{x.q}
{x.a}
))}

{t.offTitle}

{t.off}

{t.offLink}

{t.other}

); }