Add shared ref-17 Studio cover template trial
studio CI and deployment / verify-and-deploy (push) Successful in 3m58s
studio CI and deployment / verify-and-deploy (push) Successful in 3m58s
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
export type Idea = {slug:string; title:string; summary:string; slides:{heading:string;body:string;color:string}[]};
|
||||
// Add a page here; the page, AI text and export bundle share this source.
|
||||
export const ideas:Idea[]=[{slug:'first-idea',title:'把一个想法,变成一组画面',summary:'从一句话出发,写成页面,再导出为图文或视频。',slides:[{heading:'先捕捉,再打磨',body:'把今天的灵感写下来。不用急着完整,先留下那个让你心动的瞬间。',color:'#ffe5df'},{heading:'让每一页只讲一件事',body:'一个标题,一段解释,一个值得被记住的画面。',color:'#e2e9e1'},{heading:'选择你的表达方式',body:'导出图文长页,或用 Python 将画面制作成视频。',color:'#eee5f5'}]}];
|
||||
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[];template?:typeof ref17};
|
||||
// Studio owns creative pages. Wiki source tutorials are consumed as text/image data.
|
||||
export const ideas:Idea[]=[{
|
||||
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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user