Skip to content

Releases: EveSunMaple/Frosti

2.6.1

21 Sep 15:38
Compare
Choose a tag to compare

[2.6.1] - 2024-9-21

Features

  • consts.ts 中新增了 USER_SITE ,用来生成网站底部卡片的链接
  • 添加了网站加载时的进度条

Refactored

  • 修改了 swup 的配置项

Fix

  • 修复了文章在标签、分类过多时按钮溢出的问题
  • 修复了一堆拼写错误(存在于 2.6.0 的 release 中)
  • 删除了在 LinkCard 中不恰当的图片放大功能
  • 移除了 transition.scss ,改用 swup 默认主题代替(我不知道这对改善崩溃问题是否有用)

[2.6.1] - 2024-09-21

Features

  • Added USER_SITE in consts.ts to generate links for the footer card of the website.
  • Added a progress bar for the website loading.

Refactored

  • Modified Swup configuration options.

Fix

  • Fixed the issue of buttons overflowing when there are too many tags or categories in an article.
  • Corrected a number of spelling errors (existing in the 2.6.0 release).
  • Removed the inappropriate image zoom feature in LinkCard.
  • Removed transition.scss and replaced it with Swup's default theme (not sure if this helps with crash issues).

What's Changed

New Contributors

Full Changelog: v2.6.0...v2.6.1

2.6.0

15 Sep 06:27
Compare
Choose a tag to compare

[2.6.0] - 2024-9-15

Features

  • 新增了导航栏的逻辑,现在点击按钮也可以收回(🚧 此内容可能存在问题,需要收集更多信息 🚧)

  • 为每一个标题添加了按钮,您可以将指针放在标题上,点击按钮即可跳转

  • 为卡片图片添加了一个跳转样式,鼠标放上后会有一个放大的动画与箭头

  • 为链接添加了新的样式,现在它们更生动、更引人注目

  • 添加了字数统计与阅读时间计算的功能,您可以在博客中看到它们的统计结果

  • 新增分享功能,现在您可以通过文末按钮直接将文章分享到社交媒体上

  • 新增 i18n ,移除了老旧的 infoTest ,现在所有的语言都在 public/locales 文件夹中

    这意味着您可以添加多种语言并随时切换,教程如下:

    1. public/locales 文件夹中添加您的语言文件,先添加一个名为语言代码的文件夹,然后在里面添加一个 json 文件,文件名必须为 translation.json

    2. 复制已有的 translation.json 文件,然后修改其中的内容,比如:

      {
      "label": {
        "noTag": "No tags assigned",
        "tagCard": "Tags",
        "tagPage": "Tag - ",
        "noCategory": "No categories assigned",
        "categoryCard": "Categories",
        "categoryPage": "Category - ",
        "link": "Link: ",
        "prevPage": "Recent posts",
        "nextPage": "Older posts",
        "wordCount": "words",
        "readTime": "minutes"
        }
      }
    3. astro-i18next.config.mjs 中添加您的语言代码,比如:

      export default {
      defaultLocale: "en",
      locales: ['en', 'zh', 'xx'] // 这里添加您的语言代码
      };
    4. 在 'BaseLoyout.astro' 中更改为您的语言代码,比如:

      ...
      import i18next, { t, changeLanguage } from "i18next";
      
      changeLanguage("xx");
      ...

Note

欢迎大家为主题添加语言支持!

Refactored

  • 新增 docs 文件夹
  • 修改了 blockquote 的内边距
  • 修改标签页标题,坚持内容优先,把 ${SITE_TAB} - ${title} 改成了 ${title} - ${SITE_TAB}

Fix

  • 修复了在标题与 alert 中错误的外链 svg 样式
  • 修复了 toc 错误获取 # 的问题
  • 修复了导航栏逻辑

[2.6.0] - 2024-9-15

