Skip to content

优化几何旋转,并改为学者式导航与 Dashboard 主页 - #6

Merged
cursor[bot] merged 3 commits into
masterfrom
cursor/dashboard-nav-geometry-8d24
Nov 3, 2026
Merged

cursor[bot] merged 3 commits into
masterfrom
cursor/dashboard-nav-geometry-8d24

Conversation

@Musicaldg

@Musicaldg Musicaldg commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

围绕四项改动:几何 3D 绕轴旋转、About/CV 导航、首页 Dashboard、Blog 系列折叠(更大卡片)。

改动

  1. 几何装饰:去掉 SVG 平面自转;用 CSS rotate3d + 本地 perspective 绕倾斜轴旋转;去掉会打断透视的 scale 动画;放大容器并缩小图形,避免上下裁切。
  2. 导航:右上角 Home / About / CV / Blog / GitHub;新增 content/pages/about.md、cv.md(占位,未编造经历)。
  3. 首页 Dashboard:近况(content/news.json)+ 最新写作(最近系列文件夹 + 少量独立文),不再铺满全部文章。
  4. Blog:引入可折叠系列,内部用更大的 roomy 卡片(摘要常显);独立文章仍在「其他文章」。

验证

  • python3 scripts/build.py + scripts/check.py
  • 桌面截图:首页 Dashboard、几何多角度、About/CV、Blog 折叠/展开

首页 Dashboard
几何 3D 角度
About
Blog 系列展开

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Note

Low Risk
Static site generation, styling, and content layout only; no auth, APIs, or sensitive data handling.

Reviewed by Cursor Bugbot for commit 163e204. Bugbot is set up for automated code reviews on this repo. Configure here.

cursoragent and others added 3 commits November 3, 2026 20:05
Move spin out of the SVG into CSS rotate3d with local perspective, and give the mark more room so mid-rotation edges are no longer clipped.

Co-authored-by: Jingwei Yuan <Musicaldg@users.noreply.github.com>
Add About and CV pages to the top nav, limit the homepage to news plus latest writing, and show roomier foldable series cards on the blog index.

Co-authored-by: Jingwei Yuan <Musicaldg@users.noreply.github.com>
Keep the dashboard section titles aligned with the English top nav.

Co-authored-by: Jingwei Yuan <Musicaldg@users.noreply.github.com>
@cursor
cursor Bot merged commit 8fc4439 into master Nov 3, 2026
3 checks passed

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 163e204. Configure here.

Comment thread scripts/build.py
obsolete.startswith('blog/')
or obsolete.startswith('series/')
or top in page_slugs
):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Deleted pages stay published

Medium Severity

Obsolete-page cleanup checks top in page_slugs, but page_slugs is the current page set. A removed page is therefore never obsolete-and-current at once, so its index.html is left on disk. After the next build it also drops out of generated-files.json, so GitHub Pages keeps serving the withdrawn page.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 163e204. Configure here.

Comment thread assets/style.css
.post-card-compact .card-summary { transition: none; }
.geometry-glow { animation: none; }
.geometry-glow,
.geometry-stage { animation: none; }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Roomy cards ignore reduced motion

Low Severity

series-card-in now runs on .post-card-roomy inside series folders, but the prefers-reduced-motion override still only disables animation on .post-card-compact. Users who request reduced motion still get the enter animation on Blog series cards.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 163e204. Configure here.

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