HTML/CSS/JS timeline rendered frame by frame in headless Chrome, original music synthesized with OfflineAudioContext, ffmpeg encode + loudnorm. Outputs go to media/teaser/out (gitignored); poster.jpg is the end card.
222 lines
14 KiB
HTML
222 lines
14 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>storebound teaser</title>
|
|
<style>
|
|
:root {
|
|
--bg: #0b1120; --bg-2: #0f172a; --surface: #131c2f; --line: #1e293b; --line-2: #334155;
|
|
--ink: #f1f5f9; --ink-2: #cbd5e1; --muted: #94a3b8; --dim: #64748b;
|
|
--accent: #818cf8; --accent-2: #4f46e5; --accent-soft: #1e1b4b;
|
|
--api-bg: #14532d; --api-ink: #86efac;
|
|
--local-bg: #0c4a6e; --local-ink: #7dd3fc;
|
|
--ui-bg: #451a03; --ui-ink: #fcd34d;
|
|
--you-bg: #500724; --you-ink: #f9a8d4;
|
|
--red: #f87171; --red-bg: #450a0a; --green: #4ade80;
|
|
--sans: "SF Pro Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; padding: 0; background: var(--bg); overflow: hidden; }
|
|
#stage { position: relative; overflow: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans);
|
|
-webkit-font-smoothing: antialiased; }
|
|
#stage > * { position: absolute; }
|
|
|
|
/* background */
|
|
#bg { inset: 0; }
|
|
#bg .grid { position: absolute; inset: -80px; opacity: .55;
|
|
background-image: linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
|
|
background-size: 64px 64px; }
|
|
#bg .glow { position: absolute; border-radius: 50%; filter: blur(40px); }
|
|
#bg .g1 { width: 900px; height: 900px; background: radial-gradient(circle, rgba(79,70,229,.55), rgba(79,70,229,0) 65%); }
|
|
#bg .g2 { width: 760px; height: 760px; background: radial-gradient(circle, rgba(129,140,248,.30), rgba(129,140,248,0) 65%); }
|
|
#bg .g3 { width: 640px; height: 640px; background: radial-gradient(circle, rgba(236,72,153,.18), rgba(236,72,153,0) 65%); }
|
|
#bg .vig { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,17,32,0) 45%, rgba(3,6,14,.85) 100%); }
|
|
#flash { inset: 0; background: #c7d2fe; opacity: 0; pointer-events: none; z-index: 50; mix-blend-mode: screen; }
|
|
|
|
/* captions */
|
|
#caption { z-index: 30; font-weight: 900; letter-spacing: -0.025em; line-height: 1.0; }
|
|
#caption .line { display: block; white-space: nowrap; }
|
|
#caption .w { display: inline-block; margin-right: .22em; will-change: transform; }
|
|
#caption .w:last-child { margin-right: 0; }
|
|
#caption .hl { color: var(--accent); }
|
|
#caption .hl.g { color: var(--green); }
|
|
#caption .sub { display: block; font-family: var(--mono); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 22px; }
|
|
#caption .big { font-variant-numeric: tabular-nums; }
|
|
|
|
/* terminal */
|
|
#term { z-index: 10; border-radius: 26px; background: rgba(6,10,20,.92); border: 2px solid var(--line-2);
|
|
box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(129,140,248,.10), 0 0 80px -20px rgba(79,70,229,.45);
|
|
overflow: hidden; transform-origin: 50% 50%; }
|
|
#term .bar { height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 24px; border-bottom: 2px solid var(--line);
|
|
background: rgba(19,28,47,.9); }
|
|
#term .dot { width: 16px; height: 16px; border-radius: 50%; background: #334155; }
|
|
#term .dot:nth-child(1) { background: #f87171; } #term .dot:nth-child(2) { background: #fbbf24; } #term .dot:nth-child(3) { background: #4ade80; }
|
|
#term .agent { margin-left: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px;
|
|
background: var(--accent-soft); color: #c7d2fe; font: 700 22px/1 var(--sans); letter-spacing: .01em; }
|
|
#term .agent i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
|
|
#term .title { margin-left: auto; color: var(--dim); font: 600 20px/1 var(--mono); }
|
|
#term .body { position: absolute; left: 0; right: 0; top: 64px; bottom: 0; padding: 22px 30px; font: 500 25px/1.5 var(--mono);
|
|
color: var(--ink-2); }
|
|
#term .pin { color: #e0e7ff; font-weight: 700; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px dashed var(--line); white-space: pre-wrap; }
|
|
#term .pin .gt { color: var(--accent); }
|
|
#term .lines { white-space: pre-wrap; word-break: break-word; overflow: hidden; }
|
|
#term .l { min-height: 1.5em; }
|
|
#term .cmd { color: #f8fafc; font-weight: 700; }
|
|
#term .cmd .ps { color: var(--green); }
|
|
#term .note { color: #a5b4fc; }
|
|
#term .tag { color: var(--accent); }
|
|
#term .t-play { color: #86efac; } #term .t-apple { color: #7dd3fc; } #term .t-shots { color: #fcd34d; } #term .t-check, #term .t-init, #term .t-validate { color: #c4b5fd; }
|
|
#term .dim { color: var(--dim); }
|
|
#term .bad { color: #fecaca; background: rgba(248,113,113,.18); border-radius: 6px; padding: 0 6px; font-weight: 700; }
|
|
#term .okk { color: #052e16; background: var(--green); border-radius: 6px; padding: 0 6px; font-weight: 700; }
|
|
#term .fixed { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(74,222,128,.7); text-decoration-thickness: 2px; }
|
|
#term .win { color: var(--green); font-weight: 800; }
|
|
#term .cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -0.18em; background: var(--accent); margin-left: 2px; }
|
|
|
|
/* panels */
|
|
.panel { z-index: 20; border-radius: 26px; background: linear-gradient(180deg, rgba(30,41,59,.97), rgba(19,28,47,.97));
|
|
border: 2px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(129,140,248,.18); padding: 26px 30px; opacity: 0; }
|
|
.panel h4 { margin: 0 0 4px; font: 800 30px/1.2 var(--sans); color: var(--ink); display: flex; align-items: center; gap: 14px; }
|
|
.panel .ph { margin: 0 0 18px; font: 500 20px/1.3 var(--sans); color: var(--muted); }
|
|
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 5px 14px; border-radius: 999px; font: 800 18px/1 var(--sans); letter-spacing: .06em; }
|
|
.p-api { background: var(--api-bg); color: var(--api-ink); } .p-ui { background: var(--ui-bg); color: var(--ui-ink); }
|
|
.p-local { background: var(--local-bg); color: var(--local-ink); } .p-you { background: var(--you-bg); color: var(--you-ink); }
|
|
|
|
#prices table { width: 100%; border-collapse: collapse; font: 600 25px/1 var(--mono); font-variant-numeric: tabular-nums; }
|
|
#prices th { text-align: left; font: 700 17px/1 var(--sans); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; padding: 0 0 12px; }
|
|
#prices th:nth-child(n+3), #prices td:nth-child(n+3) { text-align: right; }
|
|
#prices td { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
|
|
#prices tr.hot td { color: #fff; }
|
|
#prices tr.hot td:first-child { color: var(--accent); }
|
|
#prices .ov { margin-left: 8px; font: 800 13px/1 var(--sans); padding: 3px 7px; border-radius: 6px; background: var(--accent-soft); color: #c7d2fe; vertical-align: 3px; }
|
|
#prices .sum { margin-top: 14px; font: 600 20px/1.2 var(--sans); color: var(--muted); }
|
|
|
|
#langs .chips { display: flex; flex-wrap: wrap; gap: 12px; }
|
|
#langs .chip { font: 700 25px/1 var(--mono); padding: 12px 16px; border-radius: 14px; background: rgba(15,23,42,.9); color: #475569; border: 2px solid var(--line); }
|
|
#langs .chip.on { background: var(--accent-soft); color: #e0e7ff; border-color: var(--accent); }
|
|
#langs .count { margin-left: auto; font: 900 40px/1 var(--sans); color: var(--accent); font-variant-numeric: tabular-nums; }
|
|
|
|
#quest .row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); opacity: 0; }
|
|
#quest .row:first-of-type { border-top: 0; }
|
|
#quest .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; }
|
|
#quest .ico svg { width: 26px; height: 26px; }
|
|
#quest .nm { font: 700 26px/1.15 var(--sans); color: var(--ink); }
|
|
#quest .ds { font: 500 18px/1.2 var(--sans); color: var(--muted); margin-top: 3px; }
|
|
#quest .pill { margin-left: auto; flex: none; }
|
|
|
|
/* store art */
|
|
#shots { inset: 0; z-index: 15; pointer-events: none; }
|
|
#shots .card { position: absolute; left: 0; top: 0; border-radius: 26px; overflow: hidden; opacity: 0;
|
|
box-shadow: 0 40px 90px -20px rgba(0,0,0,.9), 0 0 0 2px rgba(255,255,255,.12); background: #1e1b4b; }
|
|
#shots .card img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
#shots .lang { position: absolute; z-index: 3; font: 800 30px/1 var(--mono); padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #0b1120; opacity: 0; transform: translateX(-50%); }
|
|
#sizes { z-index: 25; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
|
|
#sizes .sz { font: 700 22px/1 var(--sans); padding: 10px 16px; border-radius: 999px; background: rgba(15,23,42,.92); border: 2px solid var(--line-2); color: #64748b; opacity: 0; }
|
|
#sizes .sz.on { color: #0b1120; background: #fcd34d; border-color: #fcd34d; }
|
|
|
|
/* end cards */
|
|
#submit, #brand { inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; }
|
|
#submit .kick { font: 700 40px/1.2 var(--sans); color: var(--muted); }
|
|
#submit .btn { position: relative; margin: 46px 0 40px; padding: 40px 74px; border-radius: 999px; font: 800 70px/1 var(--sans); letter-spacing: -0.01em;
|
|
color: #fff; background: linear-gradient(180deg, #6366f1, #4338ca); box-shadow: 0 30px 90px -20px rgba(79,70,229,.9), inset 0 2px 0 rgba(255,255,255,.25), 0 0 0 3px rgba(165,180,252,.35); }
|
|
#submit .ring { position: absolute; inset: -16px; border-radius: 999px; border: 4px solid rgba(165,180,252,.6); opacity: 0; }
|
|
#submit .yours { font: 900 120px/1 var(--sans); letter-spacing: -0.03em; color: var(--you-ink); }
|
|
#submit .yours .pill { font-size: 30px; padding: 10px 20px; vertical-align: 26px; margin-left: 10px; }
|
|
#submit .fine { margin-top: 34px; font: 600 30px/1.3 var(--sans); color: var(--muted); }
|
|
#cursor { z-index: 45; width: 64px; height: 64px; opacity: 0; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
|
|
|
|
#brand .mark { width: 200px; height: 200px; border-radius: 48px; background: linear-gradient(180deg, #6366f1, #4338ca); display: grid; place-items: center;
|
|
box-shadow: 0 30px 100px -20px rgba(79,70,229,.95), inset 0 3px 0 rgba(255,255,255,.25); }
|
|
#brand .mark svg { width: 120px; height: 120px; }
|
|
#brand .word { margin-top: 40px; font: 900 150px/1 var(--sans); letter-spacing: -0.045em; }
|
|
#brand .tag { margin-top: 30px; font: 600 42px/1.25 var(--sans); color: var(--ink-2); max-width: 860px; }
|
|
#brand .tag b { color: var(--accent); font-weight: 800; }
|
|
#brand .url { margin-top: 46px; font: 800 66px/1 var(--sans); color: var(--accent); letter-spacing: -0.01em; }
|
|
#brand .meta { margin-top: 24px; font: 700 34px/1 var(--sans); color: var(--muted); letter-spacing: .02em; }
|
|
#brand .inst { margin-top: 40px; font: 700 34px/1 var(--mono); padding: 22px 34px; border-radius: 20px; background: rgba(6,10,20,.92); border: 2px solid var(--line-2); color: var(--ink); }
|
|
#brand .inst span { color: var(--green); margin-right: 16px; }
|
|
#brand > * { will-change: transform, opacity; }
|
|
|
|
/* vertical 1080 x 1920 */
|
|
.v #caption { left: 80px; right: 80px; top: 250px; height: 330px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; font-size: 112px; }
|
|
.v #caption .sub { font-size: 30px; }
|
|
.v #term { left: 70px; width: 940px; top: 630px; height: 850px; }
|
|
.v #term .body { font-size: 28px; }
|
|
.v #term .pin { font-size: 26px; }
|
|
.v #quest { top: 900px; }
|
|
.v .panel { left: 104px; width: 872px; top: 1020px; }
|
|
.v #sizes { left: 110px; right: 110px; top: 1385px; }
|
|
|
|
/* horizontal 1920 x 1080 */
|
|
.h #caption { left: 120px; width: 760px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; font-size: 108px; }
|
|
.h #caption .sub { font-size: 28px; }
|
|
.h #term { left: 900px; width: 920px; top: 110px; height: 860px; }
|
|
.h .panel { left: 950px; width: 820px; top: 470px; }
|
|
.h #quest { top: 330px; }
|
|
.h #sizes { left: 120px; width: 700px; top: 760px; justify-content: flex-start; }
|
|
.h #brand .word { font-size: 140px; }
|
|
.h #brand .mark { width: 170px; height: 170px; border-radius: 42px; }
|
|
.h #brand .mark svg { width: 102px; height: 102px; }
|
|
.h #brand .tag { max-width: 1200px; margin-top: 24px; }
|
|
.h #brand .url { margin-top: 36px; }
|
|
.h #brand .inst { margin-top: 32px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="stage">
|
|
<div id="bg"><div class="grid"></div><div class="glow g1"></div><div class="glow g2"></div><div class="glow g3"></div><div class="vig"></div></div>
|
|
|
|
<div id="term">
|
|
<div class="bar"><span class="dot"></span><span class="dot"></span><span class="dot"></span>
|
|
<span class="agent"><i></i>your AI agent</span><span class="title">prism-puddle · scripted demo</span></div>
|
|
<div class="body"><div class="pin"></div><div class="lines"></div></div>
|
|
</div>
|
|
|
|
<div id="prices" class="panel">
|
|
<h4>Regional prices <span class="pill p-api">API</span></h4>
|
|
<p class="ph">USD base · Play converts per region · your overrides</p>
|
|
<table><thead><tr><th>region</th><th>cur</th><th>remove_ads</th><th>drops_500</th></tr></thead><tbody></tbody></table>
|
|
<div class="sum"></div>
|
|
</div>
|
|
|
|
<div id="langs" class="panel">
|
|
<h4>Store listings <span class="pill p-api">API</span><span class="count">0/14</span></h4>
|
|
<p class="ph">title · short + full description · keywords · per language</p>
|
|
<div class="chips"></div>
|
|
</div>
|
|
|
|
<div id="quest" class="panel">
|
|
<h4>Store questionnaires</h4>
|
|
<p class="ph">API where the stores have one · a skill where they do not</p>
|
|
<div class="rows"></div>
|
|
</div>
|
|
|
|
<div id="shots"></div>
|
|
<div id="sizes"></div>
|
|
|
|
<div id="caption"></div>
|
|
|
|
<div id="submit">
|
|
<div class="kick">storebound never presses Submit.</div>
|
|
<div class="btn"><span class="ring"></span>Submit for review</div>
|
|
<div class="yours">your click.<span class="pill p-you">YOU</span></div>
|
|
<div class="fine">Play: Send changes for review · App Store: Submit for Review</div>
|
|
</div>
|
|
<svg id="cursor" viewBox="0 0 32 32" aria-hidden="true"><path d="M6 3 L6 25 L11.5 20 L15.5 29 L19.5 27.2 L15.6 18.6 L23 18.2 Z" fill="#fff" stroke="#0b1120" stroke-width="2" stroke-linejoin="round"/></svg>
|
|
|
|
<div id="brand">
|
|
<div class="mark"><svg viewBox="0 0 32 32" aria-hidden="true"><path d="M16 7v12M10.5 12.5 16 7l5.5 5.5M8 18v5.5h16V18" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
|
|
<div class="word">storebound</div>
|
|
<div class="tag">From zero to <b>“Submit for review”</b><br>on Google Play and the App Store.</div>
|
|
<div class="url">storebound.dev</div>
|
|
<div class="meta">open source · MIT</div>
|
|
<div class="inst"><span>$</span>bunx storebound init</div>
|
|
</div>
|
|
|
|
<div id="flash"></div>
|
|
</div>
|
|
<script type="module" src="teaser.js"></script>
|
|
</body>
|
|
</html>
|