Add showcase website + GitHub Pages deploy#2
Draft
ashinno wants to merge 3 commits into
Draft
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)Main account/Work · Slot 1running,Personal · Slot 2not running), and the footer actions. No screenshot needed; it's crisp at any size and stays in sync by hand.#1FC56B → #07A050, badge#FA3E3E, and the per-slot avatar palette pulled straight fromDesignSystem.swift/WeChatLauncher.slotColor.prefers-color-scheme), responsive down to mobile,prefers-reduced-motionrespected, skip-link + ARIA labels for a11y. JS is progressive enhancement only (copy buttons) — the page works fully without it..github/workflows/pages.yml— deployssite/to GitHub Pages on pushes tomainthat touchsite/(alsoworkflow_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
200via a localhttp.server; HTML/title/popover/CTA render correctly.favicon.svgparses as valid XML;pages.ymlis valid YAML.cd site && python3 -m http.server→ open the printed URL.Notes
https://claude.ai/code/session_016iLRnVu9GdtixmXEHSVLD8
Generated by Claude Code