mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +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.
96 lines
2.6 KiB
HTML
Vendored
96 lines
2.6 KiB
HTML
Vendored
<!doctype html>
|
|
<!--
|
|
cta-close demo. Full-bleed mount on a light editorial token backdrop: the
|
|
close owns the whole 1920x1080 frame, proving the display line lands at
|
|
monumental scale with non-default copy and the violet accent capsule.
|
|
-->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=1920, height=1080" />
|
|
<title>CTA Close Demo</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 1920px;
|
|
height: 1080px;
|
|
overflow: hidden;
|
|
background: #faf8f3;
|
|
}
|
|
|
|
#root {
|
|
--bg: #faf8f3;
|
|
--fg: #191713;
|
|
--muted: #6f695d;
|
|
--surface: #f1ede3;
|
|
--border: #e2dccd;
|
|
--brand: #0d7a4f;
|
|
--accent: #1d4ed8;
|
|
--accent-2: #6d3ae0;
|
|
--font-display: Georgia, "Times New Roman", serif;
|
|
--font-body: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
|
|
--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
|
|
--radius: 0.9cqmin;
|
|
--space-1: 1.1cqmin;
|
|
--space-2: 2.2cqmin;
|
|
--space-3: 3.8cqmin;
|
|
--dur-beat: 0.48s;
|
|
--ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
|
|
--ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1);
|
|
position: relative;
|
|
width: 1920px;
|
|
height: 1080px;
|
|
overflow: hidden;
|
|
border-top: 1px solid var(--border, #e2dccd);
|
|
border-bottom: 1px solid var(--border, #e2dccd);
|
|
background: var(--bg, #faf8f3);
|
|
}
|
|
|
|
.mount-stage {
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
container-type: size;
|
|
overflow: hidden;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div
|
|
id="root"
|
|
data-composition-id="cta-close-demo"
|
|
data-start="0"
|
|
data-width="1920"
|
|
data-height="1080"
|
|
data-duration="3.5"
|
|
data-fps="30"
|
|
>
|
|
<div
|
|
id="cta-close-mount"
|
|
class="mount-stage clip"
|
|
data-composition-id="cta-close"
|
|
data-composition-src="./cta-close.html"
|
|
data-variable-values='{"action_line":"Ship your first film","button_label":"Get started free","accent":"violet"}'
|
|
data-start="0"
|
|
data-duration="3.5"
|
|
data-track-index="0"
|
|
data-width="1920"
|
|
data-height="1080"
|
|
></div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
|
|
<script>
|
|
window.__timelines = window.__timelines || {};
|
|
window.__timelines["cta-close-demo"] = gsap.timeline({ paused: true });
|
|
</script>
|
|
</body>
|
|
</html>
|