Skip to content

feat(market): add site icons and tighten the marketplace visuals - #1930

Merged
bobleer merged 2 commits into
mainfrom
feat/miniapp-market-polish
Jul 31, 2026
Merged

feat(market): add site icons and tighten the marketplace visuals#1930
bobleer merged 2 commits into
mainfrom
feat/miniapp-market-polish

Conversation

@bobleer

@bobleer bobleer commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

https://market.openbitfun.com/miniapp/ had no favicon, elements sized well above what the layout needed, a card crop that disagreed with the desktop client, no favourite metric on catalog cards, and hero copy that never said what a MiniApp is.

What changed

Site icons. public/favicon.svg is the single source: a simplified isometric BitFun cube that survives 16px. favicon.ico, apple-touch-icon.png, icon-192.png and icon-512.png are rasterised from the same geometry, with the seam dropped and the cube grown at small sizes so the three faces stay separable. Icon links carry the /miniapp/ prefix — the site is not at the domain root, so the browser's default /favicon.ico probe is 404'd by nginx.

Scale. Type, spacing, radii and shadows all came down. Hero headline 72px → 45px max, cards lose their 380px floor, radii 8/12/16/20 → 6/9/12/16, and the diffuse 0 30px 90px shadows become layered 1–3px ones. Body copy sits at 14px with -webkit-font-smoothing: antialiased, stat rows use tabular numerals, and the page grid drops from 32px/5.5% to 44px/3.2% so it stops competing with content.

16:9 crops. .card-visual, .detail-gallery and review screenshots now use aspect-ratio: 16 / 9, matching .miniapp-market-card__visual in src/web-ui/src/app/scenes/miniapps/views/MiniAppMarketView.scss. Publishers upload anything from 3:2 to 16:9, so before this the same screenshot was framed differently on the web and in the client.

Favourites. Catalog cards show the heart and count next to rating and downloads, mirroring the desktop card stats — favoriteCount/isFavorited were already on MarketListingSummary. Display-only, as in the client; the interactive toggle stays on the detail page, which now also shows the count. The card topline swaps BitFun 0.2.15+ for the release number to make room.

Copy. Hero, trust row and catalog intro rewritten across en-US, zh-CN and zh-TW. The headline is now The small tools your workspace was missing. and the intro names concrete MiniApps and what they may reach — files, models, agents — rather than describing the marketplace in the abstract.

Verification

  • pnpm run type-check:miniapp-market, test:miniapp-market (9 passed), build:miniapp-market
  • pnpm run i18n:contract:test (37 passed), pnpm run i18n:audit (0 warnings)
  • pnpm run theme:color-audit:all
  • Rendered against the live production catalog via the dev proxy, in light and dark, at 1600 / 1280 / 375px. Card visual measured at ratio 1.778.

Note

/favicon.ico at the domain root still 404s: the nginx vhost only routes /, /miniapp and /miniapp/. Every browser uses the explicit <link rel="icon"> instead, so this only affects clients that probe the root. Fixing it needs an nginx change, which is a separate deploy path from the container rebuild.

bobleer added 2 commits July 31, 2026 03:09
The marketplace web had no favicon at all, oversized type and spacing, a
card crop that disagreed with the desktop client, no favourite metric on
catalog cards, and hero copy that never explained what a MiniApp is.

- Add a favicon set built from one SVG source: an isometric BitFun cube
  that stays readable at 16px, plus ico/apple-touch/192/512 rasters and a
  web manifest. Icon links carry the /miniapp/ prefix because the site is
  not served from the domain root.
- Rescale the type, spacing, radii and shadow tokens. The hero headline
  drops from a 72px maximum to 45px, cards lose their 380px floor, and
  the diffuse 30px/90px shadows become layered 1-3px ones.
- Crop card visuals, the detail gallery and review screenshots to 16:9,
  matching .miniapp-market-card__visual in the desktop client so one
  screenshot frames identically in both surfaces.
- Show the heart and favourite count on catalog cards, and the count on
  the detail favourite button, mirroring the desktop card stats.
- Rewrite the hero, trust row and catalog copy across en-US, zh-CN and
  zh-TW so it names what a MiniApp does and what it may reach, instead
  of describing the marketplace in the abstract.
Keep the visual polish (favicon, tighter layout, 16:9 screenshots,
favorite counts) but restore the original marketing copy.
@bobleer
bobleer merged commit e438f19 into main Jul 31, 2026
4 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