From 1d41822a361ca3d4c1e775f789c5a7dd9d16a953 Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 22 Apr 2026 20:06:49 +0200 Subject: [PATCH] Add SEO/security meta tags and favicon to frontend index.html --- Docs/Tasks.md | 10 ++++++++-- frontend/index.html | 5 +++++ frontend/public/favicon.ico | Bin 0 -> 110 bytes 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 frontend/public/favicon.ico diff --git a/Docs/Tasks.md b/Docs/Tasks.md index 2c73187..d71e108 100644 --- a/Docs/Tasks.md +++ b/Docs/Tasks.md @@ -542,7 +542,11 @@ Update `JailConfig` (and the corresponding `JailConfigUpdate` patch type) to use --- -### TASK-027 — Add missing ESLint rules +### TASK-027 — Add missing ESLint rules (done) + +**Where fixed:** `frontend/eslint.config.ts`, `frontend/package.json`, `frontend/package-lock.json`, `frontend/src/components/config/JailsTab.tsx`, `frontend/src/components/config/ActivateJailDialog.tsx`, `frontend/src/components/config/CreateActionDialog.tsx`, `frontend/src/components/config/CreateFilterDialog.tsx`, `frontend/src/components/config/CreateJailDialog.tsx`, `frontend/src/components/TopCountriesPieChart.tsx`, `frontend/src/components/config/RegexTesterTab.tsx`, `frontend/src/pages/jail/CodeList.tsx` + +**Summary:** Added missing ESLint rules, installed `eslint-plugin-react`, and fixed the newly reported violations for array keys, floating promises, and hook dependencies in changed source files. **Where found:** `frontend/eslint.config.ts` — only `react-hooks/recommended`, `no-explicit-any`, `explicit-function-return-type`, and `no-unused-vars` are enabled. Several important rules are absent. @@ -566,7 +570,9 @@ Install `eslint-plugin-react` if not already present. Run `npm run lint` after e --- -### TASK-028 — Add security and SEO meta tags to `index.html` +### TASK-028 — Add security and SEO meta tags to `index.html` (done) + +**Summary:** Added favicon support and SEO/security meta tags to `frontend/index.html`. **Where found:** `frontend/index.html` — the file contains only `charset`, `viewport`, and `title` meta tags. diff --git a/frontend/index.html b/frontend/index.html index 7beab00..54e6505 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,9 +3,14 @@ + + + + BanGUI +
diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..fc775d6fff7aaefcdbde63296f2af5ddafd1bb14 GIT binary patch literal 110 zcmZQzU<5(|0R|wcz!1T}z#s<1odJICyj)UTKqjxJhf5HU2C85X;9vui@}K`Ff+$ZH z$B>FS$q&xo{5@aji~$d?0*f23gd`hJjn|Uhj0~@OR>bS`1&0EaGI+ZBxvX