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.

4.1 KB
Raw Blame
<template id="scene7-pay-for-template">
  <div
    data-composition-id="scene7-pay-for"
    data-start="0"
    data-width="1920"
    data-height="1080"
    data-duration="1.64"
  >
    <!-- HERO mode: face full-screen behind. Stamp-style "PAID" badge in upper-left
         + thin lower banner reading "WHAT BUSINESSES PAY FOR" -->
    <div class="s7-stamp" id="s7-stamp">
      <span class="s7-stamp-amount">$$$</span>
      <span class="s7-stamp-label">PAID</span>
    </div>
    <div class="s7-banner" id="s7-banner">
      <div class="s7-banner-bar" id="s7-banner-bar"></div>
      <div class="s7-banner-text">WHAT BUSINESSES PAY FOR</div>
    </div>

    <style>
      [data-composition-id="scene7-pay-for"] { position: absolute; inset: 0; }
      [data-composition-id="scene7-pay-for"] .s7-stamp {
        position: absolute;
        top: 80px;
        left: 90px;
        padding: 30px 56px;
        border: 6px solid #f09025;
        border-radius: 22px;
        background: rgba(7, 18, 28, 0.78);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-family: "Montserrat", sans-serif;
        line-height: 1;
        opacity: 0;
        transform: rotate(-6deg) scale(0.8);
        transform-origin: center center;
        box-shadow:
          0 0 60px rgba(240, 144, 37, 0.45),
          inset 0 0 30px rgba(240, 144, 37, 0.12);
      }
      [data-composition-id="scene7-pay-for"] .s7-stamp-amount {
        font-weight: 900;
        font-size: 140px;
        color: #f09025;
        letter-spacing: -0.04em;
        text-shadow: 0 0 32px rgba(240, 144, 37, 0.65);
      }
      [data-composition-id="scene7-pay-for"] .s7-stamp-label {
        font-family: "Roboto Mono", monospace;
        font-weight: 700;
        font-size: 46px;
        letter-spacing: 0.18em;
        color: #ffffff;
      }
      [data-composition-id="scene7-pay-for"] .s7-banner {
        position: absolute;
        bottom: 230px;
        left: 0;
        width: 100%;
        height: 88px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
      }
      [data-composition-id="scene7-pay-for"] .s7-banner-bar {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 88px;
        width: 940px;
        margin-left: -470px;
        margin-top: -44px;
        background: linear-gradient(90deg, transparent 0%, rgba(7,18,28,0.92) 12%, rgba(7,18,28,0.92) 88%, transparent 100%);
        border-top: 2px solid rgba(240, 144, 37, 0.55);
        border-bottom: 2px solid rgba(240, 144, 37, 0.55);
        transform: scaleX(0);
        transform-origin: center center;
      }
      [data-composition-id="scene7-pay-for"] .s7-banner-text {
        position: relative;
        font-family: "Roboto Mono", monospace;
        font-weight: 700;
        font-size: 44px;
        letter-spacing: 0.22em;
        color: #ffffff;
        text-shadow: 0 0 24px rgba(240, 144, 37, 0.6);
        z-index: 1;
        opacity: 0;
      }
    </style>

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

        tl.to(
          SCOPE + "#s7-stamp",
          {
            opacity: 1,
            scale: 1,
            rotate: -6,
            duration: 0.34,
            ease: "back.out(2.6)",
          },
          0.05,
        );
        tl.to(
          SCOPE + "#s7-banner",
          { opacity: 1, duration: 0.28, ease: "power2.out" },
          0.35,
        );
        tl.to(
          SCOPE + "#s7-banner-bar",
          { scaleX: 1, duration: 0.42, ease: "power3.out" },
          0.35,
        );
        tl.to(
          SCOPE + ".s7-banner-text",
          { opacity: 1, duration: 0.28, ease: "power2.out" },
          0.6,
        );

        tl.set({}, {}, 1.64);

        window.__timelines = window.__timelines || {};
        window.__timelines["scene7-pay-for"] = tl;
      })();
    </script>
  </div>
</template>