feat: add dismiss button for store call-to-action and style updates

This commit is contained in:
CNCKitchen
2026-04-02 10:28:37 +02:00
parent 80f597141c
commit 6ad91f9707
5 changed files with 27 additions and 1 deletions
+5
View File
@@ -445,6 +445,11 @@ function wireEvents() {
if (e.target === licenseOverlay) licenseOverlay.classList.add('hidden');
});
// ── Support banner dismiss ──
document.getElementById('store-cta-dismiss').addEventListener('click', () => {
document.getElementById('store-cta-wrapper').classList.add('store-cta-hidden');
});
// ── Export ──
exportBtn.addEventListener('click', () => {
if (sessionStorage.getItem('stlt-no-sponsor') === '1') {