The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { StrictMode } from "react"; |
| 2 | import { createRoot } from "react-dom/client"; |
| 3 | import "./styles.css"; |
| 4 | |
| 5 | function App() { |
| 6 | return ( |
| 7 | <main className="mx-auto max-w-3xl px-6 py-16"> |
| 8 | <p className="font-mono text-sm tracking-[0.3em] text-lime-300 uppercase">Shorty</p> |
| 9 | <h1 className="mt-3 font-serif text-5xl font-semibold text-stone-50">Your links</h1> |
| 10 | <form className="mt-10 flex gap-3" onSubmit={(event) => event.preventDefault()}> |
| 11 | <input |
| 12 | disabled |
| 13 | placeholder="https://…" |
| 14 | className="flex-1 rounded-xl border border-white/10 bg-white/5 px-4 py-3 text-stone-100 outline-none" |
| 15 | /> |
| 16 | <button disabled className="rounded-xl bg-lime-300/40 px-5 py-3 font-medium text-stone-900"> |
| 17 | Shorten |
| 18 | </button> |
| 19 | </form> |
| 20 | <p className="mt-8 rounded-2xl border border-dashed border-white/10 px-6 py-10 text-center text-stone-500"> |
| 21 | API offline |
| 22 | </p> |
| 23 | </main> |
| 24 | ); |
| 25 | } |
| 26 | |
| 27 | createRoot(document.getElementById("root")!).render( |
| 28 | <StrictMode> |
| 29 | <App /> |
| 30 | </StrictMode>, |
| 31 | ); |