Commit Graph

6 Commits

Author SHA1 Message Date
TerryM
9b6539ff71 feat(category): add branded icons for contract-address and data-records
Some checks failed
Deploy to Frontend Servers / deploy (push) Failing after 41s
Backend zh-CN /api/categories now returns two new categories:
  id=17 slug=contract-address  (合约地址)
  id=18 slug=data-records      (数据收录)

Export the matching gold-tone PNGs from Figma and wire them into
slugToAsset so CategoryIcon serves the branded artwork instead of
falling back to the lucide iconKey (folder / play). en locale still
returns 13 categories, so English users will pick this up once the
backend ships translations for the two new entries.
2026-06-08 00:35:27 +08:00
TerryM
a564fddfcb chore: remove unused public assets 2026-05-31 02:36:46 +08:00
TerryM
0733ea8b18 feat(category-icon): 分类图标支持 PNG 资源,学院类目改用 PNG
categorySvgUrlForSlug → categoryAssetUrlForSlug,映射值改为带子目录
的相对路径(svg/ 或 png/),新增 academy-materials / academy-video
的 PNG 图标并兼容拼写别名 acedemy-video。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 17:34:18 +08:00
TerryM
28b0ef3f9a feat: update figma category card icons 2026-05-28 15:49:08 +08:00
TerryM
0e98428f64 feat: polish figma mobile home and nav 2026-05-28 15:32:15 +08:00
TerryM
9c54ffec76 Initial frontend import 2026-05-16 00:18:22 +08:00