cmux/web/app/[locale]/blog/cmux-claude-teams/page.tsx
Lawrence Chen 5835bff110
Update claude-teams blog: link to Claude docs, mention auto env setup (#2426)
* Link to Claude agent-teams docs, mention auto env var setup

* Add 0.63.0 changelog feature highlights

* Simplify GPL blog post to one paragraph

* Remove nightly-only warning from claude-teams and omo docs

---------

Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-31 05:28:40 -07:00

89 lines
2.4 KiB
TypeScript

import { useTranslations } from "next-intl";
import { getTranslations } from "next-intl/server";
import { buildAlternates } from "../../../../i18n/seo";
import { Link } from "../../../../i18n/navigation";
export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }) {
const { locale } = await params;
const t = await getTranslations({ locale, namespace: "blog.cmuxClaudeTeams" });
return {
title: t("metaTitle"),
description: t("metaDescription"),
keywords: [
"cmux", "Claude Code", "agent teams", "teammate mode", "tmux",
"terminal", "macOS", "AI coding agents", "split panes",
],
openGraph: {
title: t("metaTitle"),
description: t("metaDescription"),
type: "article",
publishedTime: "2026-03-30T00:00:00Z",
},
twitter: {
card: "summary_large_image",
title: t("metaTitle"),
description: t("metaDescription"),
},
alternates: buildAlternates(locale, "/blog/cmux-claude-teams"),
};
}
export default function CmuxClaudeTeamsPage() {
const t = useTranslations("blog.posts.cmuxClaudeTeams");
const tc = useTranslations("common");
return (
<>
<div className="mb-8">
<Link
href="/blog"
className="text-sm text-muted hover:text-foreground transition-colors"
>
&larr; {tc("backToBlog")}
</Link>
</div>
<h1>{t("title")}</h1>
<time dateTime="2026-03-30" className="text-sm text-muted">
{t("date")}
</time>
<video
src="/blog/cmux-claude-teams-demo.mp4"
width={1824}
height={1080}
autoPlay
loop
muted
playsInline
className="mt-6 rounded-lg w-full h-auto"
/>
<p className="mt-6">
{t.rich("p1", {
code: (chunks) => <code>{chunks}</code>,
agentTeamsLink: (chunks) => (
<a href="https://code.claude.com/docs/en/agent-teams">{chunks}</a>
),
})}
</p>
<p>
{t.rich("p2", {
code: (chunks) => <code>{chunks}</code>,
})}
</p>
<p>
{t.rich("p3", {
code: (chunks) => <code>{chunks}</code>,
omoLink: (chunks) => (
<Link href="/docs/agent-integrations/oh-my-opencode">{chunks}</Link>
),
})}
</p>
<p className="mt-4">
<Link href="/docs/agent-integrations/claude-code-teams">Read the docs &rarr;</Link>
</p>
</>
);
}