From f9233811c06866bd3722fa468f5c72d2ea2bdbc7 Mon Sep 17 00:00:00 2001 From: lenafx Date: Thu, 27 Nov 2025 15:37:12 +0100 Subject: [PATCH] added favicon and changed titles --- README.md | 8 ++++---- public/book.js | 2 +- public/books.css | 9 +++++++-- public/home.css | 13 +++++++++++-- views/anime.html | 5 +++-- views/book.html | 3 ++- views/books.html | 9 ++++++--- views/index.html | 13 ++++++++----- views/reader.html | 1 + views/watch.html | 3 ++- 10 files changed, 45 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index fa1886f..ce212cd 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ The official recode repo, its private no one should know about this or have the # Things to get done: | Task | Status | Notes | -| -----|--------| ------ | +| -----|------| ------ | | Book Reader | ✅ | N/A | | Multi book provider loading | ✅ | N/A | | Better Code Organization | Not Done | N/A | @@ -15,9 +15,9 @@ The official recode repo, its private no one should know about this or have the | Marketplace | Not Done | Uses the gitea repo | | Add to list / library | Not Done | Persistent data would be in data.db file in waifuboard directory| | Gallery favorites | Not Done | Persistent in data.db like how it was previously | -| Change "StreamFlow" to "WaifuBoard" | Not Done | N/A | -| Change the cube icon next to "StreamFlow" to the current ico file | Not Done | Use the ico file from the current waifuboard ver | -| Favicon | Not Done | Use the ico file from the current waifuboard ver | +| Change "StreamFlow" to "WaifuBoard" | ✅ | N/A | +| Change the cube icon next to "StreamFlow" to the current ico file | ✅ | Use the ico file from the current waifuboard ver | +| Favicon | ✅ | Use the ico file from the current waifuboard ver | | Make video player more professional looking | Not Done | N/A | ***This stuff will get updated as time goes on, please check things off with a green checkmark as you complete them.*** \ No newline at end of file diff --git a/public/book.js b/public/book.js index 990835e..4599782 100644 --- a/public/book.js +++ b/public/book.js @@ -18,7 +18,7 @@ async function init() { // Populate Hero Elements const title = data.title.english || data.title.romaji; - document.title = `${title} | StreamFlow Books`; + document.title = `${title} | WaifuBoard Books`; const titleEl = document.getElementById('title'); if (titleEl) titleEl.innerText = title; diff --git a/public/books.css b/public/books.css index 31a4d23..4c98637 100644 --- a/public/books.css +++ b/public/books.css @@ -58,12 +58,17 @@ body { .brand-icon { width: 36px; height: 36px; - background: linear-gradient(135deg, #8b5cf6, #3b82f6); border-radius: 10px; display: flex; align-items: center; justify-content: center; - box-shadow: 0 0 20px var(--accent-glow); + overflow: hidden; +} + +.brand-icon img { + width: 70%; + height: 70%; + object-fit: contain; } .nav-center { diff --git a/public/home.css b/public/home.css index e1aa4a4..bc01dda 100644 --- a/public/home.css +++ b/public/home.css @@ -50,19 +50,28 @@ body { gap: 0.8rem; letter-spacing: -0.5px; min-width: 200px; + color: white; + text-decoration: none; + cursor: pointer; } .brand-icon { width: 36px; height: 36px; - background: linear-gradient(135deg, #8b5cf6, #3b82f6); border-radius: 10px; display: flex; align-items: center; justify-content: center; - box-shadow: 0 0 20px var(--accent-glow); + overflow: hidden; } +.brand-icon img { + width: 70%; + height: 70%; + object-fit: contain; +} + + .nav-center { display: flex; gap: 0.5rem; diff --git a/views/anime.html b/views/anime.html index a0daaaf..28f22fb 100644 --- a/views/anime.html +++ b/views/anime.html @@ -3,7 +3,8 @@ - StreamFlow + + WaifuBoard