Repository navigation
feat(home): 重设计首页首屏与状态展示 - #4
Merged
Merged
Conversation
- 按参考版式重做大标题首屏、灰色代码窗与彩色圆点行 - 新增深色数据带与可靠性状态网格 - 代码窗默认 cURL 示例并提升灰底可读性 - 新增 9 语言首页重设计文案
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- 数据带改为读取 pricing/status/perf-summary 公开接口\n- 状态网格按真实探测结果渲染\n- 移除写死数字徽标与彩色圆点行\n- 本地截图确认真实数值与多语言标签
- localhost/127.0.0.1 下跳过 iframe 嵌入检测,避免本地预览出现 64px 留白与遮罩\n- 缩短 cURL 示例,去掉代码窗固定最小高度,避免截断和下方空白
- 状态网格改用 status snapshot 的真实模型列表\n- 按厂商分组,显示正常/延迟/故障真实计数与悬停详情\n- 数据接口失败时显示占位骨架而非写死色块
- 恢复线上彩色客户端图标行与深色代码窗\n- 恢复 Claude Code 默认示例与 github-dark 高亮\n- 供应商标签改用真实图片资源,缺失项用 Lucide 图标
- 厂商名与每个状态色块均可点击,跳转对应 /status/[family]\n- 保留悬停详情,并补上键盘焦点环
- 色块链接从厂商页改为 /status/model/[name]\n- 厂商名仍跳转到对应厂商状态页
- 加载中显示骨架占位,不再显示无意义破折号\n- 接口失败显示错误提示与重试按钮\n- 成功态保持真实数据与可点击色块\n- 补齐 9 语言 loading/error/retry 文案
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
github-light。src/lib/home-redesign-copy.ts,覆盖 9 种语言。验证
pnpm types:check通过。pnpm lint0 errors。