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.

7.9 KB
Raw Blame
<!doctype html>
<!--
  KALLAWAY · tier2 · lower-third · NOWPLAYING
  A "now playing" media bar lower-left. A pulsing music-note glyph marks the left;
  title and artist stack above a thin progress-line that grows from 0 to ~70%.
  Frosted glass pill with an animated progress track — the feel of a Spotify mini-
  player overlaid on a dark canvas. Slots: title (~36 chars), subtitle (~36 chars).
-->
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../../tokens.css" />
    <style>
      html, body { margin: 0; background: transparent; }

      #t2-lt-nplay {
        position: absolute; inset: 0; width: 1920px; height: 1080px;
        background: transparent; overflow: hidden;
        font-family: var(--font-display);
      }

      /* Soft bloom under the card */
      #t2-lt-nplay .local-bloom {
        position: absolute;
        left: 50px; bottom: 96px;
        width: 600px; height: 180px;
        border-radius: 50%;
        background: radial-gradient(ellipse at 30% 80%,
          rgba(var(--accent-rgb), 0.25) 0%,
          rgba(var(--accent-rgb), 0.07) 55%,
          transparent 78%);
        filter: blur(34px);
        pointer-events: none;
        z-index: 1;
      }

      /* Glass card */
      #t2-lt-nplay .card {
        position: absolute;
        left: 80px; bottom: 120px;
        width: 480px;
        padding: 24px 32px 20px;
        background: var(--glass-bg-dark);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-radius: var(--radius);
        border: var(--stroke) solid var(--glass-border);
        box-shadow:
          var(--glass-shadow),
          0 0 0 1px rgba(var(--accent-rgb), 0.35),
          0 0 28px rgba(var(--accent-rgb), 0.16),
          inset 0 1px 0 var(--glass-hi);
        z-index: 2;
        overflow: hidden;
      }

      #t2-lt-nplay .card::before {
        content: "";
        position: absolute; top: 0; left: 12px; right: 12px; height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.48) 40%, rgba(255,255,255,0.48) 60%, transparent);
      }

      /* Top row: icon + label + title */
      #t2-lt-nplay .top-row {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 6px;
      }

      /* Music note icon */
      #t2-lt-nplay .icon-wrap {
        flex-shrink: 0;
        width: 40px; height: 40px;
        border-radius: var(--radius-sm);
        background: rgba(var(--accent-rgb), 0.16);
        border: 1px solid rgba(var(--accent-rgb), 0.40);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.30);
      }

      #t2-lt-nplay .icon-wrap svg {
        width: 22px; height: 22px;
        fill: var(--accent);
        filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), 0.75));
      }

      #t2-lt-nplay .text-col {
        flex: 1;
        overflow: hidden;
      }

      /* "NOW PLAYING" kicker */
      #t2-lt-nplay .kicker {
        font-family: var(--font-body);
        font-weight: var(--wt-bold);
        font-size: 14px;
        letter-spacing: var(--track-wide);
        text-transform: uppercase;
        color: var(--accent);
        text-shadow: var(--textglow-accent);
        margin-bottom: 3px;
        line-height: 1;
      }

      #t2-lt-nplay .title {
        font-family: var(--font-display);
        font-weight: var(--wt-bold);
        font-size: 28px;
        letter-spacing: var(--track-snug);
        color: var(--white);
        text-shadow: var(--textglow);
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      #t2-lt-nplay .subtitle {
        font-family: var(--font-body);
        font-weight: var(--wt-med);
        font-size: 20px;
        color: var(--text-dim);
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      /* Progress track */
      #t2-lt-nplay .progress-track {
        margin-top: 16px;
        height: 3px;
        border-radius: 3px;
        background: rgba(255,255,255,0.10);
        overflow: hidden;
        position: relative;
      }

      #t2-lt-nplay .progress-fill {
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 0%;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.90));
        box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.80);
      }

      /* Timestamp row */
      #t2-lt-nplay .time-row {
        display: flex;
        justify-content: space-between;
        margin-top: 6px;
      }

      #t2-lt-nplay .time-val {
        font-family: var(--font-mono);
        font-size: 16px;
        color: var(--text-faint);
        letter-spacing: 0.03em;
      }
    </style>
  </head>
  <body>
    <div id="t2-lt-nplay"
         data-composition-id="t2-lt-nplay"
         data-start="0"
         data-width="1920"
         data-height="1080">

      <div class="local-bloom"></div>

      <div class="card">
        <div class="top-row">
          <div class="icon-wrap">
            <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
              <path d="M9 18V5l12-2v13M9 18c0 1.1-.9 2-2 2H6a2 2 0 1 1 0-4h1a2 2 0 0 1 2 2zm12-2c0 1.1-.9 2-2 2h-1a2 2 0 1 1 0-4h1a2 2 0 0 1 2 2z"/>
            </svg>
          </div>
          <div class="text-col">
            <div class="kicker">Now Playing</div>
            <div class="title" data-slot="title">The AI Monetization Playbook</div>
            <div class="subtitle" data-slot="subtitle">Kallaway · Episode 14</div>
          </div>
        </div>
        <div class="progress-track">
          <div class="progress-fill"></div>
        </div>
        <div class="time-row">
          <span class="time-val">2:47</span>
          <span class="time-val">6:12</span>
        </div>
      </div>

    </div>

    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
    <script>
      window.__timelines = window.__timelines || {};
      const tl = gsap.timeline({ paused: true });

      const COMP = "#t2-lt-nplay";

      /* bloom rises in */
      tl.from(`${COMP} .local-bloom`,
        { autoAlpha: 0, scale: 0.65, duration: 1.1, ease: "power2.out" }, 0);

      /* card springs up from below */
      tl.from(`${COMP} .card`,
        { autoAlpha: 0, y: 36, scale: 0.93, filter: "blur(12px)",
          transformOrigin: "left bottom",
          duration: 0.80, ease: "back.out(1.4)" }, 0.10);

      /* kicker fades in */
      tl.from(`${COMP} .kicker`,
        { autoAlpha: 0, x: -12, duration: 0.45, ease: "power3.out" }, 0.52);

      /* icon pops */
      tl.from(`${COMP} .icon-wrap`,
        { autoAlpha: 0, scale: 0, duration: 0.42, ease: "back.out(2.0)" }, 0.48);

      /* title glides in */
      tl.from(`${COMP} .title`,
        { autoAlpha: 0, x: -18, filter: "blur(7px)",
          duration: 0.62, ease: "power4.out" }, 0.62);

      /* subtitle follows */
      tl.from(`${COMP} .subtitle`,
        { autoAlpha: 0, x: -12, filter: "blur(5px)",
          duration: 0.55, ease: "power3.out" }, 0.78);

      /* progress track appears */
      tl.from(`${COMP} .progress-track`,
        { autoAlpha: 0, scaleX: 0, transformOrigin: "left center",
          duration: 0.40, ease: "power2.out" }, 0.90);

      /* progress fill grows to ~70% — finite */
      tl.to(`${COMP} .progress-fill`,
        { width: "70%", duration: 2.8, ease: "power1.inOut" }, 1.0);

      /* time row fades in */
      tl.from(`${COMP} .time-row`,
        { autoAlpha: 0, duration: 0.40, ease: "power2.out" }, 1.05);

      /* icon glow pulse — finite */
      tl.to(`${COMP} .icon-wrap`,
        { boxShadow: "0 0 24px rgba(55,189,248,0.55), 0 0 0 1px rgba(55,189,248,0.50)",
          duration: 1.1, ease: "sine.inOut", repeat: 3, yoyo: true }, 1.8);

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

      window.__timelines["t2-lt-nplay"] = tl;
    </script>
  </body>
</html>