Skip to content

feat(site): regenerate og-image with Chat mode screenshot - #87

Merged
frenchie4111 merged 2 commits into
mainfrom
site-og-image-use-chat-mode-screenshot
May 25, 2026
Merged

feat(site): regenerate og-image with Chat mode screenshot#87
frenchie4111 merged 2 commits into
mainfrom
site-og-image-use-chat-mode-screenshot

Conversation

@frenchie4111

@frenchie4111 frenchie4111 commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Swap the homepage OG / Twitter card from the old terminal-Harness poster to a screenshot of Chat mode so link previews reflect the headline feature.
  • Add .webp support to data_uri() in site/og-build/build.py (it now picks image/webp instead of falling through to image/png).
  • Update og:image:alt + twitter:image:alt to describe the new content and add a ?v=chat-mode cache-bust suffix on both URLs (best-effort — major scrapers still cache on their own clock).
  • Drop the "macOS" qualifier from the descriptive marketing copy (homepage meta tags, OG card subtitle, guide intro). Harness ships .deb + .AppImage for linux alongside the macOS build, so "a native app" is the accurate framing now. Left the "Download for macOS" CTAs and v1.0.0 release notes line alone (those reference the macOS .dmg artifact / historical release context, not the product description).

The screenshot source (site/public/announcements/img/chat-mode.webp) already exists on main from #85, so this PR is just the build script change + regenerated PNG + meta-tag + copy tweaks.

Before → After

Before (main):

before

After (this branch, commit 5c454fd):

after

The visible 1072×370 crop shows the Chat tab header, the Thought row, the user prompt, the ASCII-art "HELLO WORLD" response, the tool-call summary, the worktree sidebar on the left, and the PR panel on the right. The subtitle line now reads "a native app for parallel Claude Code sessions." Reads cleanly at OG size — no frame-height tweak needed.

Test plan

  • Visual: open site/public/og-image.png in Preview, confirm Chat mode UI is legible and nothing important is clipped at the 370px line.
  • Re-run python3 site/og-build/build.py on a clean checkout to confirm it's deterministic.
  • cd site && npm run build once node_modules are installed in the worktree (skipped here — fresh worktree had no deps, and the changes are pure meta-tag text + a static asset, not part of the JS bundle).
  • After merge, hit the Twitter card validator on https://harness.mikelyons.org/ and confirm the new image renders (cache-bust suffix should help).

🤖 Generated with Claude Code

frenchie4111 and others added 2 commits May 25, 2026 14:18
Swap the social-share card from the old terminal-Harness poster to the
new Chat mode screenshot so link previews reflect the headline feature.
Also adds webp support to the og-build mime detector and updates the
og:image / twitter:image alt text + cache-bust suffix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Harness ships .deb and .AppImage for linux alongside the macOS build,
so the marketing copy that calls it 'a native macOS app' is no longer
accurate. Updated the homepage meta tags, the OG card subtitle, and
the guide intro to say 'a native app' instead. Regenerated og-image.png
to pick up the new template subtitle.

Left the 'Download for macOS' CTAs and the v1.0.0 release notes line
alone — those are tied to the macOS .dmg artifact / historical release
context, not the product description.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@frenchie4111
frenchie4111 merged commit d9793f3 into main May 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant