Files
PolyHermes/frontend/public/favicon.svg
T
WrBug 07d1b50b9b feat: 实现公告板功能
- 后端:从 GitHub Issues API 获取公告数据
  - 支持筛选指定 assignees 的评论
  - 支持排除指定 issue 的评论
  - 从评论第一行提取标题(移除 Markdown 格式)
  - 支持获取 reactions 数据(+1、heart、laugh 等)
  - 实现 10 分钟缓存机制
  - 强制刷新时,如果被限流则保留缓存数据
  - 添加 GitHub API 健康检查

- 前端:公告列表和详情页面
  - 响应式设计(移动端和桌面端)
  - 移动端使用侧边抽屉显示列表
  - 支持 Markdown 渲染
  - 支持内容折叠(超过 30 行)
  - 显示 reactions(使用 emoji)
  - 添加刷新按钮(支持强制刷新)
  - 公告菜单项放在第一位
  - 默认页面改为公告页

- 其他:
  - 更新 favicon 为 SVG 格式
  - 添加 GitHub API 限流方案文档
  - 添加 GitHub Token 配置文档
2025-12-07 16:15:59 +08:00

63 lines
1.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<!-- 背景色(标题背景色 #001529 -->
<rect width="64" height="64" fill="#001529" />
<defs>
<linearGradient id="logoGradient" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#69c0ff" />
<stop offset="100%" stop-color="#b37feb" />
</linearGradient>
</defs>
<!-- 主图标设计:双箭头连接,代表跟单交易 -->
<!-- 左侧箭头(指向中心) -->
<path
d="M 16 32 L 8 24 L 8 40 Z"
fill="url(#logoGradient)"
/>
<!-- 中心连接线(代表跟单连接) -->
<line
x1="20"
y1="32"
x2="44"
y2="32"
stroke="url(#logoGradient)"
stroke-width="3"
stroke-linecap="round"
/>
<!-- 右侧箭头(指向中心) -->
<path
d="M 48 32 L 56 24 L 56 40 Z"
fill="url(#logoGradient)"
/>
<!-- 中心圆点(代表交易节点/数据同步点) -->
<circle
cx="32"
cy="32"
r="5"
fill="url(#logoGradient)"
/>
<!-- 装饰性数据流弧线(代表实时数据同步) -->
<path
d="M 20 20 Q 32 14 44 20"
stroke="url(#logoGradient)"
stroke-width="2"
fill="none"
opacity="0.5"
stroke-linecap="round"
/>
<path
d="M 20 44 Q 32 50 44 44"
stroke="url(#logoGradient)"
stroke-width="2"
fill="none"
opacity="0.5"
stroke-linecap="round"
/>
</svg>