@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
html 80 lines 1.81 KB
Raw
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6 <title>Alchemy · live presenter</title>
7 <style>
8 html,
9 body,
10 #root {
11 margin: 0;
12 height: 100%;
13 background: #0b0a08;
14 color: #e8e2d4;
15 font-family: Inter, ui-sans-serif, system-ui, sans-serif;
16 }
17 /* Fixed rows: the video area never changes size. */
18 .stage {
19 height: 100%;
20 display: grid;
21 grid-template-rows: minmax(0, 1fr) 48px;
22 }
23 .player {
24 min-height: 0;
25 display: grid;
26 place-items: center;
27 }
28 .player > div {
29 max-height: 100%;
30 aspect-ratio: 16 / 9;
31 }
32 .bar {
33 display: flex;
34 gap: 18px;
35 align-items: center;
36 overflow: hidden;
37 white-space: nowrap;
38 padding: 10px 18px;
39 border-top: 1px solid #25221d;
40 font-size: 15px;
41 }
42 .count {
43 font-family: ui-monospace, monospace;
44 color: #8a826f;
45 }
46 .title {
47 flex: 1;
48 min-width: 0;
49 overflow: hidden;
50 text-overflow: ellipsis;
51 font-weight: 600;
52 }
53 .state {
54 color: #8a826f;
55 }
56 /* Presentation mode: the video fills the screen, nothing else. */
57 .stage.presenting {
58 grid-template-rows: minmax(0, 1fr);
59 background: #000;
60 cursor: none;
61 }
62 .stage.presenting .bar {
63 display: none;
64 }
65 .hint {
66 color: #5c5647;
67 font-size: 13px;
68 }
69 .loading {
70 display: grid;
71 place-items: center;
72 height: 100%;
73 }
74 </style>
75 </head>
76 <body>
77 <div id="root"></div>
78 <script type="module" src="./main.tsx"></script>
79 </body>
80 </html>