用途:在 Remotion 项目的专家页面(experts page)中新增一位专家。
主要步骤:
- 添加头像图片,需同时放到两个路径,且为同一文件:packages/docs/static/img/freelancers/<firstname>.png 和 packages/promo-pages/public/img/freelancers/<firstname>.png。图片要求为正方形头像,PNG 格式。
- 在 packages/promo-pages/src/components/experts/experts-data.tsx 的 experts 数组中添加条目,字段包括 slug、name、image、website、x、github、linkedin、email、videocall、since、description。其中 slug 为姓名的小写连字符形式,since 设为当天日期,未使用的社交字段设为 null,条目放在数组末尾(闭合 ] 之前)。
- 在 packages/docs 下运行 bun render-cards 渲染专家卡片,生成 packages/docs/static/generated/experts-<slug>.png,并确认输出为 “Rendered experts-<slug>”(而非 “Existed”)。
限制:资料未提供该技能的更多背景、权限要求或收费信息。