Skip to content

2.4.0

Compare
Choose a tag to compare
@EveSunMaple EveSunMaple released this 21 Jul 01:13
· 184 commits to main since this release

[2.4.0] - 2024-7-21

Refactored

  • 更改了 <main> 的位置,现在它只包含 card 而不包含 footer
  • 重写了有关社交链接菜单导航栏以及评论.astro 文件,现在它们通过 consts.ts 来生成其内容
  • 社交链接的 svg 与配置文件分离
  • 删去了不必要的文件与 import

Fix

  • 修复了原 JS 文件中的一堆 error ,现在它们都有了防 null 判断而不会出错
  • 指定了 page 与 post 的数据结构,现在不会报 never 错误了
  • 修复了若干错误,现在项目可以通过 npx astro check

EN

[2.4.0] - 2024-07-21

Refactored

  • Changed the position of <main> so that it now only contains the card and no longer includes the footer.
  • Rewritten .astro files related to social links, menu, navbar, and comments. They now generate their content through consts.ts.
  • Separated the SVGs for social links from the configuration file.
  • Removed unnecessary files and import statements.

Fix

  • Fixed numerous errors in the original JS files; null checks are now in place to prevent errors.
  • Specified the data structures for pages and posts; issues with 'never' errors are resolved.
  • Fixed several bugs; the project can now be verified using npx astro check.