mirror of
https://github.com/remorses/gpuix.git
synced 2026-10-29 03:04:52 +08:00
`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
22 lines
679 B
HTML
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>
|