From ed2e4c471929490300db0f47b07550fb3a7439f9 Mon Sep 17 00:00:00 2001 From: "aditya.chandel" <8075870+adityachandelgit@users.noreply.github.com> Date: Sun, 26 Oct 2025 17:27:57 -0600 Subject: [PATCH] Add repobeats --- README.md | 12 ++++++++---- .../main-dashboard/main-dashboard.component.html | 4 +++- .../cover-generator/cover-generator.component.ts | 9 +++++++-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 55494933c..fd18d5b98 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ [](https://discord.gg/Ee5hd458Uz) [](https://opencollective.com/booklore) [](https://venmo.com/AdityaChandel) - > 🚨 **Important Announcement:** > Docker images have moved to new repositories: > - Docker Hub: `https://hub.docker.com/r/booklore/booklore` @@ -230,11 +229,10 @@ For detailed setup instructions and configuration examples: - ✨ Want to contribute? [Check out CONTRIBUTING.md](https://github.com/adityachandelgit/BookLore/blob/master/CONTRIBUTING.md) - 💬 **Join our Discord**: [Click here to chat with the community](https://discord.gg/Ee5hd458Uz) -## 👨💻 Contributors & Developers +## 📊 Repository Activity -Thanks to all the amazing people who contribute to Booklore. + -[](https://github.com/adityachandelgit/BookLore/graphs/contributors) ## ⭐ Star History @@ -246,6 +244,12 @@ Thanks to all the amazing people who contribute to Booklore. +## 👨💻 Contributors & Developers + +Thanks to all the amazing people who contribute to Booklore. + +[](https://github.com/adityachandelgit/BookLore/graphs/contributors) + ## ⚖️ License * [GNU GPL v3](http://www.gnu.org/licenses/gpl.html) diff --git a/booklore-ui/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.html b/booklore-ui/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.html index 93e9eea9b..f65682cf1 100644 --- a/booklore-ui/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.html +++ b/booklore-ui/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.html @@ -41,9 +41,11 @@
diff --git a/booklore-ui/src/app/shared/components/cover-generator/cover-generator.component.ts b/booklore-ui/src/app/shared/components/cover-generator/cover-generator.component.ts index adf46c3eb..68735e1e9 100644 --- a/booklore-ui/src/app/shared/components/cover-generator/cover-generator.component.ts +++ b/booklore-ui/src/app/shared/components/cover-generator/cover-generator.component.ts @@ -1,4 +1,4 @@ -import { Component, Input } from '@angular/core'; +import {Component, Input} from '@angular/core'; @Component({ standalone: true, @@ -115,6 +115,11 @@ export class CoverGeneratorComponent { ${authorElements} `; - return `data:image/svg+xml;base64,${btoa(svg)}`; + + const base64 = btoa(encodeURIComponent(svg).replace(/%([0-9A-F]{2})/g, (match, p1) => { + return String.fromCharCode(parseInt(p1, 16)); + })); + + return `data:image/svg+xml;base64,${base64}`; } }