Commit graph

19 commits

Author SHA1 Message Date
Lawrence Chen
8dc4f5bd05
Fix ASCII diagram font rendering on concepts page (#420)
* Fix ASCII diagram rendering: use system mono font for box-drawing chars

Geist Mono renders box-drawing characters (┌─┐│└┘) at double width,
breaking alignment in the concepts page diagram. Use system monospace
fonts (Menlo, Monaco, Consolas) for ascii-variant code blocks, which
handle these characters at correct single width.

* Fix CSS specificity: code element was overriding pre font-family

.docs-content code sets font-family to Geist Mono, which overrides
the system mono font set on the parent pre element. Geist Mono is
loaded with Latin subset only, lacking box-drawing glyphs (U+2500-257F),
so browsers fall back to CJK-aware fonts that render them double-width.

Fix: add font-family: inherit to .docs-content pre code so code
elements inside pre blocks inherit the correct font from their parent.
2026-02-23 20:19:45 -08:00
Lawrence Chen
f502f84144
Add Read the Docs link below bottom CTA on homepage (#411)
* Add "Read the Docs" link below bottom CTA on homepage

* Increase top padding on Read the Docs link

* Reduce docs horizontal padding on mobile

* Align docs content with header on mobile, increase top padding

* Make sticky header fully opaque with subtle bottom border

* Fix sticky header on mobile by containing horizontal overflow in content area

Wide content (hierarchy diagrams, code blocks) was causing horizontal
page scroll, which breaks position:sticky on mobile browsers. Added
overflow-x:hidden to the main content area (below the header in DOM)
and overflow-x:auto to docs pre blocks so they scroll internally.

* Remove bottom border from sticky header
2026-02-23 20:09:44 -08:00
Lawrence Chen
14603bd9f8
Set community gap to 16px, add dingyi China tweet to blog post (#279)
- Fix community section gap (6px → 16px)
- Add dingyi tweet showing cmux went semi-viral in China
- Change "semi-viral in Japan" to "viral in Japan" + "semi-viral in China"
2026-02-21 06:26:55 -08:00
Lawrence Chen
64bb248f20
Replace blur placeholder with opacity fade-in on hero screenshot (#278) 2026-02-21 06:24:59 -08:00
Lawrence Chen
be9b994a79
Add homepage wall of love, FAQ, blog post, footer redesign, and SEO improvements
## Summary
- Add Community (testimonials) section to homepage with inline avatars
- Add FAQ section sourced from HN discussion questions
- Add hero screenshot with next/image optimization
- Add Show HN blog post with react-tweet embeds, star history chart, and HN quotes
- Redesign footer with 4-column grid layout (Product, Resources, Legal, Social)
- Add Download/GitHub CTA buttons at bottom of homepage and blog post
- Add dev spacing controls for features, FAQ, and community sections
- Fix hydration error (JSON-LD moved to head)
- SEO: full metadata on blog posts, robots.txt, blog pages in sitemap, canonical URLs
- Replace em dashes site-wide, fix notification descriptions

## Testing
- `bun tsc --noEmit` passes clean
- Dev server verified on port 3001

## Related
- Task: Add wall of love to main web page + landing screenshot
2026-02-21 06:16:38 -08:00
Lawrence Chen
9a8005a57f
Update Discord invite links to new permanent URL (#238)
Replace old discord.com/invite/QRxkhZgY with discord.gg/xsgFEVrWCZ
across README, community page, and nav footer.
2026-02-21 01:14:12 -08:00
Austin Wang
a804a8e767
Update landing page discord invite link
Merged by manaflow for task kn7d8qr7jvjsv3wf1axwq77gs981ha9j.
2026-02-20 14:09:31 -08:00
Lawrence Chen
cb86322e98
Remove docs-site, add PostHog analytics to web (#66)
- Delete docs-site/ (superseded by web/app/docs)
- Add posthog-js with Vercel reverse proxy at /cdata to bypass adblockers
- Track pageviews (SPA-aware), download clicks (hero/navbar/mobile_drawer),
  and GitHub link clicks (hero/navbar/mobile_drawer/footer)
2026-02-18 04:00:04 -08:00
Austin Wang
514df0bd97
Update Discord invite link (#59)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 22:03:41 -08:00
Lawrence Chen
565b02c486 Widen page max-width and remove theme transition on change
Bump navbar, docs, legal, and community layouts from max-w-5xl to
max-w-6xl. Widen docs content from max-w-2xl to max-w-3xl. Home and
blog pages unchanged. Disable next-themes transition on change.
2026-02-10 16:00:18 -08:00
Lawrence Chen
c640355154 Rename public/icon.png to logo.png to fix blurry icon
Next.js App Router serves app/icon.png (32x32 favicon) at /icon.png,
shadowing the 256x256 public/icon.png. Rename to /logo.png so the
high-res image is served for the site logo.
2026-02-10 01:07:52 -08:00
Lawrence Chen
aac955bec9 Use plain img tags for icon to fix blurriness
Replace next/image with native <img> for the app icon. The 256x256
source renders crisply at 24px/48px without Next.js image processing.
2026-02-10 00:56:31 -08:00
Lawrence Chen
d1dd2e6535 Full-screen overlay with drawer-local close button and theme toggle
- Overlay covers entire viewport (inset-0 z-40) including header
- Drawer at z-50 spans full height with its own header row
- Duplicate theme toggle + close (X) button inside drawer
- Docs sidebar/FAB bumped to z-50 to stay above overlay
2026-02-10 00:54:51 -08:00
Lawrence Chen
bf98dbd40a Fix mobile drawer: move outside header for iOS, fix overlay positioning
- Move overlay and drawer nav outside <header> to avoid iOS Safari
  backdrop-filter breaking fixed positioning
- Overlay starts below header (top-12) instead of covering full screen
  so header stays clean when drawer is open
- Add invisible class when drawer closed as fallback
- Remove auto-focus on first link to prevent focus ring flash
2026-02-10 00:50:43 -08:00
Lawrence Chen
68225d9e9d Move theme toggle into header and fix mobile button wrapping
ThemeToggle was fixed-positioned over the hamburger menu on mobile.
Move it into SiteHeader so both controls sit together. Add
whitespace-nowrap to hero Download/GitHub buttons and flex-wrap
to their container so they don't break across lines on narrow screens.
2026-02-10 00:28:01 -08:00
Lawrence Chen
63fb175055 Add mobile hamburger menu with reusable drawer component
Extract drawer logic (overlay, focus trap, scroll lock, escape key)
from DocsNav into shared mobile-drawer.tsx hook and components.
SiteHeader now shows a hamburger menu on mobile that opens a
right-side drawer with nav links and download button. Footer
wraps gracefully on small screens.
2026-02-10 00:23:40 -08:00
Lawrence Chen
208c9daaaa Open GitHub link in new tab from site header 2026-02-10 00:03:57 -08:00
Lawrence Chen
7d1dd4a047 Fix blurry logo by skipping Next.js image optimization 2026-02-09 23:52:07 -08:00
Lawrence Chen
f970cdcf33 Add docs, blog, community pages and polish landing page layout
- Add docs pages (getting-started, changelog, keyboard-shortcuts)
- Add blog, community, and legal pages (privacy, terms, EULA)
- Add site header, footer, download button, and nav components
- Add sitemap and robots.txt generation
- Narrow main page container (max-w-2xl), fix footer positioning
- Switch README feature list to colon style
2026-02-09 23:38:05 -08:00