feat(ui): 统一登录与会话页的 shadcn 交互组件
All checks were successful
CI / build (push) Successful in 2m31s

登录页切换为官方 input-group 组合并将全站提示从 antd message 统一为 sonner toast,确保通知位置与风格一致。同时补齐相关 shadcn CLI 生成组件及构建配置更新。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-12 18:33:57 +08:00
parent 2f901c5488
commit 8018438f42
25 changed files with 11931 additions and 4746 deletions

View File

@@ -14,8 +14,8 @@ RUN yarn build
FROM nginx:1.27-alpine AS runner
WORKDIR /usr/share/nginx/html
# 覆盖默认站点配置,启用 SPA 回退与缓存策略
COPY nginx.conf /etc/nginx/conf.d/default.conf
# 使用官方 Nginx 模板能力,在容器启动时注入 API_UPSTREAM
COPY nginx.conf /etc/nginx/templates/default.conf.template
# 仅拷贝构建产物,减小镜像体积
COPY --from=builder /app/dist ./