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
| 1 | import Card from "../components/Card.tsx"; |
| 2 | |
| 3 | // Server-rendered on every request inside the Railway Service. |
| 4 | // Environment values declared in alchemy.run.ts are available on |
| 5 | // `process.env`. |
| 6 | export default function Home() { |
| 7 | const greeting = (typeof process !== "undefined" && process.env.GREETING) || "Hello!"; |
| 8 | return ( |
| 9 | <main> |
| 10 | <h1 class="text-3xl font-bold">{greeting}</h1> |
| 11 | <Card |
| 12 | title="Styled with Tailwind CSS" |
| 13 | body="This card is a Solid component styled with Tailwind utilities." |
| 14 | /> |
| 15 | </main> |
| 16 | ); |
| 17 | } |