asmr: hide the next-round list when it's empty; absolute favicon for the subdomain
This commit is contained in:
1 parent
6803dfb029
commit
87de965fc9
1 file changed
+3
-2
+3
-2
@@ -5,7 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>g*ndora asmr</title>
|
||||
<meta name="theme-color" content="#0b0b0e">
|
||||
<link rel="icon" href="../favicon.svg">
|
||||
<link rel="icon" href="https://gandora.lol/favicon.svg">
|
||||
<style>
|
||||
:root{--bg:#0b0b0e;--card:#141419;--line:#26262e;--ink:#ecebf2;--dim:#8a8996;--acc:#c9b8ff}
|
||||
*{box-sizing:border-box}
|
||||
@@ -45,7 +45,7 @@ summary{cursor:pointer;color:var(--ink)}
|
||||
<p class="lede">Voice bake-off. Same 30-second goodnight script through every whisper-capable voice on the Venice worker. Tap to play, star the ones that land. Headphones.</p>
|
||||
<details><summary>The script</summary><p id="script"></p><p><b>Style direction</b> (Qwen3 only): <span id="style"></span></p></details>
|
||||
<div id="list"></div>
|
||||
<div class="fam"><h2>Next round</h2><small>Not on the shared worker's allowlist yet</small></div>
|
||||
<div class="fam" id="nexth" hidden><h2>Next round</h2><small>Not on the shared worker's allowlist yet</small></div>
|
||||
<ul class="next" id="next"></ul>
|
||||
</main>
|
||||
<div class="dock"><div class="in">
|
||||
@@ -135,6 +135,7 @@ fetch("voices.json").then((r) => r.json()).then((cfg) => {
|
||||
el.onclick = () => play(v, el);
|
||||
$("#list").append(el);
|
||||
}
|
||||
if ((cfg.next || []).length) $("#nexth").hidden = false;
|
||||
for (const n of cfg.next || []) { const li = document.createElement("li"); li.textContent = `${n.family} — ${n.why}`; $("#next").append(li); }
|
||||
});
|
||||
$("#rain").onchange = () => bed(!!cur);
|
||||
|
||||
Reference in new issue
Block a user