chore: remove duplicate runtime fixtures, producer tests are the source of truth

This commit is contained in:
Miguel Ángel
2026-05-19 16:05:56 -04:00
parent 26450c1a27
commit c44b1aaea7
3 changed files with 0 additions and 178 deletions
@@ -1,42 +0,0 @@
<template id="intro-template">
<div id="intro" data-composition-id="intro" data-width="1920" data-height="1080">
<div
class="title"
style="
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 120px;
font-family: Impact, sans-serif;
color: #fff;
opacity: 0;
"
>
HELLO WORLD
</div>
<style>
#intro {
position: relative;
width: 1920px;
height: 1080px;
background: #111;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<script>
(function () {
window.__timelines = window.__timelines || {};
var tl = gsap.timeline({ paused: true });
var scope = "#intro";
tl.fromTo(
scope + " .title",
{ opacity: 0, y: 50, scale: 0.8 },
{ opacity: 1, y: 0, scale: 1, duration: 0.5, ease: "power3.out" },
0.2,
);
window.__timelines["intro"] = tl;
})();
</script>
</div>
</template>
@@ -1,48 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<style>
body {
margin: 0;
width: 1920px;
height: 1080px;
overflow: hidden;
background: #000;
}
.scene {
position: absolute;
inset: 0;
overflow: hidden;
}
#scene-intro {
opacity: 1;
}
</style>
</head>
<body>
<div
id="root"
data-composition-id="main"
data-start="0"
data-duration="4"
data-width="1920"
data-height="1080"
>
<div
id="scene-intro"
class="scene"
data-composition-id="intro"
data-composition-src="intro.html"
data-start="0"
data-duration="4"
data-track-index="0"
></div>
</div>
<script>
window.__timelines = window.__timelines || {};
window.__timelines["main"] = gsap.timeline({ paused: true });
</script>
</body>
</html>
@@ -1,88 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1920, height=1080" />
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
width: 1920px;
height: 1080px;
overflow: hidden;
background: #07110d;
}
#root {
position: relative;
width: 1920px;
height: 1080px;
overflow: hidden;
background: #07110d;
}
.scene {
position: absolute;
inset: 0;
overflow: hidden;
opacity: 0;
}
#scene-hook {
opacity: 1;
}
</style>
</head>
<body>
<div
id="root"
data-composition-id="main"
data-start="0"
data-duration="6"
data-width="1920"
data-height="1080"
>
<!-- First sub-comp at near-zero start: the bug trigger -->
<div
id="scene-hook"
class="scene"
data-layout-allow-overflow
data-composition-id="hook"
data-composition-src="compositions/hook.html"
data-start="0.001"
data-duration="2.0"
data-track-index="0"
></div>
<!-- Second sub-comp at a later start: works correctly -->
<div
id="scene-later"
class="scene"
data-layout-allow-overflow
data-composition-id="later"
data-composition-src="compositions/later.html"
data-start="2.5"
data-duration="3.5"
data-track-index="1"
></div>
</div>
<script>
window.__timelines = window.__timelines || {};
var tl = gsap.timeline({ paused: true });
// Transition: hook zooms out at 2.5s
tl.to("#scene-hook", { scale: 2.5, opacity: 0, duration: 0.4, ease: "power3.in" }, 2.5);
tl.fromTo(
"#scene-later",
{ scale: 0.5, opacity: 0 },
{ scale: 1, opacity: 1, duration: 0.4, ease: "power3.out" },
2.65,
);
window.__timelines["main"] = tl;
</script>
</body>
</html>