Skip to content

style(www): 更新官网品牌视觉主题#422

Merged
pionxe merged 3 commits into1024XEngineer:mainfrom
Yumiue:codex/upstream-pages-followup
Apr 23, 2026
Merged

style(www): 更新官网品牌视觉主题#422
pionxe merged 3 commits into1024XEngineer:mainfrom
Yumiue:codex/upstream-pages-followup

Conversation

@Yumiue
Copy link
Copy Markdown
Collaborator

@Yumiue Yumiue commented Apr 23, 2026

背景

官网需要切换到新的 NeoCode 品牌图标,并让整体视觉主题与深蓝黑 + 蜜桃橙的品牌风格保持一致。

当前修改

  • 将 VitePress 站点 favicon、导航 logo、Hero 图片和 OG 图片统一切换为新的 PNG 品牌图标。
  • 更新首页 Hero、功能卡片、快速开始区块和文档代码块的全局主题样式。
  • 删除旧的 SVG 品牌图标,避免继续引用过时资产。

验证

  • pnpm docs:build

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

@fennoai fennoai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Focused review completed (code quality, performance, security, docs).

I found 3 noteworthy issues: one functional copy-state bug, one lifecycle cleanup issue, and one command-documentation mismatch.

textarea.style.opacity = '0'
document.body.appendChild(textarea)
textarea.select()
document.execCommand('copy')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document.execCommand('copy') returns a boolean and may fail without throwing. In that case this code still reports copy success. Please check the return value and surface failure (e.g., throw when it returns false) so the button state is accurate.


// scheduleReset 用于在提示短暂展示后恢复默认文案。
function scheduleReset() {
resetTimer = window.setTimeout(() => {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resetTimer is never cleared on component unmount. If navigation happens before timeout fires, the callback still runs and mutates stale component state. Add onBeforeUnmount(() => clearResetTimer()) to avoid timer leaks and stale updates.

<CodePanel language="powershell" label="PowerShell" :code="envWindows" />
<div class="quickstart-links">
<p>Workspace isolation: <code>--workdir</code></p>
<p>Gateway mode: <code>--runtime-mode gateway</code></p>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs still advertise --runtime-mode gateway, but CLI help only supports gateway as a subcommand (neocode gateway). This guidance leads to a non-working command (same issue is duplicated again later in this file).

@pionxe pionxe merged commit a5275e5 into 1024XEngineer:main Apr 23, 2026
2 checks passed
@Yumiue Yumiue deleted the codex/upstream-pages-followup branch April 23, 2026 11:06
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.

2 participants