diff --git a/README.md b/README.md index efb081d..39610b1 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,15 @@ yarn preview ### 近期 +✅ - 已完成 | 🚧 - 进行中 | ⏳ - 计划中 + | 状态 | 项目 | | --- | --- | -| ⏳ | 重构部分代码,优化总体结构 | -| ⏳ | 优化动画效果 | -| ⏳ | 优化网站性能 | +| ✅ | 基础功能实现 | +| 🚧 | 重构部分代码,优化总体结构 | +| 🚧 | 优化动画效果 | +| 🚧 | 移动端适配 | +| 🚧 | 优化网站性能 | | ⏳ | 可调的颜色 | | ⏳ | 添加 RSS、SiteMap 等功能 | | ⏳ | 更多构建选项(如 SLUG 生成方法) | diff --git a/README_en.md b/README_en.md index eb71035..4256c40 100644 --- a/README_en.md +++ b/README_en.md @@ -51,14 +51,18 @@ yarn preview ### Short-term +✅ - Completed | 🚧 - In Progress | ⏳ - Planned + | Status | Project | | --- | --- | -| ⏳ | Refactor some code and optimize the overall structure | -| ⏳ | Optimize animation effects | -| ⏳ | Optimize website performance | +| ✅ | Basic functionality implementation | +| 🚧 | Refactor some code and optimize overall structure | +| 🚧 | Optimize animation effects | +| 🚧 | Mobile adaptation | +| 🚧 | Optimize website performance | | ⏳ | Adjustable colors | -| ⏳ | Add RSS, SiteMap, and other features | -| ⏳ | More build options (e.g., SLUG generation methods) | +| ⏳ | Add RSS, SiteMap, etc. | +| ⏳ | More build options (e.g., SLUG generation method) | | ⏳ | Add Live2D character | | ⏳ | Search functionality | | ⏳ | i18n | diff --git a/astro.config.mjs b/astro.config.mjs index d65cfb4..874a43c 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -18,8 +18,10 @@ export default defineConfig({ containers: ['main', '.dynamic-ele'], smoothScrolling: true, progress: true, - // cache: true, - // preload: true, + cache: true, + preload: true, + updateHead: true, + updateBodyClass: false, // accessibility: true, globalInstance: true, }), diff --git a/src/components/Copyright.astro b/src/components/Copyright.astro index 1cd69e2..70d3a7d 100644 --- a/src/components/Copyright.astro +++ b/src/components/Copyright.astro @@ -21,35 +21,37 @@ const { title, published } = Astro.props; ---
-
-

{title}

- -
-
-
- 作者 -

{YukinaConfig.Username}

-
-
- 发布日期 -

{formatDate(published)}

-
-
- 许可协议 +
+
+

{title}

CC BY-NC-SA 4.0 + class="text-sm px-1 py-0.5 rounded-md transition-all hover:bg-[var(--primary-color-lighten)]" + id="post-url" + href=""> +
+
+
+ 作者 +

{YukinaConfig.Username}

+
+
+ 发布日期 +

{formatDate(published)}

+
+
+ 许可协议 + CC BY-NC-SA 4.0 +
- - diff --git a/src/components/NavBar.astro b/src/components/NavBar.astro index 48fb517..ea9b16d 100644 --- a/src/components/NavBar.astro +++ b/src/components/NavBar.astro @@ -31,9 +31,9 @@ import { YukinaConfig } from "../../yukina.config";

关于

- +