Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GitHub star button + Cloudflare Pages deployment prep (litmus-gzd5)

StatusDone · archived
TypeFeature
Prioritynormal
  • Add GitHubStars component to components.rs
  • Add star button to sidebar header row
  • Add CSS for star button and header row
  • Create _redirects file for SPA routing
  • Create _headers file for security/cache headers
  • Create GitHub Actions deploy workflow
  • Create beans for manual Cloudflare/DNS tasks

Summary of Changes

  • Added GitHubStars component using use_resource + eval() to fetch stargazer count from GitHub API
  • Restructured sidebar header with flexbox row for logo + star pill button
  • Created _redirects (SPA fallback) and _headers (security + caching) for Cloudflare Pages
  • Created GitHub Actions workflow (deploy.yml) that builds WASM and deploys via wrangler
  • Created follow-up beans for manual Cloudflare dashboard and DNS setup