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.
73 lines
1.8 KiB
JSON
73 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "store-badge-lockup",
|
|
"type": "hyperframes:component",
|
|
"title": "Store Badge Lockup",
|
|
"description": "Settles a short headline above equal-size App Store and Google Play badges as a token-driven mobile end-card call to action.",
|
|
"tags": ["prop", "ui-props", "mobile", "store-badges", "cta", "ask"],
|
|
"jobs": ["ask"],
|
|
"family": "ui-props",
|
|
"profile": "holdable",
|
|
"evidence": "GAP B1 mobile close: app launches need a store-badge end card instead of a URL, and the registry coverage audit found no existing two-store download lockup.",
|
|
"syncPoints": [
|
|
{
|
|
"id": "lockup-settled",
|
|
"phase": "in",
|
|
"offset": 1
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "store-badge-lockup.html",
|
|
"target": "compositions/components/store-badge-lockup.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "headline",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Headline",
|
|
"description": "Short action line shown above the store badges.",
|
|
"default": "Get the app"
|
|
},
|
|
{
|
|
"id": "showApple",
|
|
"type": "enum",
|
|
"role": "content",
|
|
"label": "Show App Store",
|
|
"description": "Show or hide the App Store badge.",
|
|
"default": "yes",
|
|
"options": [
|
|
{
|
|
"value": "yes",
|
|
"label": "Yes"
|
|
},
|
|
{
|
|
"value": "no",
|
|
"label": "No"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "showGoogle",
|
|
"type": "enum",
|
|
"role": "content",
|
|
"label": "Show Google Play",
|
|
"description": "Show or hide the Google Play badge.",
|
|
"default": "yes",
|
|
"options": [
|
|
{
|
|
"value": "yes",
|
|
"label": "Yes"
|
|
},
|
|
{
|
|
"value": "no",
|
|
"label": "No"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|