mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
Restores the 208 catalog items reverted after their previews 404'd in production, this time on the payload mechanism rather than the .html files that caused the outage. The generator no longer writes a preview document to docs/public. That writer, and the machinery under it, existed only to produce files the docs host discards, so it is gone rather than bypassed. Items now embed the composition itself via a payload, which is what the previous change already does for the items that were already in the catalog. The variables explorer is parked, not restored: it drove its preview through the same unpublished .html path, so it would have shown an empty frame. Items that declare variables get the live player plus the static variables table, and reconnecting the explorer to payloads is a follow-up.
60 lines
1.8 KiB
JSON
60 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "cta-lockup",
|
|
"type": "hyperframes:component",
|
|
"title": "CTA Lockup",
|
|
"description": "A canonical closing lockup that reveals an action line, pops in an accent CTA capsule, settles supporting microcopy, and holds with confidence.",
|
|
"tags": ["motion-primitive", "ui-props", "cta", "end-card", "lockup", "ask"],
|
|
"jobs": ["ask"],
|
|
"family": "ui-props",
|
|
"profile": "holdable",
|
|
"evidence": "Wave F U14 cta-lockup build contract",
|
|
"syncPoints": [{ "id": "lockup-settled", "phase": "in", "offset": 1.6 }],
|
|
"files": [
|
|
{
|
|
"path": "cta-lockup.html",
|
|
"target": "compositions/components/cta-lockup.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "action_line",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Action line",
|
|
"description": "Primary action statement shown above the CTA.",
|
|
"default": "Start building today"
|
|
},
|
|
{
|
|
"id": "button_label",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Button label",
|
|
"description": "Text displayed inside the CTA capsule.",
|
|
"default": "Get HyperFrames"
|
|
},
|
|
{
|
|
"id": "microcopy",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Microcopy",
|
|
"description": "Supporting detail shown below the CTA capsule.",
|
|
"default": "Free while in beta"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Fill color used by the CTA capsule.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
}
|
|
]
|
|
}
|