Skip to content

Commit

Permalink
feat: Add changelog component and styling
Browse files Browse the repository at this point in the history
- Install vite-plugin-markdown for parsing markdown files
- Add Changelog component to WelcomeModal
- Implement changelog-related styles in app.css
- Update vite config to use markdown plugin
- Declare .md module type in vite-env.d.ts
- Minor code cleanup in WelcomeModal component
  • Loading branch information
iFwu committed Oct 8, 2024
1 parent a87b20c commit 666c21b
Show file tree
Hide file tree
Showing 8 changed files with 247 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### 2024-10-08
- 增加 更新日志 显示

### 2024-10-07
- 优化 **OpenCV.js** 库加载、使用 `cdn.jsdmirror.com` 替换 `jsdelivr.net`
- **Pikafish** 使用 `xiangqiai.com` 的 wasm 版本
- 优化黑棋子识别
- 新增欢迎提示和加载界面
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"@preact/preset-vite": "^2.9.1",
"typescript": "^5.6.2",
"vite": "^5.4.8",
"vite-plugin-cdn2": "^1.1.0"
"vite-plugin-cdn2": "^1.1.0",
"vite-plugin-markdown": "^2.2.0"
},
"packageManager": "[email protected]",
"homepage": "https://ifwu.github.io/xiangqi-analysis/",
Expand Down
131 changes: 131 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 666c21b

Please sign in to comment.