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.
87 lines
2.2 KiB
HTML
Vendored
87 lines
2.2 KiB
HTML
Vendored
<!doctype html>
|
|
<!--
|
|
modal-morph demo. FULL-BLEED light mount: the primitive fills the whole
|
|
1920x1080 frame on a light token block. Non-default register, from_scale,
|
|
expand_at, and accent values prove the variable path.
|
|
-->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=1920, height=1080" />
|
|
<title>Modal Morph Demo</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 1920px;
|
|
height: 1080px;
|
|
overflow: hidden;
|
|
background: var(--bg, #eef0f3);
|
|
}
|
|
|
|
#root {
|
|
--bg: #eef0f3;
|
|
--fg: #14161b;
|
|
--muted: #5b6472;
|
|
--surface: #ffffff;
|
|
--border: #d3d8e0;
|
|
--brand: #3f3f46;
|
|
--accent: #3f3f46;
|
|
--accent-2: #3f3f46;
|
|
--radius: 18px;
|
|
--font-display: "Inter", system-ui, sans-serif;
|
|
--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
|
|
position: relative;
|
|
width: 1920px;
|
|
height: 1080px;
|
|
overflow: hidden;
|
|
background: radial-gradient(ellipse at 50% 42%, #f7f8fa 0%, var(--bg, #eef0f3) 72%);
|
|
}
|
|
|
|
.mount-bleed {
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
container-type: size;
|
|
overflow: hidden;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div
|
|
id="root"
|
|
data-composition-id="modal-morph-demo"
|
|
data-start="0"
|
|
data-width="1920"
|
|
data-height="1080"
|
|
data-duration="4"
|
|
data-fps="30"
|
|
>
|
|
<div
|
|
id="modal-morph-mount"
|
|
class="mount-bleed clip"
|
|
data-composition-id="modal-morph"
|
|
data-composition-src="./modal-morph.html"
|
|
data-variable-values='{"register":"snappy","from_scale":0.8,"accent":"blue","expand_at":0.9}'
|
|
data-start="0"
|
|
data-duration="4"
|
|
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["modal-morph-demo"] = gsap.timeline({ paused: true });
|
|
</script>
|
|
</body>
|
|
</html>
|