2.5.0-alpha
·
184 commits
to main
since this release
[2.5.0-alpha] - 2024-7-22
Features
- 新增返回顶部按钮
- 新增适用于平板的界面样式
- 新增文章、仓库卡片的样式
- 新增导航栏图标,适配平板样式
- 现在你可以通过
consts.ts
自定义主题中的辅助文字内容
Refactored
- 全面重写页面,将原本的元素内滚动改成了通过 grid 搭建的页面,解决了无法平滑跳转、滚动条乱飞的问题。现在整个页面成为一个更紧密结合的整体
- 侧边栏重写,使用 sticky 定位,添加了图标
- 重写文章、仓库卡片的样式,现在文章的标题、简介不再会被隐藏而是会自动适应
- 重写文章、仓库卡片在小屏幕下的样式
- 重写按钮的样式,现在它们被集成到侧边栏中,而不是脱离于主页面
- 重写目录的样式,现在它会自动生成在侧边栏中
Fix
- 修复了原 tag 文件中变量的命名问题
- 统一了 Astro.props 的格式(使用断言)
- 修复了文章标题、简介过长导致的溢出问题
EN
[2.5.0-alpha] - 2024-07-22
Features
- Added a "Back to Top" button
- Added interface styles for tablets
- Added styles for article and repository cards
- Added navigation bar icons with tablet-style adaptation
- You can now customize the auxiliary text content in the theme through
consts.ts
Refactored
- Completely rewritten the page: converted from internal scrolling elements to a grid-based layout, solving issues with smooth transitions and erratic scrollbars. The entire page is now a more cohesive whole.
- Sidebar rewritten with sticky positioning and added icons
- Rewritten styles for article and repository cards: titles and descriptions are now automatically adjusted rather than hidden
- Rewritten styles for article and repository cards on small screens
- Rewritten button styles: integrated into the sidebar instead of being detached from the main page
- Rewritten styles for the table of contents: now automatically generated in the sidebar
Fix
- Fixed variable naming issues in the original tag files
- Unified the format of
Astro.props
(using assertions) - Fixed overflow issues caused by overly long article titles and descriptions