Claude/fix blog redirect issue v qf xk#3755
Open
tyr542 wants to merge 165 commits intotangly1024:mainfrom
Open
Claude/fix blog redirect issue v qf xk#3755tyr542 wants to merge 165 commits intotangly1024:mainfrom
tyr542 wants to merge 165 commits intotangly1024:mainfrom
Conversation
進度條改導圓角
加高進度條
標題改成襯線體
文字對齊圖片
覆蓋原本的CSS
問題:過度移除 Tailwind class 導致排版跑掉 - group class 是 Tailwind group-hover 功能必要的 - 佈局相關的 flex, w-full, md:w-7/12 等不應移除 修正策略: - 保留所有佈局相關的 Tailwind class - 只抽取「顏色」相關的樣式到 custom.css(如 accent-hover, tag-pill) - 不再過度抽取佈局樣式
這三個文件不應該被修改,只有顏色相關的樣式才應該整合到 custom.css
- Quote:移除背景和引號水印,改用透明背景 + 強調色左邊框 + 斜體 - Callout:移除紅色標題和白灰漸層,改用淡米灰背景 + 強調色左邊框 + 深墨色宋體標題 - 兩者視覺上有明確區隔:Quote 更輕盈(透明),Callout 有淡背景
- Quote:加淡米褐色背景 + 左邊框,更有存在感 - Callout:改用細邊框包圍,移除強制背景色讓 Notion 原生顏色生效
- 新增 .text-accent, .hover-accent, .bg-accent 等強調色 utility - 新增 .nav-blur 導航模糊效果 - 新增 .pagination-item 分頁按鈕樣式 - 新增 .header-hero z-index 設定 - 新增 .busuanzi-hidden 初始隱藏狀態 - 移除重複的選擇器定義
- hover:text-[#8c7b75] → accent-hover - tag 樣式改用 tag-pill class
Notion 於 2026/2/7 更新了內部 API 回應格式,資料多了額外的巢狀層級, 導致 NotionNext 無法正確解析文章資料,所有文章頁面顯示 404。 修復內容(參考上游 tangly1024/NotionNext commit 3219205): - 新增 normalizeNotionMetadata: 處理 metadata 多層嵌套 - 新增 normalizeCollection: 解包 collection 最多 3 層嵌套 - 新增 normalizeSchema: 標準化 schema 欄位定義 - 新增 normalizePageBlock: 解包 page block 最多 5 層嵌套 - 新增 cleanBlocksWithWarn: 清理 blockMap 中無效的 block https://claude.ai/code/session_01UKxFp8MwJcNcMG5yvoQ4np
|
@claude is attempting to deploy a commit to the tangly1024's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
已知问题
解决方案
.env.local迁移到package.jsonpackage.json读取版本号改动收益
package.json读取具体改动
blog.config.js测试确认