feat: add notice modal component with empty state support

This commit introduces the following changes:

- Create a reusable NoticeModal component to handle system announcements
- Extract notice functionality from Home and HeaderBar components
- Add loading and empty states using Semi UI illustrations
- Implement "close for today" feature with localStorage
- Support both light and dark mode for empty state illustrations
- Add proper error handling and loading states
- Improve code reusability and maintainability

Breaking changes: None
Related components: HeaderBar.js, Home/index.js, NoticeModal.js
This commit is contained in:
Apple\Apple
2025-05-26 23:06:55 +08:00
parent acdfd86286
commit e85f687c6b
4 changed files with 125 additions and 50 deletions

View File

@@ -1529,5 +1529,7 @@
"系统公告": "System Notice",
"今日关闭": "Close Today",
"关闭公告": "Close Notice",
"搜索条件": "Search Conditions"
"搜索条件": "Search Conditions",
"加载中...": "Loading...",
"暂无公告": "No Notice"
}