Skip to content

Add showcase website + GitHub Pages deploy#2

Draft
ashinno wants to merge 3 commits into
mainfrom
claude/showcase-website-QdA2b
Draft

Add showcase website + GitHub Pages deploy#2
ashinno wants to merge 3 commits into
mainfrom
claude/showcase-website-QdA2b

Conversation

@ashinno
Copy link
Copy Markdown
Owner

@ashinno ashinno commented Jun 6, 2026

A polished, dependency-free landing page that showcases WeChat Multi, plus a workflow to publish it to GitHub Pages.

What's in here

site/ — a single-page static site, no build step:

  • index.html · styles.css · app.js · assets/ (app icon + a jade "stack" favicon.svg)
  • Centerpiece: a faithful HTML/CSS rendition of the menu-bar popover — header with the stack glyph + a monospace count pill, account rows with color-coded status dots (Main account / Work · Slot 1 running, Personal · Slot 2 not running), and the footer actions. No screenshot needed; it's crisp at any size and stays in sync by hand.
  • Design tokens mirror the app: jade #1FC56B → #07A050, badge #FA3E3E, and the per-slot avatar palette pulled straight from DesignSystem.swift / WeChatLauncher.slotColor.
  • Sections: hero with CTAs → features grid → "how it works" (the clone technique as 4 steps) → install (Homebrew / download / from source, with copy buttons) → Windows-port teaser → footer with the Tencent trademark disclaimer.
  • Light/dark aware (prefers-color-scheme), responsive down to mobile, prefers-reduced-motion respected, skip-link + ARIA labels for a11y. JS is progressive enhancement only (copy buttons) — the page works fully without it.

.github/workflows/pages.yml — deploys site/ to GitHub Pages on pushes to main that touch site/ (also workflow_dispatch).

One-time setup to go live

Repo Settings → Pages → Build and deployment → Source: GitHub Actions. After that it publishes to https://ashinno.github.io/wechat-multi/.

Verification

  • All assets serve 200 via a local http.server; HTML/title/popover/CTA render correctly.
  • favicon.svg parses as valid XML; pages.yml is valid YAML.
  • I couldn't capture a screenshot — installing a headless browser is blocked in this Linux container (no network for the chromium download). Easy to preview locally: cd site && python3 -m http.server → open the printed URL.

Notes

  • Content is plain copy I can tune — happy to adjust tone, drop sections, add a screenshot strip, or wire a custom domain (CNAME) if you want one.

https://claude.ai/code/session_016iLRnVu9GdtixmXEHSVLD8


Generated by Claude Code

claude added 3 commits June 6, 2026 10:13
- site/: dependency-free static landing page (index.html + styles.css +
  app.js). Centerpiece is a faithful HTML/CSS rendition of the menu-bar
  popover; design tokens mirror the app's Brand enum (jade #1FC56B/#07A050,
  badge #FA3E3E) and the per-slot avatar palette. Light/dark aware,
  responsive, copy-to-clipboard install commands.
- assets: app icon (from docs/icon.png) + a jade 'stack' favicon.svg.
- .github/workflows/pages.yml: deploy site/ to GitHub Pages on pushes to
  main that touch site/ (also workflow_dispatch). Requires Pages source =
  GitHub Actions (one-time repo setting).
- docs/menu-popover.png: rendered shot of the menu-bar popover (from the
  site's HTML mockup), embedded in the README's 'What the menu looks like'
  section as a real visual alongside the ASCII sketch.
- site/vercel.json: static config (clean URLs, cache + security headers).
- README + site/README: 'Deploy with Vercel' button (root-directory=site,
  no build step) and CLI/dashboard instructions, alongside the existing
  GitHub Pages workflow.
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.

2 participants