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.
85 lines
2.2 KiB
HTML
Vendored
85 lines
2.2 KiB
HTML
Vendored
<!doctype html>
|
|
<!--
|
|
locked-nucleus-orbit demo. This standalone composition mounts the primitive
|
|
with non-default values and gives it a definite elastic host box.
|
|
-->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=1920, height=1080" />
|
|
<title>Locked Nucleus Orbit Demo</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 1920px;
|
|
height: 1080px;
|
|
overflow: hidden;
|
|
background: #0b0c0e;
|
|
}
|
|
|
|
#root {
|
|
--bg: #0b0c0e;
|
|
--fg: #f8fafc;
|
|
--surface: #171923;
|
|
--border: #3f4250;
|
|
--font-body: 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% 50%, #171923 0%, #0b0c0e 68%);
|
|
}
|
|
|
|
.mount-card {
|
|
width: 72%;
|
|
height: 68%;
|
|
left: 14%;
|
|
top: 16%;
|
|
overflow: hidden;
|
|
container-type: size;
|
|
border: 1px solid rgba(167, 139, 250, 0.2);
|
|
border-radius: 32px;
|
|
background: color-mix(in srgb, #171923 84%, transparent);
|
|
box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div
|
|
id="root"
|
|
data-composition-id="locked-nucleus-orbit-demo"
|
|
data-start="0"
|
|
data-width="1920"
|
|
data-height="1080"
|
|
data-duration="4"
|
|
data-fps="30"
|
|
>
|
|
<div
|
|
id="locked-nucleus-orbit-mount"
|
|
class="mount-card clip"
|
|
data-composition-id="locked-nucleus-orbit"
|
|
data-composition-src="./locked-nucleus-orbit.html"
|
|
data-variable-values='{"label":"anchor","accent":"violet","satellites":6}'
|
|
data-start="0"
|
|
data-duration="4"
|
|
data-track-index="0"
|
|
data-width="1382"
|
|
data-height="734"
|
|
></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["locked-nucleus-orbit-demo"] = gsap.timeline({ paused: true });
|
|
</script>
|
|
</body>
|
|
</html>
|