Files
hyperframes/docs/public/catalog/components/matrix-decode.json
T
Miguel Ángel 9734578e60 feat(registry): bring back the video-primitive moves (#3169)
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.
2026-08-10 18:46:03 -04:00

1 line
2.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Matrix Decode - Demo</title>\n <script src=\"https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js\"></script>\n <style>\n * {\n box-sizing: border-box;\n }\n html,\n body {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n }\n #demo {\n width: 1920px;\n height: 1080px;\n display: grid;\n place-items: center;\n background: #f4f4f5;\n font-family: Inter, system-ui, sans-serif;\n }\n /* ponytail: scale on wrapper (not a GSAP target), zooms content ~3× for thumbnail legibility */\n .demo-frame {\n display: grid;\n place-items: center;\n gap: 32px;\n padding: 72px 96px;\n background: #18181b;\n border-radius: 20px;\n box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);\n transform: scale(3.2);\n transform-origin: center center;\n }\n .demo-label {\n font-size: 13px;\n font-weight: 500;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n color: #71717a;\n }\n .hf-remocn-matrix-decode {\n display: inline-flex;\n gap: 4px;\n font:\n 700 52px/1 ui-monospace,\n SFMono-Regular,\n Menlo,\n monospace;\n color: #4ade80;\n text-shadow: 0 0 24px rgba(74, 222, 128, 0.45);\n }\n .hf-remocn-matrix-decode span {\n display: inline-block;\n min-width: 0.64em;\n opacity: var(--hf-matrix-opacity, 1);\n }\n </style>\n </head>\n <body>\n <div\n id=\"demo\"\n data-composition-id=\"matrix-decode-demo\"\n data-start=\"0\"\n data-width=\"1920\"\n data-height=\"1080\"\n data-duration=\"5\"\n >\n <div class=\"demo-frame\">\n <div class=\"demo-label\">Matrix Decode</div>\n <div class=\"hf-remocn-matrix-decode\" data-final=\"HYPERFRAMES\">\n <span>0</span><span>0</span><span>0</span><span>0</span><span>0</span><span>0</span\n ><span>0</span><span>0</span><span>0</span><span>0</span>\n </div>\n </div>\n <script>\n const tl = gsap.timeline({ paused: true });\n const startTime = 0.5;\n tl.fromTo(\n \".hf-remocn-matrix-decode span\",\n { opacity: 0, y: 12 },\n { opacity: 1, y: 0, duration: 0.18, stagger: 0.035, ease: \"power2.out\" },\n startTime,\n );\n tl.set({}, {}, 5);\n window.__timelines = window.__timelines || {};\n window.__timelines[\"matrix-decode-demo\"] = tl;\n </script>\n </div>\n </body>\n</html>\n"}