From 04df35bbe67ce033b18515db604feddc953d5f12 Mon Sep 17 00:00:00 2001 From: Timo <6156589+Shik3i@users.noreply.github.com> Date: Sat, 11 Jul 2026 06:08:12 +0200 Subject: [PATCH] Enhance forest scene with mid bamboo layer, butterflies, click confetti, and demo scene polish --- examples/Caddyfile.example | 16 ++ extension/popup.html | 177 ++++++++++++- extension/popup.js | 95 ++++++- extension/theme-init.js | 29 ++ website/404.html | 146 ++++++++++ website/README.md | 7 + website/app.js | 95 ++++++- website/assets/NewLogoIcon_64.webp | Bin 1282 -> 1282 bytes website/build.cjs | 11 +- website/sitemap.xml | 248 ++++++++--------- website/style.css | 412 ++++++++++++++++++++++++++--- website/template.html | 6 + 12 files changed, 1060 insertions(+), 182 deletions(-) create mode 100644 extension/theme-init.js create mode 100644 website/404.html diff --git a/examples/Caddyfile.example b/examples/Caddyfile.example index a7a701d..e74721e 100644 --- a/examples/Caddyfile.example +++ b/examples/Caddyfile.example @@ -18,6 +18,14 @@ # # Clean URLs support (resolves /join to join.html, etc.) # try_files {path} {path}.html {path}/ # file_server +# +# # Serve the themed 404 page for unknown URLs (without this block, +# # Caddy returns an empty 404 response) +# handle_errors { +# @notfound expression {err.status_code} == 404 +# rewrite @notfound /404.html +# file_server +# } # } # # syncserver.koalastuff.net { @@ -57,6 +65,14 @@ sync.koalastuff.net { try_files {path} {path}.html {path}/ file_server + # Serve the themed 404 page for unknown URLs (without this block, + # Caddy returns an empty 404 response) + handle_errors { + @notfound expression {err.status_code} == 404 + rewrite @notfound /404.html + file_server + } + # Static Caching for high-performance PageSpeed (1 year with validation) @static { file diff --git a/extension/popup.html b/extension/popup.html index f7f6224..9690cb1 100644 --- a/extension/popup.html +++ b/extension/popup.html @@ -3,6 +3,7 @@