Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions frontend/design-system/preview/og-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
checks that the three URLs agree and the PNG stays 1200x630.

Signal front door (docs/design/signal-identity.md): a cobalt block, the
display line in Bricolage, one sentence at 86% white, one mono footer, and
display line in Bricolage ("Multiplayer for coding agents", the landing h1), one
sentence at 86% white, one mono footer, and
og-pod-crop.png, the pod chat in the real v3 chrome at 2x carrying the
README's payments scene. No shadow, no gradient, no green.
-->
Expand Down Expand Up @@ -52,7 +53,7 @@
.title {
margin: auto 0 0;
font-family: "Bricolage Grotesque Variable", sans-serif;
font-size: 46px; line-height: 50px; font-weight: 800; letter-spacing: -0.03em;
font-size: 64px; line-height: 64px; font-weight: 800; letter-spacing: -0.03em;
text-wrap: balance;
}
.sub {
Expand Down Expand Up @@ -82,8 +83,8 @@
</svg>
<span class="brand-name">Commonly</span>
</div>
<h1 class="title">Bring your Claude Code, your teammate's Codex and your whole team into one pod.</h1>
<p class="sub">Each person keeps the agent they already run on their own machine, whatever editor they use. The team works with all of them in one pod. Open source.</p>
<h1 class="title">Multiplayer for coding agents</h1>
<p class="sub">Bring your Claude Code, your teammate's Codex and your whole team into one pod. Each person keeps the agent they already run. Open source.</p>
<img class="shot" src="og-pod-crop.png" alt="">
<div class="foot"><span>commonly.me</span><span>github.com/Team-Commonly/commonly</span></div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
<meta property="og:url" content="https://commonly.me/" />
<meta property="og:title" content="Commonly: multiplayer for coding agents" />
<meta property="og:description" content="Multiplayer for coding agents. Each person keeps the agent they already run on their own machine, and the team works with all of them in one pod. Open source." />
<meta property="og:image" content="https://commonly.me/og-card.png?v=7" />
<meta property="og:image" content="https://commonly.me/og-card.png?v=8" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@sam_commonly" />
<meta name="twitter:title" content="Commonly: multiplayer for coding agents" />
<meta name="twitter:description" content="Multiplayer for coding agents. Each person keeps the agent they already run on their own machine, and the team works with all of them in one pod. Open source." />
<meta name="twitter:image" content="https://commonly.me/og-card.png?v=7" />
<meta name="twitter:image" content="https://commonly.me/og-card.png?v=8" />
<!-- SEO_METADATA_END -->
<!-- Progressive-enhancement gate for the prerendered SEO page below.
The #seo-page markup ships inside #root on EVERY route, so
Expand Down
Binary file modified frontend/public/og-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/scripts/generate-seo-pages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const staticDocument = (template) => {
};

const pageUrl = (path) => `${siteUrl}${path}`;
const ogImage = `${siteUrl}/og-card.png?v=7`;
const ogImage = `${siteUrl}/og-card.png?v=8`;

// Search results cut a title near 60 characters and a description near 160
// (F397). Fitted once here, so a long guide title can't ship.
Expand Down
2 changes: 1 addition & 1 deletion frontend/scripts/generate-seo-pages.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2433,7 +2433,7 @@ test('every page but home names its place in a BreadcrumbList, ending at itself
test('every guide Article carries an image (F397)', async () => {
const articles = (await realPages()).flatMap((page) => page.schema['@graph'].filter((node) => node['@type'] === 'Article'));
assert.ok(articles.length >= 89);
for (const article of articles) assert.equal(article.image, 'https://commonly.me/og-card.png?v=7', article['@id']);
for (const article of articles) assert.equal(article.image, 'https://commonly.me/og-card.png?v=8', article['@id']);
});

test('a long title drops the site suffix, then its subtitle; one with neither to drop stops the build (F397)', () => {
Expand Down
9 changes: 5 additions & 4 deletions frontend/scripts/og-card.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test('index.html and the SEO generator point at the same og-card version', async
assert.equal(index.length, 2, 'index.html: og:image + twitter:image');
// The generator keeps the URL in one const (ogImage) that both tags read.
assert.equal(seo.length, 1, 'generate-seo-pages.mjs: the ogImage const');
assert.deepEqual(new Set([...index, ...seo]), new Set(['7']));
assert.deepEqual(new Set([...index, ...seo]), new Set(['8']));
});

test('og-card.png stays 1200x630', async () => {
Expand All @@ -23,10 +23,11 @@ test('og-card.png stays 1200x630', async () => {
assert.equal(png.readUInt32BE(20), 630);
});

test('the committed card source carries the hero copy and none of the ruled-out claims', async () => {
test('the committed card source leads with the multiplayer h1, carries the hero sentence and none of the ruled-out claims', async () => {
const html = String(await read('../design-system/preview/og-card.html'));
assert.match(html, /Bring your Claude Code, your teammate's Codex and your whole team into one pod\./);
assert.match(html, /Each person keeps the agent they already run on their own machine, whatever editor they use\. The team works with all of them in one pod\. Open source\./);
// The headline is the landing h1, so every shared link says what Commonly is for.
assert.match(html, /<h1 class="title">Multiplayer for coding agents<\/h1>/);
assert.match(html, /Bring your Claude Code, your teammate's Codex and your whole team into one pod\. Each person keeps the agent they already run\. Open source\./);
assert.doesNotMatch(html, /task board/i, 'the card leads on multiplayer, not the board');
for (const banned of [/one thread/i, /any runtime/i, /\$\d/]) assert.doesNotMatch(html, banned);
});
Loading