Host web build at /kobo subpath: index.html + back link
- KOBO_EXEFILE -> index.html so the game can be reached at https://lindholm.dev/kobo/ without an explicit filename. Sibling artifacts follow suit (index.js / .wasm / .data); install rule and build-web.sh serve hint updated to match. - web/shell.html: small "← lindholm.dev" link top-left. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -11,9 +11,15 @@
|
||||
canvas { background: #000; image-rendering: pixelated; outline: none;
|
||||
max-width: 100%; max-height: 100vh; }
|
||||
#status { padding: 8px; font-size: 13px; }
|
||||
#back { position: fixed; top: 10px; left: 12px; z-index: 10;
|
||||
color: #888; text-decoration: none; font-size: 13px;
|
||||
padding: 4px 8px; border: 1px solid #333; border-radius: 3px;
|
||||
background: rgba(0,0,0,0.6); }
|
||||
#back:hover { color: #ddd; border-color: #666; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<a id="back" href="https://lindholm.dev">← lindholm.dev</a>
|
||||
<div id="wrap">
|
||||
<canvas id="canvas" tabindex="-1" oncontextmenu="event.preventDefault()"></canvas>
|
||||
<div id="status">Loading…</div>
|
||||
|
||||
Reference in New Issue
Block a user