Files
gpuix/examples/web.html
T
Tommy D. Rossi de1c74aa7d feat: serve the infinite-chat example in the browser at /infinite
`bun scripts/web.ts` now registers one bundled document per example:
`/` keeps the chat and `/infinite` serves the infinite history. The
shared cross-origin isolation headers wrap each document the same way.

The inline page styles move from web.html into a shared web.css that
both documents import, and web-infinite-chat.{html,tsx} are the browser
entry pair for the example. bun.lock picks up string-dedent for the
example's seeded message generator.

Session: ses_fbc66676dffeMDwZ3jJhimdkw6
2026-08-27 17:23:33 +02:00

22 lines
679 B
HTML

<!-- Browser smoke page for GPUIX's wasm32-unknown-unknown renderer. -->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
<link rel="icon" href="data:," />
<link rel="stylesheet" href="./web.css" />
<title>GPUIX Chat</title>
</head>
<body>
<div id="gpuix-loader" role="status" aria-live="polite">
<div>
<i aria-hidden="true"></i>
<strong>Loading GPUIX Chat</strong>
<span>Starting the WebGPU renderer…</span>
</div>
</div>
<script type="module" src="./web-chat.tsx"></script>
</body>
</html>