cmux/web
Lawrence Chen 39c03c9b07
Add OG image for social media previews (#1861)
* Add dynamic OG image and use large Twitter cards

Generate a 1200x630 OG image with the cmux logo, tagline, and
description using next/og ImageResponse. Switch Twitter card type
from "summary" to "summary_large_image" across all pages so shared
links show a full-width preview instead of the tiny favicon thumbnail.

* Use Geist font and app screenshot in OG image, update landing/README images

Replace the centered text-only OG image with a split layout: branding
on the left (logo, name, tagline) and a full app screenshot on the
right. Load Geist Regular/SemiBold from Google Fonts for consistent
typography. Replace the homepage landing image and README screenshot
with a new screenshot showing cmux with multiple workspaces, tabs,
browser panel, and code diffs.

* Fine-tune OG image layout and update homepage/README screenshots

Apply tuned values from OG editor: 112px logo, 48px title with -8
translateY, 34px subtitle at #cfcfcf, 320px fade height. Use Geist
font loaded from Google Fonts. Render at 2x (2400x1260) for sharper
previews on social platforms. Remove GitHub URL from footer.

Add pre-resized og-screenshot.png (2208px wide) for the OG image to
avoid Satori downscale blur. Update homepage landing image and README
screenshot with new app screenshot.

---------

Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-20 19:01:29 -07:00
..
app Add OG image for social media previews (#1861) 2026-03-20 19:01:29 -07:00
i18n Internationalize website with next-intl for 19 languages (#1216) 2026-03-12 05:36:58 -07:00
messages Revert testimonial quotes back to cmux.dev (#1722) 2026-03-18 01:34:45 -07:00
public Add /nightly page (#1378) 2026-03-13 07:41:30 -07:00
.env.example Add sidebar help menu to footer (#958) 2026-03-05 21:00:42 -08:00
.gitignore Add landing page (web/) with Next.js + Tailwind 2026-02-09 20:51:27 -08:00
bun.lock Internationalize website with next-intl for 19 languages (#1216) 2026-03-12 05:36:58 -07:00
eslint.config.mjs Add landing page (web/) with Next.js + Tailwind 2026-02-09 20:51:27 -08:00
next.config.ts fix(web): exclude PostHog proxy from i18n middleware (#1626) 2026-03-17 17:02:42 -07:00
package-lock.json Internationalize website with next-intl for 19 languages (#1216) 2026-03-12 05:36:58 -07:00
package.json Internationalize website with next-intl for 19 languages (#1216) 2026-03-12 05:36:58 -07:00
postcss.config.mjs Add landing page (web/) with Next.js + Tailwind 2026-02-09 20:51:27 -08:00
proxy.ts feat(web): redirect cmux.dev to cmux.com with 301s for SEO (#1716) 2026-03-18 01:16:43 -07:00
README.md Update landing page: switch to Bun, add view transitions and UI polish 2026-02-09 22:01:53 -08:00
tsconfig.json Add landing page (web/) with Next.js + Tailwind 2026-02-09 20:51:27 -08:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.