diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-11-20 22:12:49 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-11-20 22:12:49 -0800 |
| commit | 32ef4e7be5a7d826fbdf9789e5af3968ffb219ac (patch) | |
| tree | 7c4f30305255aac14dc15bacad2ab060821147d1 /static | |
| parent | c7e501977eaeb8744a4aa54c60335d338217dc7b (diff) | |
| download | roseh.moe-32ef4e7be5a7d826fbdf9789e5af3968ffb219ac.tar.zst | |
Clean up the static files
Diffstat (limited to 'static')
| -rw-r--r-- | static/QuickLove.woff | bin | 10224 -> 0 bytes | |||
| -rw-r--r-- | static/fart.mp3 (renamed from static/Wet Fart Meme - Sound Effect (HD) [YN1SGS7N02U].mp3) | bin | 12356 -> 12356 bytes | |||
| -rw-r--r-- | static/favicon.ico | bin | 1150 -> 3152 bytes | |||
| -rw-r--r-- | static/icon.webp | bin | 2942 -> 0 bytes | |||
| -rw-r--r-- | static/note.js | 39 | ||||
| -rw-r--r-- | static/styles.css | 4 |
6 files changed, 1 insertions, 42 deletions
diff --git a/static/QuickLove.woff b/static/QuickLove.woff Binary files differdeleted file mode 100644 index d58264e..0000000 --- a/static/QuickLove.woff +++ /dev/null diff --git a/static/Wet Fart Meme - Sound Effect (HD) [YN1SGS7N02U].mp3 b/static/fart.mp3 Binary files differindex 1717d9d..1717d9d 100644 --- a/static/Wet Fart Meme - Sound Effect (HD) [YN1SGS7N02U].mp3 +++ b/static/fart.mp3 diff --git a/static/favicon.ico b/static/favicon.ico Binary files differindex a883b62..4891a34 100644 --- a/static/favicon.ico +++ b/static/favicon.ico diff --git a/static/icon.webp b/static/icon.webp Binary files differdeleted file mode 100644 index 7330971..0000000 --- a/static/icon.webp +++ /dev/null diff --git a/static/note.js b/static/note.js deleted file mode 100644 index 27d3eef..0000000 --- a/static/note.js +++ /dev/null @@ -1,39 +0,0 @@ -let running = false; -let pending = false; - -async function save() { - if (running) { - pending = true; - return; - } - running = true; - - try { - const indicator = document.getElementById("save-indicator"); - indicator.innerHTML = "Saving..."; - indicator.classList.remove("hidden"); - - let responseHTML; - do { - pending = false; - const response = await fetch("/notepad/autosave", { - method: "POST", - body: new FormData(document.getElementById("form")), - }); - responseHTML = await response.text(); - } while (pending); - // Who needs HTMX? - document.getElementById("save-indicator-wrapper").innerHTML = responseHTML; - } finally { - running = false; - } -} - -let autosaveTimer; - -function autosave(key) { - document.getElementById("save-indicator").classList.add("hidden"); - - clearTimeout(autosaveTimer); - autosaveTimer = setTimeout(() => save(key), 1000); -} diff --git a/static/styles.css b/static/styles.css index f95be8d..f147632 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1,8 +1,6 @@ @font-face { font-family: 'QuickLove'; - src: - url('/static/QuickLove.woff2') format('woff2'), - url('/static/QuickLove.woff') format('woff'); + src: url('/static/QuickLove.woff2'); font-weight: normal; font-style: normal; } |
