Commit 88c9628
Eric Bower
·
2026-05-16 11:43:50 -0400 EDT
parent c4cd748
style: beta site
1 files changed,
+28,
-14
+28,
-14
1@@ -609,11 +609,33 @@ code {
2 </ul>
3 </div>
4 <div>
5- <!-- IMAGE PLACEHOLDER: screenshot of zmx attach to a failing session -->
6- <div class="img-placeholder">
7- <div class="icon">🖥️</div>
8- <div class="label">Screenshot: attaching to a failing build session</div>
9- <div class="dims">~600×400 — show terminal with zmx attach output</div>
10+ <div class="terminal">
11+ <div class="terminal-bar">
12+ <span class="dot red"></span>
13+ <span class="dot yellow"></span>
14+ <span class="dot green"></span>
15+ <span style="margin-left: 0.5rem;">zmx attach ci.myrepo.test</span>
16+ </div>
17+ <div class="terminal-body">
18+ <div><span class="prompt">$ </span><span class="cmd">zmx attach ci.myrepo.test</span></div>
19+ <div><span class="info">→ attached to session ci.myrepo.test</span></div>
20+ <div> </div>
21+ <div class="output">$ go test ./...</div>
22+ <div class="output">ok myapp/core 8.2s</div>
23+ <div class="error">FAIL myapp/api 11.4s</div>
24+ <div class="error">Error: dial tcp 10.0.1.5:5432 — connection refused</div>
25+ <div> </div>
26+ <div><span class="comment"># ↑ you're in the live session</span></div>
27+ <div><span class="comment"># ↑ press ↑ + Enter to rerun, or inspect freely</span></div>
28+ <div> </div>
29+ <div><span class="prompt">$ </span><span class="cmd">cat .env | grep DB</span></div>
30+ <div class="output">DB_HOST=postgres.internal:5432</div>
31+ <div> </div>
32+ <div><span class="prompt">$ </span><span class="cmd">nslookup postgres.internal</span></div>
33+ <div class="error">;; no servers could be reached</div>
34+ <div> </div>
35+ <div><span class="comment"># ↑ found it: DNS not resolving in this container</span></div>
36+ </div>
37 </div>
38 </div>
39 </div>
40@@ -965,7 +987,7 @@ code {
41 We're opening the managed beta at <code>ci.pico.sh</code>.<br>
42 Self-hosted is available now on <a href="https://github.com/picosh/pici">GitHub</a>.
43 </p>
44- <form class="signup-form" action="#" method="POST" onsubmit="handleSignup(event)">
45+ <form class="signup-form" method="POST" action="/pgs/forms/pici-beta">
46 <input type="email" name="email" placeholder="you@example.com" required autocomplete="email">
47 <button type="submit" class="btn btn-primary">Sign Up for Beta</button>
48 </form>
49@@ -1008,14 +1030,6 @@ document.querySelectorAll('h2').forEach(h2 => {
50 h2.appendChild(a);
51 }
52 });
53-
54-function handleSignup(e) {
55- e.preventDefault();
56- const form = e.target;
57- const email = form.email.value;
58- // wire up to your backend / pipe.pico.sh / etc.
59- form.innerHTML = `<p style="color: var(--green); padding: 0.7rem 0;">✓ You're on the list, ${email}.</p>`;
60-}
61 </script>
62
63 </body>