Skip to content

feat(site): add pet market page with shared Nav component#47

Merged
hash-panda merged 1 commit into
mainfrom
feat/site-market
May 17, 2026
Merged

feat(site): add pet market page with shared Nav component#47
hash-panda merged 1 commit into
mainfrom
feat/site-market

Conversation

@hash-panda
Copy link
Copy Markdown
Contributor

Summary

  • Add /market page with skin gallery, sprite animation preview, style filter, and keyword search
  • Extract duplicate nav markup from index/download/privacy into a reusable Nav.astro component (main + sub variants)
  • Add SpritePlayer class for animating sprite sheets in the browser
  • Add gen-skin-data.mjs build script to generate skins.json from app skin assets
  • Add i18n strings (zh/en) for market page and nav market link

Test plan

  • pnpm dev:site — market page loads and skins animate correctly
  • Filter by style (All / Pixel Art / AI Generated) works
  • Search by name/author works
  • State tag hover switches sprite animation
  • Nav links work on index, download, privacy, market pages
  • Language toggle works on all pages

Made with Cursor

- Add /market page with skin gallery, sprite animation preview, filter/search
- Extract Nav into reusable Astro component (main + sub variants)
- Add SpritePlayer class for animating sprite sheets on the site
- Add gen-skin-data script to generate skins.json from app skin assets
- Add i18n strings for market page and nav market link

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-bubu-site Ready Ready Preview, Comment May 17, 2026 1:28pm

@hash-panda hash-panda merged commit 3d20b26 into main May 17, 2026
5 of 6 checks passed
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.

1 participant