From b14aa6a0c33c525d1dcbbfc9233a22ffd4a17c32 Mon Sep 17 00:00:00 2001
From: Xe Iaso
Date: Thu, 3 Apr 2025 07:54:24 -0400
Subject: Add new Anubis mascot (#204)
* Add new Anubis mascot
Signed-off-by: Xe Iaso
* web: add artist credit to footer
Signed-off-by: Xe Iaso
---------
Signed-off-by: Xe Iaso
---
docs/docs/CHANGELOG.md | 1 +
docs/docusaurus.config.ts | 2 +-
docs/static/img/android-chrome-512x512.png | Bin 227688 -> 108267 bytes
docs/static/img/favicon.ico | Bin 15086 -> 15406 bytes
docs/static/img/favicon.webp | Bin 0 -> 6028 bytes
docs/static/img/happy.webp | Bin 59250 -> 30584 bytes
web/index.templ | 8 ++++----
web/index_templ.go | 14 +++++++-------
web/js/main.mjs | 28 ++++++++++++++--------------
web/static/img/happy.webp | Bin 59250 -> 30584 bytes
web/static/img/pensive.webp | Bin 49148 -> 28904 bytes
web/static/img/reject.webp | Bin 0 -> 26974 bytes
web/static/img/sad.webp | Bin 50802 -> 0 bytes
13 files changed, 27 insertions(+), 26 deletions(-)
create mode 100644 docs/static/img/favicon.webp
create mode 100644 web/static/img/reject.webp
delete mode 100644 web/static/img/sad.webp
diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md
index 273d8d9..2527946 100644
--- a/docs/docs/CHANGELOG.md
+++ b/docs/docs/CHANGELOG.md
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+- The placeholder Anubis mascot has been replaced with a design by [CELPHASE](https://bsky.app/profile/celphase.bsky.social).
- Allow iMessage's link preview fetcher through Anubis by default.
- Added a periodic cleanup routine for the decaymap that removes expired entries, ensuring stale data is properly pruned.
- Added a no-store Cache-Control header to the challenge page
diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts
index 42eaa98..4320504 100644
--- a/docs/docusaurus.config.ts
+++ b/docs/docusaurus.config.ts
@@ -76,7 +76,7 @@ const config: Config = {
title: 'Anubis',
logo: {
alt: 'A happy jackal woman with brown hair and red eyes',
- src: 'img/happy.webp',
+ src: 'img/favicon.webp',
},
items: [
{
diff --git a/docs/static/img/android-chrome-512x512.png b/docs/static/img/android-chrome-512x512.png
index dddd387..cef21c5 100644
Binary files a/docs/static/img/android-chrome-512x512.png and b/docs/static/img/android-chrome-512x512.png differ
diff --git a/docs/static/img/favicon.ico b/docs/static/img/favicon.ico
index 593253c..fba094c 100644
Binary files a/docs/static/img/favicon.ico and b/docs/static/img/favicon.ico differ
diff --git a/docs/static/img/favicon.webp b/docs/static/img/favicon.webp
new file mode 100644
index 0000000..394a93e
Binary files /dev/null and b/docs/static/img/favicon.webp differ
diff --git a/docs/static/img/happy.webp b/docs/static/img/happy.webp
index 31c78c8..40b979d 100644
Binary files a/docs/static/img/happy.webp and b/docs/static/img/happy.webp differ
diff --git a/web/index.templ b/web/index.templ
index b43e82c..ff3994f 100644
--- a/web/index.templ
+++ b/web/index.templ
@@ -66,6 +66,7 @@ templ base(title string, body templ.Component) {
href="https://techaro.lol"
>Techaro. Made with ❤️ in 🇨🇦.
+ Mascot design by CELPHASE.
@@ -114,7 +115,7 @@ templ errorPage(message string) {
{ message }.
@@ -137,8 +138,7 @@ templ bench() {
Iters B |
-
-
+
diff --git a/web/index_templ.go b/web/index_templ.go
index eb99b3a..69a1eaa 100644
--- a/web/index_templ.go
+++ b/web/index_templ.go
@@ -89,7 +89,7 @@ func base(title string, body templ.Component) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "