Rename the unified application to dashboard
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import ref17 from './templates/ref-17.json';
|
||||
export type Slide={heading:string;body:string;color:string;key?:string;label?:string;accent?:string;kicker?:string};
|
||||
export type Idea={slug:string;title:string;summary:string;slides:Slide[];tool?:string;template?:typeof ref17};
|
||||
// Studio owns creative pages. Wiki source tutorials are consumed as text/image data.
|
||||
export const ideas:Idea[]=[{slug:'layout-selection',tool:'layout-selection',title:'三种排版 · 模板选择工具',summary:'ref-01、ref-07、ref-26 三种不同构图的可编辑试版。',slides:[]},{
|
||||
slug:'learning-skills-template',title:'学习资料合集 · 封面模板试版',
|
||||
summary:'一张空白母版与三张主题占位封面,共用 ref-17 的同一套构件坐标;先试文案、色调和边界,暂不填具体 Skills。',template:ref17,
|
||||
slides:[
|
||||
{key:'master',label:'空白母版',heading:'合集标题',body:'副标题占位\n栏目一 · 栏目二\n正文稍后填入',color:'#84918c',accent:'#d8ddd4',kicker:'TEMPLATE / 00'},
|
||||
{key:'notes',label:'A · 笔记复习',heading:'笔记复习',body:'课程 · 笔记 · 复习\n副标题稍后确定\n正文暂不填入',color:'#7a8b7e',accent:'#d5ddcf',kicker:'COLLECTION / A'},
|
||||
{key:'teaching',label:'B · 教学资料',heading:'教学资料',body:'题目 · 试卷 · 课件\n副标题稍后确定\n正文暂不填入',color:'#7c8e9b',accent:'#d8e0e4',kicker:'COLLECTION / B'},
|
||||
{key:'english',label:'C · 英语学习',heading:'英语学习',body:'词汇 · 精读 · 表达\n副标题稍后确定\n正文暂不填入',color:'#9b817a',accent:'#e4d6ce',kicker:'COLLECTION / C'},
|
||||
],
|
||||
},{slug:'first-idea',title:'把一个想法,变成一组画面',summary:'从一句话出发,写成页面,再导出为图文或视频。',slides:[{heading:'先捕捉,再打磨',body:'把今天的灵感写下来。不用急着完整,先留下那个让你心动的瞬间。',color:'#ffe5df'},{heading:'让每一页只讲一件事',body:'一个标题,一段解释,一个值得被记住的画面。',color:'#e2e9e1'},{heading:'选择你的表达方式',body:'导出图文长页,或用 Python 将画面制作成视频。',color:'#eee5f5'}]}];
|
||||
export function ideaMarkdown(idea:Idea){
|
||||
return '# '+idea.title+'\n\n'+idea.summary+'\n\n'+(idea.template?'## 模板来源与约束\n\n教程:'+idea.template.tutorialUrl+'?agent_mode=True\n\n同一套模板:'+idea.template.id+';源画板 '+idea.template.width+'×'+idea.template.height+'。本阶段仅有占位封面,没有具体 Skills 内容。\n\n```json\n'+JSON.stringify(idea.template,null,2)+'\n```\n\n':'')+idea.slides.map(s=>'## '+(s.label||s.heading)+'\n\n'+s.heading+'\n\n'+s.body+'\n\n'+(idea.template?'主色:'+s.color+';叠圆:'+s.accent+'。\n':'')).join('\n\n');
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"id": "standard-01",
|
||||
"name": "标准排版 · 自由图文",
|
||||
"width": 120,
|
||||
"height": 160,
|
||||
"elements": [
|
||||
{
|
||||
"id": "T01",
|
||||
"kind": "text",
|
||||
"role": "主标题",
|
||||
"box": [
|
||||
10,
|
||||
16,
|
||||
100,
|
||||
28
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"text": "让每一页\n只讲一件事",
|
||||
"reading": "standard"
|
||||
},
|
||||
{
|
||||
"id": "T02",
|
||||
"kind": "text",
|
||||
"role": "正文",
|
||||
"box": [
|
||||
10,
|
||||
112,
|
||||
100,
|
||||
27
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"text": "一个标题,一段解释,\n一个值得被记住的画面。",
|
||||
"reading": "standard"
|
||||
},
|
||||
{
|
||||
"id": "T03",
|
||||
"kind": "text",
|
||||
"role": "栏目",
|
||||
"box": [
|
||||
10,
|
||||
7,
|
||||
100,
|
||||
4
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"text": "PROMPT STUDIO / 01",
|
||||
"reading": "standard"
|
||||
},
|
||||
{
|
||||
"id": "I01",
|
||||
"kind": "image",
|
||||
"role": "主题图片",
|
||||
"box": [
|
||||
10,
|
||||
53,
|
||||
100,
|
||||
50
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"text": null,
|
||||
"reading": "standard"
|
||||
},
|
||||
{
|
||||
"id": "D01",
|
||||
"kind": "decoration",
|
||||
"role": "分隔线",
|
||||
"box": [
|
||||
10,
|
||||
146,
|
||||
100,
|
||||
1
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"text": null,
|
||||
"reading": "standard"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"id": "ref-17",
|
||||
"name": "英文刊头与圆形叠标及窄栏",
|
||||
"tutorialUrl": "http://8.211.154.134:18131/explore/7b1b2fc5b9690213bbbe07ac",
|
||||
"referenceUrl": "http://8.211.154.134:18131/api/media/447db777-d060-4987-b753-15422b0b4919",
|
||||
"sourceSha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"width": 113,
|
||||
"height": 174,
|
||||
"masthead": [
|
||||
"STUDY",
|
||||
"Skills"
|
||||
],
|
||||
"paper": "#f4f2eb",
|
||||
"ink": "#25342f",
|
||||
"slots": [
|
||||
{
|
||||
"id": "D01",
|
||||
"kind": "decoration",
|
||||
"role": "右栏底线",
|
||||
"box": [
|
||||
82,
|
||||
121,
|
||||
29,
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "T01",
|
||||
"kind": "text",
|
||||
"role": "左上英文第一行",
|
||||
"box": [
|
||||
6,
|
||||
10,
|
||||
63,
|
||||
10
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "T02",
|
||||
"kind": "text",
|
||||
"role": "左上英文第二行",
|
||||
"box": [
|
||||
5,
|
||||
20,
|
||||
56,
|
||||
16
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "T03",
|
||||
"kind": "text",
|
||||
"role": "中部中文横题",
|
||||
"box": [
|
||||
51,
|
||||
50,
|
||||
60,
|
||||
16
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "T04",
|
||||
"kind": "text",
|
||||
"role": "右侧窄栏正文",
|
||||
"box": [
|
||||
82,
|
||||
67,
|
||||
29,
|
||||
54
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "I01",
|
||||
"kind": "image",
|
||||
"role": "左下主图",
|
||||
"box": [
|
||||
5,
|
||||
68,
|
||||
73,
|
||||
101
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "I02",
|
||||
"kind": "image",
|
||||
"role": "左中叠加圆形",
|
||||
"box": [
|
||||
5,
|
||||
53,
|
||||
22,
|
||||
22
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "D02",
|
||||
"kind": "decoration",
|
||||
"role": "刊头右侧双线",
|
||||
"box": [
|
||||
61,
|
||||
27,
|
||||
50,
|
||||
7
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "D03",
|
||||
"kind": "decoration",
|
||||
"role": "底部横向贴条",
|
||||
"box": [
|
||||
58,
|
||||
167,
|
||||
54,
|
||||
6
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
[{"id":"ref-01","name":"双矩形错位与左下说明","width":113,"height":171,"tutorialUrl":"http://8.211.154.134:18131/explore/eb937b42be92a9f6feee684f","referenceUrl":"http://8.211.154.134:18131/api/media/7d1eedda-bf64-4bf0-ae2b-a7a684282c20","sourceSha256":"121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc","slots":[{"id":"T01","kind":"text","role":"品牌字标","box":[8,20,36,15],"direction":"horizontal"},{"id":"T02","kind":"text","role":"左下说明","box":[7,121,44,34],"direction":"horizontal"},{"id":"I01","kind":"image","role":"上方主图","box":[24,14,77,71],"direction":"horizontal","raster":"/api/media/e815dd53-494f-5f08-8849-249fd63960ff"},{"id":"I02","kind":"image","role":"下方副图","box":[42,89,59,70],"direction":"horizontal","raster":"/api/media/388e3068-c739-5a0c-aa55-37f2997cfa35"},{"id":"D01","kind":"decoration","role":"顶部短线","box":[41,4,29,3],"direction":"horizontal","raster":"/api/media/edb874c0-c93a-5217-9c32-8888f5d20fa2"},{"id":"D02","kind":"decoration","role":"底部横线","box":[29,158,58,8],"direction":"horizontal","raster":"/api/media/9ee0db30-7579-52dc-bc03-f8b465a45bb5"}],"fields":{"T01":"STUDY","T02":"合集标题\n主题说明占位\n正文稍后填入"}},{"id":"ref-07","name":"同心圆图位与底部年份","width":112,"height":172,"tutorialUrl":"http://8.211.154.134:18131/explore/7d4cefdfada28bbe9e570af3","referenceUrl":"http://8.211.154.134:18131/api/media/da5eb520-196d-4cca-b056-95a40d20a281","sourceSha256":"121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc","slots":[{"id":"T01","kind":"text","role":"下沿环形文字","box":[17,75,90,34],"direction":"curved"},{"id":"T02","kind":"text","role":"年份","box":[2,129,27,12],"direction":"horizontal"},{"id":"T03","kind":"text","role":"年份下副标题","box":[3,140,58,5],"direction":"horizontal"},{"id":"T04","kind":"text","role":"底部说明","box":[1,146,109,16],"direction":"horizontal"},{"id":"T05","kind":"text","role":"右下品牌","box":[58,161,52,9],"direction":"horizontal"},{"id":"I01","kind":"image","role":"中央圆形主图","box":[18,9,92,94],"direction":"horizontal","raster":"/api/media/993144d9-462a-5277-b9bd-64739460b148"},{"id":"D01","kind":"decoration","role":"同心环线","box":[0,0,112,138],"direction":"horizontal","raster":"/api/media/fa472042-1b69-554f-bb0f-3957688b628d"}],"fields":{"T01":"STUDY / LEARN / CREATE","T02":"2026","T03":"COLLECTION / TEMPLATE","T04":"课程 · 笔记 · 复习\n主题说明占位,正文稍后填入","T05":"学习资料合集"}},{"id":"ref-26","name":"三行英文与曲线指引小图","width":114,"height":173,"tutorialUrl":"http://8.211.154.134:18131/explore/f356b77194288909ee4352b4","referenceUrl":"http://8.211.154.134:18131/api/media/43a6b1f3-317b-4464-a192-92ef023eedeb","sourceSha256":"121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc","slots":[{"id":"D01","kind":"decoration","role":"第二行下划线","box":[0,41,47,1],"direction":"horizontal","raster":"/api/media/2a23cc80-1ad1-53d8-86eb-30af228a66fa"},{"id":"D02","kind":"decoration","role":"第三行下划线","box":[0,58,67,2],"direction":"horizontal","raster":"/api/media/3ee85a46-19e4-5450-9d4f-37e65637f908"},{"id":"T01","kind":"text","role":"第一行英文","box":[0,0,81,18],"direction":"horizontal"},{"id":"T02","kind":"text","role":"第二行英文","box":[0,23,49,18],"direction":"horizontal"},{"id":"T03","kind":"text","role":"第三行英文","box":[0,41,68,19],"direction":"horizontal"},{"id":"T04","kind":"text","role":"右侧竖排标题","box":[98,68,12,46],"direction":"vertical"},{"id":"T05","kind":"text","role":"左下说明","box":[4,140,44,29],"direction":"horizontal"},{"id":"I01","kind":"image","role":"右下方形图片","box":[66,118,43,50],"direction":"horizontal","raster":"/api/media/89a6ac49-b1e9-5cab-b0d3-c1e7af8736b0"},{"id":"D03","kind":"decoration","role":"中间分隔线","box":[0,60,112,3],"direction":"horizontal","raster":"/api/media/0d8d17ed-cc40-56eb-bdc3-ad6cd7b9d301"},{"id":"D04","kind":"decoration","role":"中央自由曲线","box":[6,48,85,87],"direction":"horizontal","raster":"/api/media/8f128857-375d-5a40-b6c4-326bfe6fe1ef"},{"id":"D05","kind":"decoration","role":"自动识别细线","box":[91,59,19,1],"direction":"horizontal","raster":"/api/media/7c42438c-a394-5a21-a321-48ff2677e2ac"}],"fields":{"T01":"Study 01","T02":"Learn","T03":"Create","T04":"学习合集","T05":"主题说明占位\n正文稍后填入"}}]
|
||||
@@ -0,0 +1,2 @@
|
||||
// Stable Wiki post ID; the tutorial is published through /api/posts, never registered as a Wiki route.
|
||||
export const tutorialPost='/explore/8eb8c76500580f7a4b56ba3c';
|
||||
Reference in New Issue
Block a user