mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-07-28 23:52:16 +00:00
Settings → System → Career panel with the 'Crowd sound reactions' toggle
(writes the localStorage key the crowd layer reads). Pack manifests may
carry sfx {up, down} mp3s, validated like intro files.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
880 B
HTML
22 lines
880 B
HTML
<div class="space-y-3 text-sm">
|
|
<label class="flex items-center justify-between gap-4">
|
|
<span>
|
|
<span class="text-gray-200 font-medium">Crowd sound reactions</span>
|
|
<span class="block text-xs text-gray-500">Cheers when the crowd's mood rises, boos when it drops. Uses each venue's own recordings.</span>
|
|
</span>
|
|
<input type="checkbox" id="career-sfx-toggle" class="accent-cyan-500 w-4 h-4">
|
|
</label>
|
|
</div>
|
|
<script>
|
|
(function () {
|
|
'use strict';
|
|
var KEY = 'feedBack-venue-crowd-sfx';
|
|
var box = document.getElementById('career-sfx-toggle');
|
|
if (!box) return;
|
|
try { box.checked = localStorage.getItem(KEY) === 'on'; } catch (e) { /* ok */ }
|
|
box.addEventListener('change', function () {
|
|
try { localStorage.setItem(KEY, box.checked ? 'on' : 'off'); } catch (e) { /* ok */ }
|
|
});
|
|
}());
|
|
</script>
|