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.4 KB
Raw Blame
<template id="scene2-not-needed-template">
  <div
    data-composition-id="scene2-not-needed"
    data-start="0"
    data-width="1920"
    data-height="1080"
    data-duration="1.96"
  >
    <div class="s2-panel">
      <div class="s2-label">BUT MOST</div>
      <div class="s2-big">
        <span class="s2-x" id="s2-x">✕</span>
        <span class="s2-text" id="s2-text">DON'T NEED<br/>THEM</span>
      </div>
      <div class="s2-strike" id="s2-strike"></div>
    </div>

    <style>
      [data-composition-id="scene2-not-needed"] { position: absolute; inset: 0; }
      [data-composition-id="scene2-not-needed"] .s2-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: 30px;
        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="scene2-not-needed"] .s2-label {
        font-family: "Roboto Mono", monospace;
        font-weight: 500;
        font-size: 44px;
        letter-spacing: 0.18em;
        color: #96a2b6;
        opacity: 0;
      }
      [data-composition-id="scene2-not-needed"] .s2-big {
        display: flex;
        align-items: center;
        gap: 36px;
        font-weight: 900;
        font-size: 130px;
        line-height: 0.96;
        letter-spacing: -0.02em;
        color: #ffffff;
      }
      [data-composition-id="scene2-not-needed"] .s2-x {
        color: #f09025;
        font-size: 260px;
        line-height: 0.8;
        opacity: 0;
        transform: scale(0.4);
        text-shadow: 0 0 60px rgba(240, 144, 37, 0.55);
      }
      [data-composition-id="scene2-not-needed"] .s2-text {
        opacity: 0;
        transform: translateY(20px);
      }
      [data-composition-id="scene2-not-needed"] .s2-strike {
        position: absolute;
        bottom: 320px;
        left: 100px;
        height: 8px;
        width: 460px;
        background: #f09025;
        transform-origin: left center;
        transform: scaleX(0);
        box-shadow: 0 0 24px rgba(240, 144, 37, 0.5);
      }
    </style>

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

        tl.to(SCOPE + ".s2-label", { opacity: 1, duration: 0.3, ease: "power2.out" }, 0.05);
        tl.to(
          SCOPE + ".s2-x",
          { opacity: 1, scale: 1, duration: 0.32, ease: "back.out(2.4)" },
          0.32,
        );
        tl.to(
          SCOPE + ".s2-text",
          { opacity: 1, y: 0, duration: 0.34, ease: "power2.out" },
          0.55,
        );
        tl.to(
          SCOPE + ".s2-strike",
          { scaleX: 1, duration: 0.4, ease: "power3.out" },
          1.3,
        );
        tl.set({}, {}, 1.96);

        window.__timelines = window.__timelines || {};
        window.__timelines["scene2-not-needed"] = tl;
      })();
    </script>
  </div>
</template>