Testing PWA install prompt

This commit is contained in:
Dan Baker 2026-02-21 21:28:33 +00:00
parent aca0d2dc4f
commit c115121aa7
3 changed files with 127 additions and 1 deletions

View file

@ -49,6 +49,13 @@
</header>
<main>
<!-- Install prompt -->
<div class="install-banner" id="install-banner">
<span class="install-banner-icon">📲</span>
<span id="install-banner-text"></span>
<button class="install-banner-close" id="install-banner-close" aria-label="Dismiss"></button>
</div>
<!-- Emoji picker -->
<div class="emoji-section">
<div
@ -244,6 +251,33 @@
</div>
</div>
<div class="field">
<label>Display Mastodon option</label>
<div
class="theme-toggle"
id="mastodon-vis-toggle"
role="group"
aria-label="Show or hide the Mastodon option"
>
<button
class="theme-btn"
data-mastodon-vis="show"
type="button"
aria-pressed="true"
>
Show
</button>
<button
class="theme-btn"
data-mastodon-vis="hide"
type="button"
aria-pressed="false"
>
Hide
</button>
</div>
</div>
<div class="field">
<label>Appearance</label>
<div