fix: trim gen2D slide content to prevent overflow beyond header/footer
Deploy Slides / build-and-deploy (push) Successful in 1m16s
Deploy Slides / build-and-deploy (push) Successful in 1m16s
- Reduce Item count per slide: pipeline 4→3, solution 4→2, highlights 6→4 - Remove tech-stack architecture layering Item (moved to tech-stack grid) - Simplify eino-graph: shorter Go code, 3 Items→2 - Simplify prompt-agent: smaller mermaid, shorter Item text - Simplify async-task: merge 3 Items→2, remove footer - Simplify data-model: merge 4 grid items→2 - Simplify architecture: reduce ASCII diagram from 38 to 20 lines - Simplify dedup-ws: remove JSON code block, shorter Items - Simplify deployment: smaller mermaid, shorter Items - Simplify problem: shorter Item text, remove bullet lists - Simplify style-system: fix typo, shorter Item text
This commit is contained in:
@@ -1,51 +1,37 @@
|
||||
# 技术栈一览
|
||||
|
||||
<div class="grid grid-cols-3 gap-6 mt-4">
|
||||
<div class="grid grid-cols-3 gap-4 mt-4">
|
||||
|
||||
<Item title="⚙️ 后端">
|
||||
|
||||
- **语言**:Go 1.26
|
||||
- **框架**:Gin 1.12
|
||||
- **AI 编排**:Eino 0.8(compose.Graph)
|
||||
- **ORM**:GORM + SQLite
|
||||
- **认证**:JWT + bcrypt
|
||||
- **配置**:Viper(多层配置)
|
||||
- **存储**:七牛云 Kodo
|
||||
- Go 1.26 + Gin 1.12
|
||||
- Eino 0.8 管线编排
|
||||
- GORM + SQLite
|
||||
- JWT + bcrypt 认证
|
||||
- Viper 多层配置
|
||||
- 七牛云 Kodo
|
||||
|
||||
</Item>
|
||||
|
||||
<Item title="🖥️ 前端">
|
||||
|
||||
- **框架**:React 18 + TypeScript 5.6
|
||||
- **构建**:Vite 6
|
||||
- **状态管理**:Zustand
|
||||
- **路由**:react-router v7
|
||||
- **样式**:CSS Modules + 暗色主题
|
||||
- **API 层**:封装 Fetch + 类型安全
|
||||
- React 18 + TypeScript
|
||||
- Vite 6 构建
|
||||
- Zustand 状态管理
|
||||
- react-router v7
|
||||
- CSS Modules 暗色主题
|
||||
- 封装 Fetch API 层
|
||||
|
||||
</Item>
|
||||
|
||||
<Item title="🏗️ 基础设施">
|
||||
|
||||
- **容器化**:Docker 多阶段构建
|
||||
- **反向代理**:nginx
|
||||
- **CI/CD**:Gitee Actions 自动部署
|
||||
- **数据库**:SQLite 嵌入式
|
||||
- **文件存储**:七牛云 Kodo CDN
|
||||
- **通信**:REST API + WebSocket
|
||||
|
||||
</Item>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="mt-6">
|
||||
|
||||
<Item title="📐 架构分层原则">
|
||||
|
||||
- **Handler 层**(薄):请求校验、参数绑定、错误处理
|
||||
- **Service 层**(厚):业务逻辑、管线编排、风格合并
|
||||
- **Model 层**(数据):GORM 实体定义、数据库操作
|
||||
- **日志系统**:基于 `log/slog`,分级别记录(Debug / Info / Warn / Error)
|
||||
- Docker 多阶段构建
|
||||
- nginx 反向代理
|
||||
- Gitee CI/CD 自动部署
|
||||
- SQLite 嵌入式 DB
|
||||
- 七牛云 Kodo CDN
|
||||
- REST + WebSocket
|
||||
|
||||
</Item>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user