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.
104 lines
2.9 KiB
HTML
Vendored
104 lines
2.9 KiB
HTML
Vendored
<!doctype html>
|
|
<!--
|
|
logo-wall demo: standalone 1920x1080 host composition. It mounts the
|
|
primitive through data-composition-src into a definite card instead of
|
|
inlining markup or motion. Non-default rows, cols, and stagger values prove
|
|
that all public variables cross the mount boundary.
|
|
-->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=1920, height=1080" />
|
|
<title>Logo Wall Demo</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 1920px;
|
|
height: 1080px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#root {
|
|
--bg: #080b13;
|
|
--fg: #f6f8fc;
|
|
--muted: #a7b0c1;
|
|
--surface: #151b29;
|
|
--border: #344057;
|
|
--brand: #7c9cff;
|
|
--accent: #86e5c5;
|
|
--font-display: Inter, system-ui, sans-serif;
|
|
--font-body: Inter, system-ui, sans-serif;
|
|
--font-mono: ui-monospace, monospace;
|
|
--radius: 18px;
|
|
--space-1: 8px;
|
|
--space-2: 16px;
|
|
--space-3: 32px;
|
|
--dur-beat: 0.4s;
|
|
--ease-standard: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
--ease-emphasis: cubic-bezier(0.19, 1, 0.22, 1);
|
|
--ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
|
|
position: relative;
|
|
width: 1920px;
|
|
height: 1080px;
|
|
overflow: hidden;
|
|
display: grid;
|
|
place-items: center;
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: var(--font-body);
|
|
}
|
|
|
|
.mount-card {
|
|
width: 72%;
|
|
height: 72%;
|
|
left: 14%;
|
|
top: 14%;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
border-radius: calc(var(--radius) * 1.5);
|
|
background: var(--surface);
|
|
box-shadow: 0 40px 100px color-mix(in srgb, var(--bg) 82%, transparent);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div
|
|
id="root"
|
|
data-composition-id="logo-wall-demo"
|
|
data-start="0"
|
|
data-width="1920"
|
|
data-height="1080"
|
|
data-duration="5"
|
|
data-fps="30"
|
|
>
|
|
<div
|
|
id="logo-wall-mount"
|
|
class="mount-card clip"
|
|
data-composition-id="logo-wall"
|
|
data-composition-src="./logo-wall.html"
|
|
data-variable-values='{"rows":4,"cols":6,"stagger":75}'
|
|
data-start="0"
|
|
data-duration="5"
|
|
data-track-index="0"
|
|
data-width="1382"
|
|
data-height="778"
|
|
></div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
|
|
<script>
|
|
// The mounted primitive owns all visible motion. This host registers only
|
|
// the empty paused timeline required for its own composition id.
|
|
window.__timelines = window.__timelines || {};
|
|
window.__timelines["logo-wall-demo"] = gsap.timeline({ paused: true });
|
|
</script>
|
|
</body>
|
|
</html>
|