Skip to content

refactor: 全站 UI 重构,升级赛博朋克暗黑主题 (v0.1.7)#53

Merged
Seamain merged 48 commits intomasterfrom
develop
Mar 21, 2026
Merged

refactor: 全站 UI 重构,升级赛博朋克暗黑主题 (v0.1.7)#53
Seamain merged 48 commits intomasterfrom
develop

Conversation

@Seamain
Copy link
Copy Markdown
Owner

@Seamain Seamain commented Mar 18, 2026

变更摘要

  • 重构 AISummary、Navbar、Pagination、PostCard、Footer 等核心组件,全面升级赛博朋克暗黑视觉风格
  • 大幅更新 global.cssBasicStyle.astro,引入新配色系统与动效
  • 新增 fetchAvatar.ts 工具库,支持动态头像获取逻辑
  • Vite 配置新增 cacheDir,优化 CI 构建缓存路径
  • 新增 @rollup/rollup-linux-arm64-gnu 依赖,修复 ARM64 平台构建兼容性问题
  • 版本号升级至 v0.1.7

测试计划

  • 本地 npm run dev 验证页面渲染正常
  • 检查亮/暗模式切换效果
  • 验证文章列表、文章详情、搜索页面样式无异常
  • 确认 AI Summary 组件显示正确

🤖 Generated with Claude

Seamain and others added 30 commits November 18, 2025 09:32
* Bump follow-redirects from 1.15.3 to 1.15.6 (#2)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.3...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Seamain <quanminjun37@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Seamain <quanminjun37@gmail.com>

* Bump nanoid from 3.3.7 to 3.3.8 (#4)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump vite from 6.0.6 to 6.2.5 (#7)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.0.6 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update dependencies and refactor API interfaces

- Updated dependencies in package.json for various packages including @astrojs/rss, @astrojs/sitemap, and others.
- Refactored API calls in About.ts, Category.ts, Friend.ts, and Post.ts to remove the use of Attribute interface, simplifying data handling.
- Adjusted PostCard.astro to handle avatar URLs more gracefully.
- Removed the Attribute interface as it was no longer needed.
- Updated the Author, Category, and Post interfaces to reflect changes in data structure.
- Modified category filtering logic in [...page].astro to align with new data structure.
- Updated feed.xml.js to reflect changes in post data structure.
- Adjusted friends.astro to access friend properties directly.
- Simplified index.astro and [slug].astro to work with the new data structure.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Seamain <quanminjun37@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Seamain <quanminjun37@gmail.com>
- Updated BasicStyle.astro to ensure full width and minimum height for the body.
- Redesigned Footer.astro with a new layout and improved styling for social links and contact information.
- Revamped About page with a more structured layout, added highlight statistics, and a timeline of the author's journey.
- Improved Categories page layout with enhanced styling and a more engaging presentation of categories.
- Redesigned Friends page to better showcase friends with improved card layouts and hover effects.
- Enhanced Index page with a welcoming section and improved post card presentation.
- Updated Post page layout for better readability and visual appeal, including author and post details.
- Adjusted Tailwind CSS configuration to introduce a new breakpoint for better responsiveness.
Signed-off-by: Seamain <quanminjun37@gmail.com>
- Updated styles in Pagination, PostCard, BasicStyle, Footer, About, Categories, Friends, Index, and Post pages to support dark mode.
- Enhanced button and card styles for better visibility in dark mode.
- Added dark mode classes to various elements for improved user experience.
- Configured Tailwind CSS to enable dark mode using 'class' strategy.
Signed-off-by: Seamain <quanminjun37@gmail.com>
- Removed @astrojs/tailwind and added @tailwindcss/vite for Tailwind CSS integration.
- Updated tailwindcss to version 4.1.17.
- Imported global CSS file in BasicStyle.astro to include Tailwind CSS styles.
- Created global.css file to import Tailwind CSS.
* Bump follow-redirects from 1.15.3 to 1.15.6 (#2)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.3...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Seamain <quanminjun37@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Seamain <quanminjun37@gmail.com>

* Bump nanoid from 3.3.7 to 3.3.8 (#4)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump vite from 6.0.6 to 6.2.5 (#7)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.0.6 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update dependencies and refactor API interfaces

- Updated dependencies in package.json for various packages including @astrojs/rss, @astrojs/sitemap, and others.
- Refactored API calls in About.ts, Category.ts, Friend.ts, and Post.ts to remove the use of Attribute interface, simplifying data handling.
- Adjusted PostCard.astro to handle avatar URLs more gracefully.
- Removed the Attribute interface as it was no longer needed.
- Updated the Author, Category, and Post interfaces to reflect changes in data structure.
- Modified category filtering logic in [...page].astro to align with new data structure.
- Updated feed.xml.js to reflect changes in post data structure.
- Adjusted friends.astro to access friend properties directly.
- Simplified index.astro and [slug].astro to work with the new data structure.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Seamain <quanminjun37@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Updated BasicStyle.astro to ensure full width and minimum height for the body.
- Redesigned Footer.astro with a new layout and improved styling for social links and contact information.
- Revamped About page with a more structured layout, added highlight statistics, and a timeline of the author's journey.
- Improved Categories page layout with enhanced styling and a more engaging presentation of categories.
- Redesigned Friends page to better showcase friends with improved card layouts and hover effects.
- Enhanced Index page with a welcoming section and improved post card presentation.
- Updated Post page layout for better readability and visual appeal, including author and post details.
- Adjusted Tailwind CSS configuration to introduce a new breakpoint for better responsiveness.
- Removed @astrojs/tailwind and added @tailwindcss/vite for Tailwind CSS integration.
- Updated tailwindcss to version 4.1.17.
- Imported global CSS file in BasicStyle.astro to include Tailwind CSS styles.
- Created global.css file to import Tailwind CSS.
Signed-off-by: Seamain <quanminjun37@gmail.com>
Seamain and others added 14 commits January 18, 2026 22:00
- Updated @astrojs/rss from ^4.0.14 to ^4.0.15
- Updated @astrojs/sitemap from ^3.6.0 to ^3.7.0
- Updated @tailwindcss/vite from ^4.1.17 to ^4.1.18
- Updated @vercel/og from ^0.8.5 to ^0.8.6
- Updated astro from ^5.16.0 to ^5.16.11
- Updated satori from ^0.18.3 to ^0.19.1
- Updated tailwindcss from ^4.1.17 to ^4.1.18
Signed-off-by: Seamain <quanminjun37@gmail.com>
Signed-off-by: Seamain <quanminjun37@gmail.com>
# Conflicts:
#	package-lock.json   resolved by develop version
- 重构 AISummary、Navbar、Pagination、PostCard、Footer 等核心组件的视觉风格
- 更新 BasicStyle 布局与 global.css,引入赛博朋克配色与动效
- 新增 fetchAvatar.ts 工具库,支持动态头像获取
- Vite 配置新增 cacheDir 优化构建缓存路径
- 新增 @rollup/rollup-linux-arm64-gnu 开发依赖,解决 ARM64 构建兼容性
- 版本号升级至 0.1.7

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog-new-efr5 Ready Ready Preview, Comment Mar 21, 2026 2:25am

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 20, 2026

Deploying blog-new with  Cloudflare Pages  Cloudflare Pages

Latest commit: d6e0fdd
Status: ✅  Deploy successful!
Preview URL: https://ad4e8cea.blog-new-9i3.pages.dev
Branch Preview URL: https://develop.blog-new-9i3.pages.dev

View logs

Signed-off-by: Seamain <quanminjun37@gmail.com>
@Seamain Seamain merged commit 788886a into master Mar 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant