The best way to control Claude Code, Codex and more from any computer or phone
| 1 | --- |
| 2 | // Prerendered page with an `astro:assets` image, served through the |
| 3 | // passthrough image endpoint. |
| 4 | import { Image } from "astro:assets"; |
| 5 | import swatch from "../assets/swatch.png"; |
| 6 | |
| 7 | export const prerender = true; |
| 8 | --- |
| 9 | |
| 10 | <html lang="en"> |
| 11 | <head> |
| 12 | <meta charset="utf-8" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 14 | <title>Prerendered Image — Astro Fixture</title> |
| 15 | </head> |
| 16 | <body> |
| 17 | <h1>Prerendered Image</h1> |
| 18 | <Image id="swatch" src={swatch} alt="swatch" /> |
| 19 | </body> |
| 20 | </html> |