forked from laysense/laysite
Add maintenance and 404 pages, template suites, and MCP skill
This commit is contained in:
@@ -24,6 +24,7 @@ final class BlockTemplates
|
||||
'tag' => ['徽标', '<p><span class="studio-badge">填写标签</span></p>'],
|
||||
'large-number' => ['重点数字', '<p class="price-value">填写数字</p>'],
|
||||
'definition-list' => ['术语说明', '<dl class="studio-definitions"><dt>填写术语</dt><dd>填写术语说明。</dd></dl>'],
|
||||
'paired-label' => ['标签与数值', '<p class="studio-paired-label"><strong>开放时间</strong><span>周六 10:00–17:00</span></p>'],
|
||||
]],
|
||||
'link-elements' => ['链接与按钮', [
|
||||
'button' => ['主按钮', '<p><a class="button button-primary" href="#contact">联系站点</a></p>'],
|
||||
@@ -33,6 +34,7 @@ final class BlockTemplates
|
||||
'breadcrumbs' => ['面包屑', '<p class="breadcrumbs"><a href="/">首页</a><span> / </span><span>当前页面</span></p>'],
|
||||
'download-link' => ['下载入口', '<p><a class="button button-outline" href="/articles">查看下载</a></p>'],
|
||||
'email-link' => ['邮件链接', '<p><a href="mailto:hello@example.com">发送邮件</a></p>'],
|
||||
'phone-link' => ['电话链接', '<p><a href="tel:+8610000000000">致电咨询</a></p>'],
|
||||
]],
|
||||
'media-elements' => ['图片与影音', [
|
||||
'image' => ['图片', '', 'image/'],
|
||||
@@ -40,6 +42,7 @@ final class BlockTemplates
|
||||
'audio' => ['音频', '', 'audio/'],
|
||||
'qr-image' => ['二维码', '', 'image/'],
|
||||
'image-link' => ['图片链接', '<p><a href="/"><img src="/assets/system/sample.webp" alt="版式示意" loading="lazy"></a></p>'],
|
||||
'captioned-image' => ['带图注的图片', '<figure class="studio-captioned"><img src="/assets/system/sample.webp" alt="示例界面" loading="lazy"><figcaption>在这里注明图片内容或来源。</figcaption></figure>'],
|
||||
]],
|
||||
'structure-elements' => ['版式与数据', [
|
||||
'separator' => ['分割线', '<hr class="studio-divider">'],
|
||||
@@ -54,6 +57,7 @@ final class BlockTemplates
|
||||
'empty-card' => ['空状态', '<div class="studio-empty"><h3>暂无内容</h3><p>填写访客可以执行的下一步。</p><a href="/articles">查看站点动态</a></div>'],
|
||||
'status-note' => ['状态提示', '<div class="studio-notice studio-success-note"><p><strong>已完成</strong></p><p>填写操作结果或服务状态。</p></div>'],
|
||||
'disclosure' => ['折叠内容', '<div class="faq"><details><summary>填写折叠标题</summary><div><p>填写展开后的内容。</p></div></details></div>'],
|
||||
'numbered-step' => ['带编号的步骤', '<article class="studio-numbered-step"><span class="studio-badge">01</span><div><h3>准备资料</h3><p>写明进入下一步前需要准备的信息。</p></div></article>'],
|
||||
]],
|
||||
];
|
||||
|
||||
@@ -100,6 +104,20 @@ final class BlockTemplates
|
||||
'resources' => ['资料与链接', '<ul class="studio-resources"><li><a href="/articles">浏览资料</a><span>应用下载</span></li><li><a href="/articles">浏览动态与文档</a><span>网站资源</span></li></ul>'],
|
||||
'contact-card' => ['联系方式', '<div class="studio-contact"><div><h3>联系团队</h3><p>填写咨询范围与回复时间。</p></div><dl class="studio-definitions"><dt>电子邮件</dt><dd><a href="mailto:hello@example.com">hello@example.com</a></dd><dt>服务时间</dt><dd>填写工作时间</dd></dl></div>'],
|
||||
]],
|
||||
'events' => ['活动与场地', [
|
||||
'event-agenda' => ['当日议程', '<ol class="studio-agenda"><li><p>09:30</p><div><h3>签到与开场</h3><p>开放入口并介绍当天安排。</p></div><span>主会场</span></li><li><p>10:30</p><div><h3>专题工作坊</h3><p>跟随主持人完成一次实践。</p></div><span>工作区</span></li><li><p>14:00</p><div><h3>圆桌交流</h3><p>分享实践经验并回答问题。</p></div><span>交流区</span></li></ol>'],
|
||||
'speaker-lineup' => ['嘉宾阵容', '<div class="card-grid studio-speakers"><article class="content-card"><p class="overline">主题分享</p><h3>嘉宾姓名</h3><p>填写嘉宾的角色和主题。</p></article><article class="content-card"><p class="overline">工作坊</p><h3>主持人姓名</h3><p>介绍实践主题和适合的听众。</p></article><article class="content-card"><p class="overline">圆桌交流</p><h3>主持人姓名</h3><p>介绍本场将讨论的议题。</p></article></div>'],
|
||||
'venue-guide' => ['到场指南', '<div class="studio-two-column"><article class="content-card"><h3>开放与入场</h3><p>填写开放时间、预约方式和入口位置。</p></article><article class="content-card"><h3>交通与无障碍</h3><p>填写推荐交通方式和无障碍通道位置。</p></article></div>'],
|
||||
]],
|
||||
'commerce' => ['商品与服务', [
|
||||
'product-spotlight' => ['商品展示', '<div class="studio-split studio-product"><img src="/assets/system/sample.webp" alt="商品展示示例" loading="lazy"><div><p class="overline">系列名称</p><h3>填写商品名称</h3><p>说明规格、适用场景与供货信息。</p><a class="button button-primary" href="#contact">联系订购</a></div></div>'],
|
||||
'product-specifications' => ['规格清单', '<dl class="studio-specifications"><div><dt>材质</dt><dd>填写材料及维护方式。</dd></div><div><dt>尺寸</dt><dd>标注尺寸与单位。</dd></div><div><dt>交付</dt><dd>说明交付时间及适用范围。</dd></div></dl>'],
|
||||
'service-process' => ['服务流程', '<ol class="studio-process"><li><h3>沟通需求</h3><p>说明首次沟通需要提供哪些资料。</p></li><li><h3>确认方案</h3><p>列出范围、周期和交付计划。</p></li><li><h3>交付与支持</h3><p>介绍验收方式和后续跟进安排。</p></li></ol>'],
|
||||
]],
|
||||
'editorial' => ['专题与编辑部', [
|
||||
'editorial-feature' => ['专题导读', '<div class="studio-editorial"><p class="overline">本期主题</p><blockquote><p>写下一句概括专题观点的话。</p></blockquote><div><p>用一段话交代来由,并指出读者可以从哪里开始。</p><a href="/articles">浏览文章</a></div></div>'],
|
||||
'reading-path' => ['阅读路径', '<ol class="studio-agenda studio-reading"><li><p>01</p><div><h3><a href="/articles">从背景开始</a></h3><p>了解这组文章要解决的问题。</p></div></li><li><p>02</p><div><h3><a href="/articles">阅读主题文章</a></h3><p>按主题深入阅读,并查看相关材料。</p></div></li></ol>'],
|
||||
]],
|
||||
];
|
||||
|
||||
public static function groups(): array
|
||||
|
||||
Reference in New Issue
Block a user