1440×900 · 390×844
https://github.com/

首屏结构、分享卡片与基础配置

标题层级与首屏入口高信息密度
H1×1 · H2×9
H2
H1
H2
H2
H2
H3
H3
首屏主动作Sign up
Tailwindlang=en

正文

843

操作候选

31

内/外链

127/15

HTML

563 KB

分享预览与标题长度og:image ✓

github.com

GitHub · Change is constant. GitHub keeps you ahead.

Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.

标题字数61 字 · 理想区间
摘要字数186 字 · 偏长
响应头与资源构成5/6
HTTPS
HSTS
CSP
nosniff
Viewport
JSON-LD
脚本8 ext · 6 inl
图片 Alt 覆盖率7/24 (29%)
第三方域1 个域名
Lighthouse Lab移动端模拟 · 四维健康度与核心指标
2026-09-09 · v13.4.1
44
性能
100
可访问性
100
最佳实践
100
SEO
LCP · 最大内容绘制83.57 s
CLS · 累积布局偏移0.000
TBT · 主线程阻塞434 ms
FCP · 首次内容绘制54.54 s
展开 Lighthouse 诊断明细(12 项)

Minimize main-thread work

6.7 s

Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work

Image elements do not have explicit `width` and `height`

Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions

Reduce unused CSS

Est savings of 202 KiB

Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. Learn how to reduce unused CSS.

Reduce unused JavaScript

Est savings of 448 KiB

Reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity. Learn how to reduce unused JavaScript.

Document request latency

Est savings of 620 ms

Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.

Forced reflow

A forced reflow occurs when JavaScript queries geometric properties (such as offsetWidth) after styles have been invalidated by a change to the DOM state. This can result in poor performance. Learn more about forced reflows and possible mitigations.

Network dependency tree

Avoid chaining critical requests by reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load.

好设计,具体好在哪

高度统一的品牌氛围与细腻的深色调质感

采用深基色 #0d1117 配以细腻的紫光渐变、精练的 Mona Sans 字体排印以及精准的强调绿(#08872b / #238636),迅速确立了极高的技术专业度与品牌信服力。

低摩擦的行内即时注册入口

将邮箱输入框与高对比度的“Sign up for GitHub”主按钮紧密结合,消除了繁琐的跳转路径,在首屏即可直接承接开发者的注册意向。

最值得先改的几件事

  1. 01

    修复移动端顶部通知横幅的层叠冲突

    在 390px 移动视口中,“Join GitHub Copilot Day...”文本与汉堡菜单、Octocat 图标及“Sign in”按钮在同一水平区域重叠,破坏了导航可读性与可操作性。

    将顶部通知横幅作为独立流式块置于导航栏上方,确保移动端导航栏具有充分的顶部间距或标准块级堆叠。在 Chrome 开发者工具 390px 视口下验证文本与导航控件之间完全无重叠。

  2. 02

    区分首屏双 CTA 的层级与决策分流

    将“Sign up for GitHub”与“Download GitHub Copilot app”并列呈现且缺乏引导说明,会让访客困惑是否需要先注册账号再下载客户端,增加了决策摩擦。

    保持邮箱注册表单为首要视觉焦点,并在下载按钮旁增加微文案或轻量说明,提示 Copilot 应用需配合账号使用,监测两者的点击流向与转化率。

配色、字体排印与代码变量

深色底 · 黑白极简正文对比度 18.9:1 AAA
点击任意色块直接复制 HEX
github.com

Mona Sans

+ Mona Sans VF

ABCDEFGHIJKLMNOPQRSTUVWXYZ · 0123456789

GitHub 将自身呈现为一个集成 AI 与协作功能的开发者平台,提供快速注册和 Copilot 应用下载入口。

字阶比例

64px / 14px

标题约为正文 4.57×

阅读节奏

行高 21px

字重 425 · 字距 -2.24px

圆角轮廓

