Adding footer links, tweaking privacy text, etc.
This commit is contained in:
parent
15d98fe19a
commit
6c3e8bd8a0
3 changed files with 39 additions and 9 deletions
40
index.html
40
index.html
|
|
@ -44,7 +44,7 @@
|
||||||
id="settings-btn"
|
id="settings-btn"
|
||||||
aria-label="Open settings"
|
aria-label="Open settings"
|
||||||
>
|
>
|
||||||
⚙
|
⚙️
|
||||||
</button>
|
</button>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
@ -119,9 +119,23 @@
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<button class="footer-link" id="privacy-link" type="button">🔒 Privacy</button>
|
<button class="footer-link" id="privacy-link" type="button">
|
||||||
<a class="footer-link" href="https://git.bkr.im/ritual/status-poster" target="_blank" rel="noopener">🧑💻 Source Code</a>
|
🔒 Privacy
|
||||||
<a class="footer-link" href="https://ritual.sh" target="_blank" rel="noopener">🖥️ By Ritual</a>
|
</button>
|
||||||
|
<a
|
||||||
|
class="footer-link"
|
||||||
|
href="https://git.bkr.im/ritual/status-poster"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>🧑💻 Source Code</a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
class="footer-link"
|
||||||
|
href="https://ritual.sh"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>🖥️ By Ritual</a
|
||||||
|
>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -154,7 +168,9 @@
|
||||||
<strong>api.omg.lol</strong> at the moment you post a status.
|
<strong>api.omg.lol</strong> at the moment you post a status.
|
||||||
</p>
|
</p>
|
||||||
<p style="font-size: 0.95rem; line-height: 1.7; margin: 0">
|
<p style="font-size: 0.95rem; line-height: 1.7; margin: 0">
|
||||||
No analytics, no tracking, no third-party requests. The
|
No analytics, no tracking. The emoji picker loads its library and
|
||||||
|
data from <strong>cdn.jsdelivr.net</strong> - no personal data is
|
||||||
|
sent there, and the data is cached locally after the first load. The
|
||||||
<a href="https://git.bkr.im/ritual/status-poster"
|
<a href="https://git.bkr.im/ritual/status-poster"
|
||||||
>source code is available online</a
|
>source code is available online</a
|
||||||
>
|
>
|
||||||
|
|
@ -190,6 +206,15 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
<div class="polite-notice">
|
||||||
|
<span class="privacy-icon">🔒</span>
|
||||||
|
<span
|
||||||
|
>Your username and API key are stored
|
||||||
|
<strong>only in this browser</strong> and are never sent anywhere
|
||||||
|
except <strong>api.omg.lol</strong> when you post.</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="s-username">omg.lol username</label>
|
<label for="s-username">omg.lol username</label>
|
||||||
<input
|
<input
|
||||||
|
|
@ -259,7 +284,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="module" src="https://cdn.jsdelivr.net/npm/emoji-picker-element@^1/index.js"></script>
|
<script
|
||||||
|
type="module"
|
||||||
|
src="https://cdn.jsdelivr.net/npm/emoji-picker-element@^1/index.js"
|
||||||
|
></script>
|
||||||
<script src="script.js"></script>
|
<script src="script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -435,7 +435,9 @@ input::placeholder {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#toast.show.clickable:hover { filter: brightness(1.1); }
|
#toast.show.clickable:hover {
|
||||||
|
filter: brightness(1.1);
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Settings modal ────────────────────────────────────────────────────── */
|
/* ── Settings modal ────────────────────────────────────────────────────── */
|
||||||
.overlay {
|
.overlay {
|
||||||
|
|
@ -519,7 +521,7 @@ input::placeholder {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Privacy notice */
|
/* Privacy notice */
|
||||||
.privacy-notice {
|
.polite-notice {
|
||||||
background: var(--accent-dim);
|
background: var(--accent-dim);
|
||||||
border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent);
|
border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent);
|
||||||
border-radius: var(--r);
|
border-radius: var(--r);
|
||||||
|
|
|
||||||
2
sw.js
2
sw.js
|
|
@ -1,4 +1,4 @@
|
||||||
const CACHE = 'status-poster-v9';
|
const CACHE = 'status-poster-v10';
|
||||||
const PRECACHE = ['.', 'index.html', 'style.css', 'script.js', 'manifest.json', 'sw.js', 'icon.svg'];
|
const PRECACHE = ['.', 'index.html', 'style.css', 'script.js', 'manifest.json', 'sw.js', 'icon.svg'];
|
||||||
|
|
||||||
self.addEventListener('install', e => {
|
self.addEventListener('install', e => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue