feat(mindspace): add SEO/GEO delivery, page template catalog, and admin hooks
Memind CI / Test, build, and release guards (push) Has been cancelled
Memind CI / Test, build, and release guards (push) Has been cancelled
Enable optional SEO/GEO injection and discovery routes for confirmed public pages while keeping private pages noindex. Add premium page template skills, portal catalog API, template shop UI, and Baidu push gated by memind_adm config. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
---
|
||||
name: page-template-event
|
||||
description: 时间地点 + 议程亮点,适用于发布会、沙龙、线下活动
|
||||
---
|
||||
|
||||
# 活动邀请模板
|
||||
|
||||
1. load_skill → `page-template-event`
|
||||
2. read_file → `.agents/skills/page-template-event/templates/event-invite.html`
|
||||
3. 替换占位符后 write_file → `public/*.html`
|
||||
4. 遵守 static-page-publish 回复 Markdown 链接
|
||||
@@ -0,0 +1,20 @@
|
||||
name: page-template-event
|
||||
version: 1.0.0
|
||||
label: 活动邀请模板
|
||||
description: 时间地点 + 议程亮点,适用于发布会、沙龙、线下活动
|
||||
catalog:
|
||||
label: 活动邀请模板
|
||||
description: 时间地点 + 议程亮点,适用于发布会、沙龙、线下活动
|
||||
previewImage: /assets/template-previews/event-invite.svg
|
||||
priceCents: 990
|
||||
billingMode: one_time
|
||||
sortOrder: 60
|
||||
trigger:
|
||||
keywords:
|
||||
- 活动邀请
|
||||
- event-invite
|
||||
router:
|
||||
promptKey: page-template-event
|
||||
priority: 25
|
||||
executors:
|
||||
- goose
|
||||
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{PAGE_TITLE}}</title>
|
||||
<meta name="description" content="{{PAGE_DESCRIPTION}}">
|
||||
<meta name="mindspace-cover" content='{{MINDSPACE_COVER_JSON}}'>
|
||||
<style>
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; min-height: 100vh; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif; background: radial-gradient(ellipse 80% 60% at 50% -10%, #3d1f5c, #0f1419 55%); color: #fff; display: grid; place-items: center; padding: 40px 24px; }
|
||||
.card { width: 100%; max-width: 520px; background: rgba(255,255,255,.07); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.12); border-radius: 32px; padding: clamp(36px, 6vw, 48px); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
|
||||
.meta { color: #f9a8d4; font-weight: 700; font-size: 13px; letter-spacing: .08em; margin: 0 0 16px; }
|
||||
h1 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 36px); line-height: 1.2; font-weight: 800; }
|
||||
.intro { color: #cbd5e1; line-height: 1.75; margin: 0 0 24px; font-size: 16px; }
|
||||
.agenda { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; color: #e2e8f0; line-height: 1.8; }
|
||||
.agenda h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #f9a8d4; margin: 0 0 12px; }
|
||||
footer { position: fixed; bottom: 0; left: 0; right: 0; text-align: center; padding: 16px; color: rgba(255,255,255,.35); font-size: 12px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<article class="card">
|
||||
<p class="meta">{{EVENT_DATE}} · {{EVENT_CITY}}</p>
|
||||
<h1>{{EVENT_TITLE}}</h1>
|
||||
<p class="intro">{{EVENT_INTRO}}</p>
|
||||
<div class="agenda">{{AGENDA_HTML}}</div>
|
||||
</article>
|
||||
<footer><p data-mindspace-page-tag="platform-brand">TKMind · 智趣</p></footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user