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:
@@ -3,44 +3,26 @@
|
||||
<div class="text-sm mt-2">
|
||||
|
||||
```
|
||||
┌──────────────────────────────────────────────────────────────────┐
|
||||
│ Frontend (React + Vite + TypeScript) │
|
||||
│ │
|
||||
│ ┌──────────┐ ┌──────────────┐ ┌──────────┐ ┌───────────┐ │
|
||||
│ │ 项目画廊 │ │ 工作台面板 │ │ 结果预览 │ │ 风格编辑器 │ │
|
||||
│ └──────────┘ └──────────────┘ └──────────┘ └───────────┘ │
|
||||
│ │ Zustand 状态管理 │
|
||||
│ │ react-router v7 路由 │
|
||||
└────────────────────────┼─────────────────────────────────────────┘
|
||||
│ HTTP (REST API) + WebSocket
|
||||
┌────────────────────────┼─────────────────────────────────────────┐
|
||||
│ Backend (Go + Gin + Eino) │
|
||||
│ │ │
|
||||
│ ┌────────────────────▼─────────────────────────────────────┐ │
|
||||
│ │ Handler Layer (Gin Router) │ │
|
||||
│ │ JWT 中间件 · 请求校验 · 错误处理 │ │
|
||||
│ └────────────────────┬─────────────────────────────────────┘ │
|
||||
│ │ │
|
||||
│ ┌────────────────────▼─────────────────────────────────────┐ │
|
||||
│ │ Service Layer (业务逻辑) │ │
|
||||
│ │ ┌─────────────────────────────────────────────────────┐ │ │
|
||||
│ │ │ Eino compose.Graph Pipeline │ │ │
|
||||
│ │ │ PromptOptimizer → AssetGenerator → QualitySupervisor│ │ │
|
||||
│ │ │ ↓ │ │ │
|
||||
│ │ │ FormatAdapter │ │ │
|
||||
│ │ └─────────────────────────────────────────────────────┘ │ │
|
||||
│ │ ┌──────────┐ ┌───────────┐ ┌──────────┐ │ │
|
||||
│ │ │ 项目管理 │ │ 风格系统 │ │ 用户认证 │ │ │
|
||||
│ │ └──────────┘ └───────────┘ └──────────┘ │ │
|
||||
│ └──────────────────────────────────────────────────────────┘ │
|
||||
│ │ │
|
||||
│ ┌────────────────────▼─────────────────────────────────────┐ │
|
||||
│ │ Data Layer (数据访问) │ │
|
||||
│ │ GORM + SQLite sync.Map 缓存 │ │
|
||||
│ └──────────────────────────────────────────────────────────┘ │
|
||||
│ │
|
||||
│ 外部依赖:DeepSeek LLM · Stability AI · 七牛云 Kodo │
|
||||
└──────────────────────────────────────────────────────────────────┘
|
||||
┌─────────────────────────────────────────────────────┐
|
||||
│ Frontend (React + Vite + TypeScript) │
|
||||
│ 项目画廊 · 工作台 · 结果预览 · 风格编辑器 │
|
||||
│ Zustand 状态管理 · react-router v7 │
|
||||
└─────────────────────────┬───────────────────────────┘
|
||||
│ HTTP / WebSocket
|
||||
┌─────────────────────────▼───────────────────────────┐
|
||||
│ Backend (Go + Gin + Eino) │
|
||||
│ │
|
||||
│ Handler: JWT 中间件 · 请求校验 · 错误处理 │
|
||||
│ ↓ │
|
||||
│ Service: Eino compose.Graph Pipeline │
|
||||
│ PromptOptimizer → AssetGenerator │
|
||||
│ → QualitySupervisor → FormatAdapter │
|
||||
│ 项目管理 · 风格系统 · 用户认证 │
|
||||
│ ↓ │
|
||||
│ Data: GORM + SQLite · sync.Map 缓存 │
|
||||
│ │
|
||||
│ 外部: DeepSeek LLM · Stability AI · 七牛云 Kodo │
|
||||
└──────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user