Features

  • Added logic to the navigation bar; you can now retract it by clicking the button as well (🚧 This content may have issues and requires further information 🚧)

  • Added buttons to each title; you can hover over a title and click the button to jump to that section

  • Added a hover style to card images, which includes a zoom animation and an arrow

  • Added new styles for links, making them more dynamic and eye-catching

  • Added word count and reading time calculation features; you can now see these statistics in the blog

  • Added a share feature, so you can now directly share articles to social media using the button at the end of the post

  • Added i18n support and removed the outdated infoTest; now all languages are located in the public/locales folder

    This means you can add multiple languages and switch between them anytime. Here’s how:

    1. Add your language files in the public/locales folder. First, create a folder named with the language code, then add a JSON file inside it named translation.json.

    2. Copy an existing translation.json file and modify its contents as needed. For example:

      {
      "label": {
        "noTag": "No tags assigned",
        "tagCard": "Tags",
        "tagPage": "Tag - ",
        "noCategory": "No categories assigned",
        "categoryCard": "Categories",
        "categoryPage": "Category - ",
        "link": "Link: ",
        "prevPage": "Recent posts",
        "nextPage": "Older posts",
        "wordCount": "words",
        "readTime": "minutes"
        }
      }
    3. Add your language codes in astro-i18next.config.mjs, for example:

      export default {
      defaultLocale: "en",
      locales: ['en', 'zh', 'xx'] // Add your language codes here
      };
    4. Change to your language code in 'BaseLayout.astro', for example:

      ...
      import i18next, { t, changeLanguage } from "i18next";
      
      changeLanguage("xx");
      ...

Note

We welcome everyone to add language support to the theme!

Refactored

  • Adjusted the padding for blockquotes
  • Updated tab titles to prioritize content, changing ${SITE_TAB} - ${title} to ${title} - ${SITE_TAB}

Fix

  • Fixed incorrect external SVG styles in titles and alerts
  • Fixed issue with incorrect retrieval of # in TOC
  • Fixed navigation bar logic

What's Changed

  • ✨ (Header.astro): replace dropdown div with details and summary eleme… by @yaotutu in #34

New Contributors

Full Changelog: v2.5.7...v2.6.0

2.5.7

07 Sep 14:25
Compare
Choose a tag to compare

[2.5.7] - 2024-9-7

Features

Refactored

Fix

  • 修复了评论系统反应表情加载不出来的问题(图床垮了)@EveSunMaple
  • 修复了 global.scss 中错误的 applt 拼写 @EveSunMaple

EN

[2.5.7] - 2024-09-07

Features

Refactored

  • Updated the styles of the ProjectCard @YaoqxCN
  • Updated the styles of the TimeLine @EveSunMaple
  • Updated the styles of the comment system @EveSunMaple
  • Modified the comment system's positioning ID to prevent it from being overwritten @EveSunMaple

Fixes

  • Fixed the issue with emoji reactions not loading in the comment system (image hosting service was down) @EveSunMaple
  • Fixed the misspelling of "applt" in global.scss @EveSunMaple

What's Changed

Full Changelog: v2.5.6...v2.5.7

2.5.6

22 Aug 14:32
Compare
Choose a tag to compare

[2.5.6] - 2024-8-22

Features

  • 添加了图片放大功能(仅对 BaseCard 中的图片有效)

Refactored

  • 根据用户反馈,回退了手机端导航栏的逻辑
  • 修改了在博客页面下标签栏的标题

[2.5.6] - 2024-8-22

Features

  • Added image zoom functionality (effective only for images within BaseCard)

Refactored

  • Reverted the logic of the mobile navigation bar based on user feedback
  • Updated the title of the tab bar on the blog page

Full Changelog: v2.5.5...v2.5.6

2.5.5

18 Aug 00:42
Compare
Choose a tag to compare

[2.5.5] - 2024-8-18

Features

  • 添加了置顶功能,现在你可以给文章 badge 属性 设置为 Pin 来置顶你的文章

Refactored

  • 清理了项目代码
  • 修改了侧边卡片的样式
  • 修改了原 DaisyUI 内建的逻辑,改成点击按钮收回而不是点击外部收回

