mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 07:19:52 +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.
54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "avatar-cloud",
|
|
"type": "hyperframes:component",
|
|
"title": "Avatar Cloud",
|
|
"description": "Lettermark avatars populate a loose elliptical cloud while fine SVG links draw between the community and its central proof label.",
|
|
"tags": ["effects", "avatars", "community", "network", "social-proof", "prove"],
|
|
"jobs": ["prove"],
|
|
"family": "effects",
|
|
"profile": "holdable",
|
|
"evidence": "consumer-sim fixture + rules avatar-cloud-network",
|
|
"syncPoints": [{ "id": "network-formed", "phase": "in", "offset": 2.15 }],
|
|
"files": [
|
|
{
|
|
"path": "avatar-cloud.html",
|
|
"target": "compositions/components/avatar-cloud.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "avatarCount",
|
|
"type": "number",
|
|
"role": "layout",
|
|
"label": "Avatar count",
|
|
"description": "Number of lettermark avatars in the network cloud.",
|
|
"default": 10,
|
|
"min": 6,
|
|
"max": 16,
|
|
"step": 1
|
|
},
|
|
{
|
|
"id": "showLinks",
|
|
"type": "enum",
|
|
"role": "content",
|
|
"label": "Show links",
|
|
"description": "Show or hide the connecting network lines.",
|
|
"default": "yes",
|
|
"options": [
|
|
{ "value": "yes", "label": "Yes" },
|
|
{ "value": "no", "label": "No" }
|
|
]
|
|
},
|
|
{
|
|
"id": "label",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Proof label",
|
|
"description": "Community proof copy shown in the center hub.",
|
|
"default": "50k builders"
|
|
}
|
|
]
|
|
}
|