From 736d08ef0439a6c7618904dab8791f5dda89ab38 Mon Sep 17 00:00:00 2001
From: Your Name <119736744+aborayan2022@users.noreply.github.com>
Date: Mon, 30 Mar 2026 10:31:27 +0200
Subject: [PATCH] feat: enhance SEO capabilities and add All Tools page
- Updated generate-seo-assets script to create separate sitemap files for static, blog, tools, and SEO pages.
- Introduced render-seo-shells script to generate HTML shells for SEO pages with dynamic metadata.
- Added All Tools page with categorized tool listings and SEO metadata.
- Updated routing to include /tools path and linked it in the footer.
- Enhanced SEOHead component to remove unused keywords and improve OpenGraph metadata.
- Updated translations for tools hub in English, Arabic, and French.
- Refactored SEO-related utility functions to support new structured data formats.
---
.env.example | 2 +-
frontend/index.html | 9 +-
frontend/package.json | 2 +-
frontend/public/sitemap.xml | 1482 +----------------
frontend/public/sitemaps/blog.xml | 33 +
frontend/public/sitemaps/seo.xml | 1131 +++++++++++++
frontend/public/sitemaps/static.xml | 57 +
frontend/public/sitemaps/tools.xml | 267 +++
frontend/scripts/generate-seo-assets.mjs | 50 +-
frontend/scripts/render-seo-shells.mjs | 166 ++
frontend/src/App.tsx | 2 +
frontend/src/components/layout/Footer.tsx | 6 +
frontend/src/components/seo/SEOHead.tsx | 16 +-
.../src/components/seo/ToolLandingPage.tsx | 18 +-
frontend/src/config/routes.ts | 1 +
frontend/src/i18n/ar.json | 13 +
frontend/src/i18n/en.json | 13 +
frontend/src/i18n/fr.json | 13 +
frontend/src/pages/AllToolsPage.tsx | 99 ++
frontend/src/pages/BlogPage.tsx | 18 +-
frontend/src/pages/HomePage.tsx | 16 +-
frontend/src/pages/SeoCollectionPage.tsx | 27 +-
frontend/src/pages/SeoPage.tsx | 21 +-
frontend/src/utils/seo.ts | 117 +-
24 files changed, 2030 insertions(+), 1549 deletions(-)
create mode 100644 frontend/public/sitemaps/blog.xml
create mode 100644 frontend/public/sitemaps/seo.xml
create mode 100644 frontend/public/sitemaps/static.xml
create mode 100644 frontend/public/sitemaps/tools.xml
create mode 100644 frontend/scripts/render-seo-shells.mjs
create mode 100644 frontend/src/pages/AllToolsPage.tsx
diff --git a/.env.example b/.env.example
index c53637e..018d569 100644
--- a/.env.example
+++ b/.env.example
@@ -2,7 +2,7 @@
FLASK_ENV=production
FLASK_DEBUG=0
SECRET_KEY=replace-with-a-long-random-secret-key
-INTERNAL_ADMIN_EMAILS=admin@dociva.io
+INTERNAL_ADMIN_EMAILS=support@dociva.io
# Site Domain (used in sitemap, robots.txt, emails)
SITE_DOMAIN=https://dociva.io
diff --git a/frontend/index.html b/frontend/index.html
index 4d2e5b1..6ff05ac 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -7,12 +7,13 @@
+
+
+
-
-
+