7e6b203a02
Bundle web bootstrap, icons, local font fallbacks and hosting instructions. Add optimized WebP/MP3 packaging, asset checks and a browser narration regression tool. Support browser audio handoff and ad-free explained hints. Refresh the responsive bookshelf and reduce unnecessary app, narration and paper repaint work. Preserve deliberate page swipes while tolerating small mouse movements during cell and navigation clicks. Validation: all 77 Flutter tests pass; shell, JavaScript and Python scripts parse; locale and web manifests are valid JSON; git diff --check passes.
41 lines
2.1 KiB
HTML
41 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<base href="$FLUTTER_BASE_HREF">
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
||
<meta name="theme-color" content="#314345">
|
||
<meta name="description" content="Explore Lumen’s illustrated stories, recorded voices and picture puzzles.">
|
||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
||
<link rel="icon" type="image/svg+xml" href="icons/lumen.svg?v=2">
|
||
<link rel="icon" type="image/png" sizes="48x48" href="favicon.png?v=2">
|
||
<link rel="apple-touch-icon" href="icons/lumen-180.png?v=2">
|
||
<link rel="manifest" href="manifest.json">
|
||
<title>Lumen — browser playtest</title>
|
||
<style>
|
||
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #314345; color: #314345; }
|
||
body { display: flex; align-items: center; justify-content: center; height: 100dvh; }
|
||
#lumen-player { flex: none; position: relative; width: 100%; height: 100%; overflow: hidden; contain: layout paint style; user-select: none; -webkit-user-select: none; }
|
||
@media (min-width: 1280px) and (min-aspect-ratio: 1/1) {
|
||
#lumen-player { width: min(100vw, 1280px); height: min(100dvh, 800px); }
|
||
}
|
||
@media (pointer: coarse) { #lumen-player { width: 100%; height: 100%; } }
|
||
#loading { position: fixed; inset: 0; z-index: 1; box-sizing: border-box; display: grid; place-content: center; padding: 28px; text-align: center; font: 18px/1.6 Georgia, serif; background: #f7f0df; }
|
||
h1 { font-size: 42px; font-weight: normal; margin: 0; }
|
||
p { max-width: 30em; }
|
||
a { color: inherit; }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<main id="lumen-player" aria-label="Lumen"></main>
|
||
<div id="loading" role="status" aria-live="polite">
|
||
<h1>Lumen</h1>
|
||
<p id="loading-message">Opening the bookshelf…</p>
|
||
<p>Stories, voices and picture puzzles.<br>Your place is saved in this browser.</p>
|
||
</div>
|
||
<noscript>Please enable JavaScript to open Lumen.</noscript>
|
||
<script src="flutter_bootstrap.js" async></script>
|
||
</body>
|
||
</html>
|