Commit 88c9628
Eric Bower
·
2026-05-16 11:43:50 -0400 EDT
parent c4cd748
style: beta site
1 files changed,
+28,
-14
+28,
-14
| ... | ... | @@ -609,11 +609,33 @@ code { | |
| 609 | 609 | </ul> | |
| 610 | 610 | </div> | |
| 611 | 611 | <div> | |
| 612 | - | <!-- IMAGE PLACEHOLDER: screenshot of zmx attach to a failing session --> | |
| 613 | - | <div class="img-placeholder"> | |
| 614 | - | <div class="icon">🖥️</div> | |
| 615 | - | <div class="label">Screenshot: attaching to a failing build session</div> | |
| 616 | - | <div class="dims">~600×400 — show terminal with zmx attach output</div> | |
| 612 | + | <div class="terminal"> | |
| 613 | + | <div class="terminal-bar"> | |
| 614 | + | <span class="dot red"></span> | |
| 615 | + | <span class="dot yellow"></span> | |
| 616 | + | <span class="dot green"></span> | |
| 617 | + | <span style="margin-left: 0.5rem;">zmx attach ci.myrepo.test</span> | |
| 618 | + | </div> | |
| 619 | + | <div class="terminal-body"> | |
| 620 | + | <div><span class="prompt">$ </span><span class="cmd">zmx attach ci.myrepo.test</span></div> | |
| 621 | + | <div><span class="info">→ attached to session ci.myrepo.test</span></div> | |
| 622 | + | <div> </div> | |
| 623 | + | <div class="output">$ go test ./...</div> | |
| 624 | + | <div class="output">ok myapp/core 8.2s</div> | |
| 625 | + | <div class="error">FAIL myapp/api 11.4s</div> | |
| 626 | + | <div class="error">Error: dial tcp 10.0.1.5:5432 — connection refused</div> | |
| 627 | + | <div> </div> | |
| 628 | + | <div><span class="comment"># ↑ you're in the live session</span></div> | |
| 629 | + | <div><span class="comment"># ↑ press ↑ + Enter to rerun, or inspect freely</span></div> | |
| 630 | + | <div> </div> | |
| 631 | + | <div><span class="prompt">$ </span><span class="cmd">cat .env | grep DB</span></div> | |
| 632 | + | <div class="output">DB_HOST=postgres.internal:5432</div> | |
| 633 | + | <div> </div> | |
| 634 | + | <div><span class="prompt">$ </span><span class="cmd">nslookup postgres.internal</span></div> | |
| 635 | + | <div class="error">;; no servers could be reached</div> | |
| 636 | + | <div> </div> | |
| 637 | + | <div><span class="comment"># ↑ found it: DNS not resolving in this container</span></div> | |
| 638 | + | </div> | |
| 617 | 639 | </div> | |
| 618 | 640 | </div> | |
| 619 | 641 | </div> |
| ... | ... | @@ -965,7 +987,7 @@ code { | |
| 965 | 987 | We're opening the managed beta at <code>ci.pico.sh</code>.<br> | |
| 966 | 988 | Self-hosted is available now on <a href="https://github.com/picosh/pici">GitHub</a>. | |
| 967 | 989 | </p> | |
| 968 | - | <form class="signup-form" action="#" method="POST" onsubmit="handleSignup(event)"> | |
| 990 | + | <form class="signup-form" method="POST" action="/pgs/forms/pici-beta"> | |
| 969 | 991 | <input type="email" name="email" placeholder="you@example.com" required autocomplete="email"> | |
| 970 | 992 | <button type="submit" class="btn btn-primary">Sign Up for Beta</button> | |
| 971 | 993 | </form> |
| ... | ... | @@ -1008,14 +1030,6 @@ document.querySelectorAll('h2').forEach(h2 => { | |
| 1008 | 1030 | h2.appendChild(a); | |
| 1009 | 1031 | } | |
| 1010 | 1032 | }); | |
| 1011 | - | ||
| 1012 | - | function handleSignup(e) { | |
| 1013 | - | e.preventDefault(); | |
| 1014 | - | const form = e.target; | |
| 1015 | - | const email = form.email.value; | |
| 1016 | - | // wire up to your backend / pipe.pico.sh / etc. | |
| 1017 | - | form.innerHTML = `<p style="color: var(--green); padding: 0.7rem 0;">✓ You're on the list, ${email}.</p>`; | |
| 1018 | - | } | |
| 1019 | 1033 | </script> | |
| 1020 | 1034 | ||
| 1021 | 1035 | </body> |