feat(about): 增强个人介绍页面功能与样式
- 添加简介文本折叠/展开功能 - 实现导航栏滚动时的视觉变化效果 - 为姓名和角色标题添加动画渐变效果 - 更新技能标签云的动画和布局 - 优化GitHub数据获取逻辑,支持分页加载更多仓库 - 移除旧的缓存配置,简化代码结构 - 调整响应式设计中的评论框内边距 - 统一文本对齐方式并增强可读性 - 修复技能展示区域的marquee动画实现 - 添加新的CSS工具类以支持动态交互效果
This commit is contained in:
26
js/config.js
26
js/config.js
@@ -34,33 +34,11 @@ const SiteConfig = {
|
||||
|
||||
// about.js 配置
|
||||
github: {
|
||||
username: 'listener-He',
|
||||
cache: {
|
||||
cacheKey: "gh_data_v2",
|
||||
stats: {
|
||||
key: 'github_stats_cache',
|
||||
timeKey: 'github_stats_cache_time',
|
||||
expirationDays: 3
|
||||
},
|
||||
projects: {
|
||||
key: 'github_projects_cache',
|
||||
timeKey: 'github_projects_cache_time',
|
||||
expirationDays: 3
|
||||
},
|
||||
commits: {
|
||||
key: 'github_commits_cache',
|
||||
timeKey: 'github_commits_cache_time',
|
||||
expirationHours: 24
|
||||
}
|
||||
}
|
||||
username: 'listener-He'
|
||||
},
|
||||
|
||||
blog: {
|
||||
rssUrl: 'https://blog.hehouhui.cn/api/rss',
|
||||
cache: {
|
||||
key: 'blog_articles_cache',
|
||||
expirationDays: 1
|
||||
}
|
||||
rssUrl: 'https://blog.hehouhui.cn/api/rss'
|
||||
},
|
||||
|
||||
// 通用缓存键与TTL(毫秒)
|
||||
|
||||
Reference in New Issue
Block a user