Conversation
- 清理 MainPage.js 中未使用的 randomSort、extractTags 和 toggleTagButton 导入 - 显式引入 lodash 库以替代可能通过其他方式隐式引入的功能
- 在 HeaderBar 组件中显示已收录网站数量 - 在 Footer 组件中显示当前应用版本号 - 将网站数量从 MainPage 传递至 HeaderBar 组件
- 重构主页布局,将标题、搜索框、标签和网站列表组件整合,优化视觉层次 - 新增关于页面(/about),展示项目理念与统计数据 - 引入 StatsContext 全局状态管理,统一管理网站数据、访问量和更新时间 - 优化 HeaderBar,集成搜索框并添加关于页面导航按钮 - 改进 Notion 数据获取逻辑,添加内存缓存减少 API 调用 - 更新多个组件的样式,采用现代化设计语言(渐变、阴影、动效) - 修复数据加载逻辑,避免空数据时的处理错误 - 将标签过滤函数 updateResults 改为纯函数,提高可测试性
替换原有的静态 ICO 文件为 SVG 格式的 favicon,使其能根据系统或用户选择的主题(浅色/深色)动态切换。在 `_document.js` 中初始化 favicon 并监听系统主题变化,同时在 `ThemeContext` 中同步 favicon 的切换逻辑,确保视觉一致性。更新 README 以反映此新特性。
修复移动端主题色未随主题切换同步更新的问题,同时为html和body元素应用相同背景色以解决滚动回弹时背景色不一致的视觉缺陷。
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
No description provided.