diff --git a/CHANGELOG.md b/CHANGELOG.md index a0eed94..89ca5c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -346,3 +346,15 @@ ### Fix - 修复了搜索组件无法正常加载的问题 + +## [2.5.5] - 2024-8-18 + +### Features + +- 添加了置顶功能,现在你可以给文章 badge 属性 设置为 `Pin` 来置顶你的文章 + +### Refactored + +- 清理了项目代码 +- 修改了侧边卡片的样式 +- 修改了原 DaisyUI 内建的逻辑,改成点击按钮收回而不是点击外部收回 diff --git a/package-lock.json b/package-lock.json index 33a772e..2524f22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "frosti", - "version": "2.5.4-hotfix.1", + "version": "2.5.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "frosti", - "version": "2.5.4-hotfix.1", + "version": "2.5.5", "dependencies": { "@astrojs/check": "^0.8.3", "@astrojs/mdx": "^2.3.1", diff --git a/package.json b/package.json index 1d5f40b..88f1c37 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "frosti", "type": "module", - "version": "2.5.4-hotfix.1", + "version": "2.5.5", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/src/components/Header.astro b/src/components/Header.astro index 8fc8d47..3eddb8a 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -7,27 +7,29 @@ import { SITE_TITLE } from "../consts"; class="navbar max-md:translate-y-0 fixed px-2 w-full transform -translate-y-full text-center z-50 transition-transform bg-base-100 shadow-xl" >