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

main
tsx 20 lines 613 Bytes
Raw
1 import { Card } from "../components/Card.tsx";
2 import { LocalTime } from "../components/LocalTime.tsx";
3
4 export const dynamic = "force-static";
5
6 export default function StaticPage() {
7 return (
8 <main>
9 <h1 className="text-3xl font-bold">Static</h1>
10 <Card title="Prerendered at deploy">
11 <p className="text-sm text-slate-900" data-testid="static-time">
12 Rendered at: <LocalTime cached value={new Date().toISOString()} />
13 </p>
14 <p className="mt-2" data-testid="static-marker">
15 This page is statically generated.
16 </p>
17 </Card>
18 </main>
19 );
20 }