EN

[2.5.5] - 2024-8-18

Features

  • Added a pinning feature. You can now set the badge property of a post to Pin to pin your articles.

Refactored

  • Cleaned up project code.
  • Modified the style of the sidebar cards.
  • Changed the original DaisyUI built-in logic to retract on button click instead of clicking outside.

Full Changelog: v2.5.4...v2.5.5

2.5.4-hotfix.1

12 Aug 23:45
Compare
Choose a tag to compare

[2.5.4-hotfix.1] - 2024-8-13

Fix

  • 修复了搜索组件无法正常加载的问题

EN

[2.5.4-hotfix.1] - 2024-08-13

Fix

  • Fixed an issue where the search component was not loading correctly.

Full Changelog: v2.5.4...v2.5.4-hotfix.1

2.5.4

12 Aug 12:10
Compare
Choose a tag to compare

[2.5.4] - 2024-8-12

Fix

  • 修复了目录没有被正确更新的问题
  • 修复了文章搜索框没有正确显示的问题
  • 修复了文章里面 Code 的复制按钮丢失的问题

EN

[2.5.4] - 2024-08-12

Fixes

  • Fixed an issue where the table of contents was not updating correctly.
  • Fixed an issue where the article search box was not displaying correctly.
  • Fixed an issue where the copy button for code snippets within articles was missing.

Full Changelog: v2.5.3...v2.5.4

2.5.3

12 Aug 03:28
Compare
Choose a tag to compare

[2.5.3] - 2024-8-12

Features

  • 添加了页面跳转的动画

Fix

  • 修复了不规范的导航栏文本
  • 修复了在不同主题下跳转页面导致的闪烁问题
  • 移除了 astro:transition 改成了 swup 修复了鼠标指针的闪烁问题

EN

[2.5.3] - 2024-8-12

Features

  • Added page transition animations

Fixes

  • Fixed inconsistent navigation bar text
  • Resolved flickering issue when navigating pages under different themes
  • Replaced astro:transition with swup to fix mouse pointer flickering issue

Full Changelog: v2.5.2...v2.5.3

2.5.2

07 Aug 08:53
Compare
Choose a tag to compare

[2.5.2] - 2024-8-7

Features

  • 改进了 TimeLine 的格式,现在比之前方便多了
  • 在侧边栏添加分类与标签卡片,移除原来的分类页面

Refactored

  • 修改了卡片样式
  • 修改了链接样式
  • 清理了原评论系统中不必要的代码

Fix

  • 修复了部分手机导航栏无法跳转的问题

EN

[2.5.2] - 2024-8-7

Features

  • Improved the TimeLine format, making it much more convenient than before
  • Added category and tag cards to the sidebar, removed the original categories page

Refactored

  • Updated card styles
  • Updated link styles
  • Cleaned up unnecessary code in the old comment system

Fix

  • Fixed some navigation issues on mobile devices

Full Changelog: v2.5.1...v2.5.2

2.5.1

04 Aug 13:30
Compare
Choose a tag to compare

[2.5.1] - 2024-8-4

Features

  • 修改了 README
  • 添加了 Vercel Web Analytics (不使用 vercel 的用户需要注意一下)

Refactored

  • 改善了整体排版,现在段落之间更清楚了
  • 修复了页脚一些奇怪的居中问题
  • 更换了 Footnotes 的卡片颜色
  • 删除了底部版权信息卡片的阴影
  • 添加了表格每一行的分割线
  • <code> 的字体稍微改大了一点

EN

[2.5.1] - 2024-08-04

Features

  • Updated the README
  • Added Vercel Web Analytics (users not using Vercel should take note)

Refactored

  • Improved overall layout, making paragraph spacing clearer
  • Fixed some unusual centering issues in the footer
  • Changed the card color for Footnotes
  • Removed the shadow from the bottom copyright information card
  • Added divider lines for each row in tables
  • Slightly increased the font size for <code> elements

Full Changelog: v2.5.0...v2.5.1