Skip to content

Herk Edit Kit by Nate Herk: edit videos, reels, and YouTube Shorts with Codex or Claude Code. 15 skills, transcript-driven cuts, storytelling, 406 motion-graphics cards, and HyperFrames templates.

3.2 KB
Raw Blame
<template id="scene4-want-list-template">
  <div
    data-composition-id="scene4-want-list"
    data-start="0"
    data-width="1920"
    data-height="1080"
    data-duration="2.56"
  >
    <div class="s4-panel">
      <div class="s4-label">THEY WANT:</div>
      <div class="s4-row" id="s4-row1">
        <span class="s4-check">✓</span>
        <span class="s4-text">SAVE TIME</span>
      </div>
      <div class="s4-row" id="s4-row2">
        <span class="s4-check s4-check-warn">✓</span>
        <span class="s4-text s4-text-warn">MAKE MONEY</span>
      </div>
    </div>

    <style>
      [data-composition-id="scene4-want-list"] { position: absolute; inset: 0; }
      [data-composition-id="scene4-want-list"] .s4-panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 960px;
        height: 1080px;
        background: linear-gradient(135deg, #07121c 0%, #0a1828 70%, #0d2031 100%);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 36px;
        padding: 80px 100px;
        box-sizing: border-box;
        font-family: "Montserrat", sans-serif;
        overflow: hidden;
        mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
      }
      [data-composition-id="scene4-want-list"] .s4-label {
        font-family: "Roboto Mono", monospace;
        font-weight: 500;
        font-size: 44px;
        letter-spacing: 0.18em;
        color: #37bdf8;
        opacity: 0;
      }
      [data-composition-id="scene4-want-list"] .s4-row {
        display: flex;
        align-items: center;
        gap: 28px;
        font-weight: 900;
        font-size: 96px;
        line-height: 1.0;
        letter-spacing: -0.02em;
        color: #ffffff;
        opacity: 0;
        transform: translateX(-30px);
      }
      [data-composition-id="scene4-want-list"] .s4-check {
        color: #37bdf8;
        font-size: 96px;
        text-shadow: 0 0 28px rgba(55, 189, 248, 0.65);
      }
      [data-composition-id="scene4-want-list"] .s4-check-warn {
        color: #f09025;
        text-shadow: 0 0 28px rgba(240, 144, 37, 0.65);
      }
      [data-composition-id="scene4-want-list"] .s4-text-warn {
        color: #f09025;
        text-shadow: 0 0 32px rgba(240, 144, 37, 0.45);
      }
    </style>

    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
    <script>
      (function () {
        const SCOPE = '[data-composition-id="scene4-want-list"] ';
        const tl = gsap.timeline({ paused: true });

        tl.to(SCOPE + ".s4-label", { opacity: 1, duration: 0.28, ease: "power2.out" }, 0.05);
        tl.to(
          SCOPE + "#s4-row1",
          { opacity: 1, x: 0, duration: 0.36, ease: "back.out(1.6)" },
          0.32,
        );
        tl.to(
          SCOPE + "#s4-row2",
          { opacity: 1, x: 0, duration: 0.36, ease: "back.out(1.6)" },
          1.5,
        );
        tl.set({}, {}, 2.56);

        window.__timelines = window.__timelines || {};
        window.__timelines["scene4-want-list"] = tl;
      })();
    </script>
  </div>
</template>