6px按钮
8px输入框
/* Extracted design tokens from github.com via VibeCheck */
:root {
  --color-bg: #0d1117;
  --color-ink: #ffffff;
  --font-display: "Mona Sans", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --font-body: "Mona Sans VF", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --text-h1: 64px;
  --text-body: 14px;
  --leading-body: 21px;
  --tracking-display: -2.24px;
  --radius-button: 6px;
  --radius-field: 8px;
  --space-section: 0px;
  --shadow-surface: rgb(25, 31, 27) 0px -1px 0px 0px inset;

  /* Source custom properties sample */
  --ansi-blue: #58a6ff;
  --ansi-yellow: #d29922;
  --base-size-8: .5rem;
  --base-size-36: 2.25rem;
  --border-muted: .0625rem solid #3d444db3;
  --bgColor-black: #010409;
  --bgColor-white: #fff;
  --fgColor-white: #fff;
}

文案润色对照

现在

The future of building happens together

建议改写

Build, automate, and secure software with AI

现有标题偏向抽象品牌口号。更具结果导向的标题能让初次访问者迅速了解 GitHub 全流程 AI 开发能力。

逐项依据

标题是品类套话,不是主张

转化高优

品类句读完,陌生人复述不出你在卖什么。承诺具体了,转化才开始。

→ 一行里写出给谁、干什么、得到什么。删掉“the easiest way to”。

The future of building happens together

线上页没有统计

转化中优

看不到谁跳出,就不知道下一次修改有没有用。没有计数就等于盲飞。

→ 在公开页放上 Plausible、PostHog 或 GA4。一段脚本就够。

no gtag / plausible / posthog / umami

图片没有 alt

转化中优

没有 alt,读屏到这里就断了,搜索也会减分。装饰图可以 alt="",内容图不行。

→ 产品和照片写短 alt。纯装饰才用空 alt。

17 images without alt

HTML 体积过大

上线中优

首包超过 350 KB,多半是内联垃圾:整份 CSS、JSON,或整个应用。手机还没看到标题就已经在付钱。

→ 把 CSS 和数据移出文档。首包 HTML 控制在 200 KB 以内。

563 KB HTML

标签标题和 H1 对不上

转化

标签、分享卡、首屏各说各的,访客就记不住这是同一个产品。

→ 让 title、og:title 和 H1 共用同一个名词。

title="GitHub · Change is constant. GitHub keeps you ahead. · GitHub" h1="The future of building happens together"

移动端顶部导航元素与横幅文本碰撞

品味高优

在 390px 屏幕下,“Join GitHub Copilot Day, live on Sept 10...”直接穿插在汉堡菜单与 Logo 后方,暴露出移动端上线审核的细节缺失。

→ 确保通知横幅容器采用 position: relative 并占据正常文档流高度,或通过动态计算高度将导航栏向下偏移。在 375px 和 390px 视口下验证无遮挡。

Join GitHub Copilot Day, live on Sept 10. Come for the product news, stay for the demos, live coding, and surprises.Set your reminder Navigation Menu Platform

直接复制给你的 AI Agent

按需切换修复当前页、做同款参考、导出 DESIGN.md 或保存为项目级 SKILL.md。

粘贴到 Claude Code / Cursor 对话框查看全局品味规范 →
修复 GitHub 首页移动端顶部通知横幅与导航栏的层叠重叠缺陷。

问题描述:
在移动端视口(390px 宽)下,顶部活动横幅文字('Join GitHub Copilot Day, live on Sept 10...')与导航栏内的汉堡菜单图标、GitHub Logo 以及“Sign in”按钮发生物理重叠,影响可读性与操作。

修改需求:
1. 调整头部布局结构,使通知横幅处于独立的文档流块中,具备完整的空间高度。导航栏若处于 sticky 或 fixed 状态,必须明确位于横幅下方,避免负边距与 z-index 层叠混乱。
2. 严格保留设计令牌:背景色 #0d1117,字体栈 'Mona Sans VF', 'Mona Sans',正文 14px,按钮圆角 6px,输入框圆角 8px,主按钮背景色 #08872b / #238636。
3. 在断点低于 63.25rem(--brand-breakpoint-large)时,调整通知文案排版或支持折叠收起,禁止与导航栏按钮产生任何接触或遮挡。
4. 在 375px、390px 和 414px 视口下测试,确认横幅、汉堡菜单按钮、Logo 与 Sign in 按钮间距正常且无任何穿透现象。
全部气质库 →