The best way to control Claude Code, Codex and more from any computer or phone

main
html 258 lines 6.93 KB
Raw
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8" />
5 <!--
6 Real-app story: each beat is a frozen page of the real app (beats/<name>.html, written by
7 snapshot.mjs from a staging scenario), stacked as iframes in .app. The app was frozen at a
8 1440×720 viewport; .app scales it 1.0556× into the 1520×760 window, so a point (x, y) in a
9 beat is canvas (40 + 1.0556·x, 26 + 1.0556·y).
10 -->
11 <style>
12 @font-face {
13 font-family: Inter;
14 src: url(inter.woff2) format("woff2");
15 font-weight: 100 900;
16 }
17 @font-face {
18 font-family: JB;
19 src: url(jbmono.woff2) format("woff2");
20 font-weight: 100 800;
21 }
22 * {
23 box-sizing: border-box;
24 margin: 0;
25 }
26 :root {
27 --text: #f1f3f7;
28 --muted: #a3a3a3;
29 --dim: #636368;
30 }
31 html,
32 body {
33 width: 1600px;
34 height: 900px;
35 overflow: hidden;
36 background: #000;
37 font-family: Inter, sans-serif;
38 color: var(--text);
39 -webkit-font-smoothing: antialiased;
40 }
41 .canvas {
42 position: relative;
43 width: 1600px;
44 height: 900px;
45 overflow: hidden;
46 background:
47 radial-gradient(1000px 520px at 50% 0%, rgba(52, 107, 241, 0.13), transparent 70%), #000;
48 }
49 .cam {
50 position: absolute;
51 inset: 0;
52 transform-origin: 0 0;
53 }
54 .win {
55 position: absolute;
56 left: 40px;
57 top: 26px;
58 width: 1520px;
59 height: 760px;
60 border-radius: 14px;
61 overflow: hidden;
62 background: #000;
63 box-shadow:
64 0 0 0 1px rgba(255, 255, 255, 0.1),
65 0 40px 120px rgba(0, 0, 0, 0.8);
66 }
67 .app {
68 position: absolute;
69 left: 0;
70 top: 0;
71 width: 1440px;
72 height: 720px;
73 transform: scale(1.05556);
74 transform-origin: 0 0;
75 }
76 .app iframe {
77 position: absolute;
78 inset: 0;
79 width: 1440px;
80 height: 720px;
81 border: 0;
82 opacity: 0;
83 background: #000;
84 }
85 .cursor {
86 position: absolute;
87 left: 0;
88 top: 0;
89 z-index: 20;
90 transform-origin: 4px 3px;
91 filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
92 }
93 .shade {
94 position: absolute;
95 left: 0;
96 right: 0;
97 bottom: 0;
98 height: 190px;
99 background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.96) 42%);
100 z-index: 30;
101 }
102 .cap {
103 position: absolute;
104 left: 0;
105 right: 0;
106 top: 806px;
107 display: flex;
108 justify-content: center;
109 align-items: center;
110 gap: 16px;
111 font-size: 40px;
112 font-weight: 700;
113 letter-spacing: -0.025em;
114 z-index: 31;
115 opacity: 0;
116 }
117 .cap .n {
118 width: 50px;
119 height: 50px;
120 border-radius: 13px;
121 display: grid;
122 place-items: center;
123 font-family: JB;
124 font-size: 25px;
125 font-weight: 700;
126 background: #191a1d;
127 color: var(--text);
128 box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
129 }
130 .cap .m {
131 color: var(--muted);
132 font-weight: 560;
133 }
134 .outro {
135 position: absolute;
136 inset: 0;
137 z-index: 50;
138 opacity: 0;
139 display: grid;
140 place-items: center;
141 text-align: center;
142 background:
143 radial-gradient(760px 460px at 50% 34%, rgba(52, 107, 241, 0.16), transparent 70%), #000;
144 }
145 .outro .logo {
146 width: 176px;
147 height: 176px;
148 display: block;
149 margin: 0 auto -10px;
150 filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35))
151 drop-shadow(0 18px 60px rgba(52, 107, 241, 0.35));
152 }
153 .outro h2 {
154 margin-top: 44px;
155 font-size: 76px;
156 line-height: 1.02;
157 font-weight: 760;
158 letter-spacing: -0.045em;
159 }
160 .outro h2 .and {
161 color: var(--muted);
162 }
163 .outro p {
164 margin-top: 22px;
165 font-size: 34px;
166 color: var(--muted);
167 font-weight: 550;
168 letter-spacing: -0.02em;
169 display: flex;
170 align-items: center;
171 justify-content: center;
172 gap: 14px;
173 }
174 .outro p b {
175 color: var(--text);
176 font-weight: 650;
177 }
178 .ver {
179 font-family: JB;
180 font-size: 22px;
181 font-weight: 600;
182 color: var(--text);
183 padding: 6px 13px;
184 border-radius: 10px;
185 background: rgba(255, 255, 255, 0.07);
186 box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
187 }
188 .outro .url {
189 margin-top: 46px;
190 font-family: JB;
191 font-size: 22px;
192 color: var(--dim);
193 }
194 </style>
195 </head>
196 <body>
197 <div class="canvas">
198 <div class="cam">
199 <div class="win">
200 <div class="app">
201 <!-- One iframe per beat, in order. -->
202 <iframe data-beat="BEAT_ONE" src="beats/BEAT_ONE.html"></iframe>
203 </div>
204 </div>
205 <div class="cursor" id="cur">
206 <svg viewBox="0 0 24 24" width="26" height="26">
207 <path
208 d="M4 2.5 L4 19.5 L8.6 15.2 L11.6 21.6 L14.6 20.2 L11.7 14 L18 14 Z"
209 fill="#fff"
210 stroke="#000"
211 stroke-width="1.4"
212 stroke-linejoin="round"
213 />
214 </svg>
215 </div>
216 </div>
217 <div class="shade"></div>
218 <div class="cap" id="cap1">
219 <span class="n">1</span><span>Lead phrase <span class="m">and the rest.</span></span>
220 </div>
221 </div>
222 <div class="outro">
223 <div>
224 <img class="logo" src="logo-prod.png" />
225 <h2>Feature name<br /><span class="and">second line</span></h2>
226 <p>Available now in <b>T3 Code</b> <span class="ver">0.0.0</span></p>
227 <div class="url">t3.codes</div>
228 </div>
229 </div>
230 <!-- kit.js last: Kit.ready waits for the beat iframes above. -->
231 <script src="kit.js"></script>
232 <script>
233 // Everything here is in animation seconds. capture.mjs calls setup() once the beats have loaded.
234 window.setup = () => {
235 // One visibility window per beat; never pair Kit.show and Kit.hide on one element.
236 Kit.beats([["BEAT_ONE", 0]]);
237 // Captions play in order and must not overlap.
238 Kit.captions([["#cap1", 0.4, 5.8]]);
239 Kit.anim(".outro", [{ opacity: 0 }, { opacity: 1 }], { at: 6, dur: 0.5 });
240 Kit.stagger(".outro .logo, .outro h2, .outro p, .outro .url", 6.05, 0.08, "rise", {
241 y: 18,
242 });
243 };
244 window.layoutTime = 1;
245 window.placeCursor = () =>
246 Kit.measure(() =>
247 Kit.cursor("#cur", [
248 { t: 0, at: [900, 600], hidden: true },
249 { t: 6, hidden: true },
250 ]),
251 );
252 Kit.timeline([
253 [6, 0, 6],
254 [3, 6.6, 6.6],
255 ]);
256 </script>
257 </body>
258 </html>