cmux/web/app/[locale]/blog/gpl/page.tsx
Lawrence Chen 51fe28e45d
Add cmux SSH blog post (#2377)
* Add cmux SSH blog post

* Shorten SSH blog post, remove headings

* Trim SSH blog post to 2 paragraphs

* Remove first person, add feature bullet list

* Clarify no port forwarding needed

* Add cmux claude-teams and cmux omo blog posts

* Wrap command names in code tags

* Add code tags to SSH post, shorten claude-teams and omo paragraphs

* Reorder blog posts: SSH first, then claude-teams and omo

* Update omo post with actual oh-my-openagent details, improve titles

* Add GPL blog post, fix omo title to specialist agents

* Explain what the relay daemon is for in SSH post

* Move drag-image to second bullet, use routes through

* Rewrite SSH intro, add image upload video

* Add SSH docs page, link blog posts to docs

* Add omo demo video to blog post

* Trim omo agent details

* Lead omo paragraph with cmux omo command

* Rename omo title to oh-my-openagent subagents

* Add claude-teams demo video to blog post

* Fix omo naming, link to docs instead of blog posts

* Add demo videos to SSH blog, SSH docs, claude-teams docs, omo docs

---------

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

56 lines
1.5 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.gpl" });
return {
title: t("metaTitle"),
description: t("metaDescription"),
keywords: [
"cmux", "GPL", "AGPL", "open source", "license",
"terminal", "macOS", "copyleft",
],
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/gpl"),
};
}
export default function GplPage() {
const t = useTranslations("blog.posts.gpl");
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>
<p className="mt-6">{t("p1")}</p>
<p>{t("p2")}</p>
<p>{t("p3")}</p>
</>
);
}