From 86938342306995786af9dee501cec5490f9edbd2 Mon Sep 17 00:00:00 2001 From: Your Name <119736744+aborayan2022@users.noreply.github.com> Date: Sun, 5 Apr 2026 00:08:31 +0200 Subject: [PATCH] feat: add Google AdSense verification script + expand ad coverage - index.html: add adsbygoogle.js script with ca-pub-3822257947737372 for verification - BlogPostPage: add bottom-banner AdSlot below article content - AllToolsPage: add bottom-banner AdSlot below tools grid - ComparisonPage: add bottom-banner AdSlot below comparison content - SeoPage: add bottom-banner AdSlot below FAQ section - SeoCollectionPage: add bottom-banner AdSlot below FAQ section Ad coverage: 13 tool pages + homepage + 5 content pages = ~32 ad placements --- frontend/index.html | 2 ++ frontend/src/pages/AllToolsPage.tsx | 3 +++ frontend/src/pages/BlogPostPage.tsx | 3 +++ frontend/src/pages/ComparisonPage.tsx | 3 +++ frontend/src/pages/SeoCollectionPage.tsx | 3 +++ frontend/src/pages/SeoPage.tsx | 3 +++ 6 files changed, 17 insertions(+) diff --git a/frontend/index.html b/frontend/index.html index f5ffcb3..1fb40ee 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -52,6 +52,8 @@ } })(); + diff --git a/frontend/src/pages/AllToolsPage.tsx b/frontend/src/pages/AllToolsPage.tsx index 8b3754c..14b2175 100644 --- a/frontend/src/pages/AllToolsPage.tsx +++ b/frontend/src/pages/AllToolsPage.tsx @@ -2,6 +2,7 @@ import { useDeferredValue, useMemo, useState } from 'react'; import { Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { ArrowRight, Search } from 'lucide-react'; +import AdSlot from '@/components/layout/AdSlot'; import SEOHead from '@/components/seo/SEOHead'; import BreadcrumbNav from '@/components/seo/BreadcrumbNav'; import ManifestToolIcon from '@/components/shared/ManifestToolIcon'; @@ -158,6 +159,8 @@ export default function AllToolsPage() {

)} + + ); diff --git a/frontend/src/pages/BlogPostPage.tsx b/frontend/src/pages/BlogPostPage.tsx index 1616add..bb7ecfb 100644 --- a/frontend/src/pages/BlogPostPage.tsx +++ b/frontend/src/pages/BlogPostPage.tsx @@ -1,6 +1,7 @@ import { Calendar, ChevronLeft, Clock } from 'lucide-react'; import { Link, useParams } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; +import AdSlot from '@/components/layout/AdSlot'; import SEOHead from '@/components/seo/SEOHead'; import { getToolSEO } from '@/config/seoData'; import { @@ -184,6 +185,8 @@ export default function BlogPostPage() { + + ); diff --git a/frontend/src/pages/ComparisonPage.tsx b/frontend/src/pages/ComparisonPage.tsx index 3d7b299..6756d34 100644 --- a/frontend/src/pages/ComparisonPage.tsx +++ b/frontend/src/pages/ComparisonPage.tsx @@ -2,6 +2,7 @@ import { useParams, Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { Helmet } from 'react-helmet-async'; import { CheckCircle, XCircle, MinusCircle, ArrowRight, Swords, Trophy, ExternalLink } from 'lucide-react'; +import AdSlot from '@/components/layout/AdSlot'; import { getComparisonPage, getComparisonPagesByTool, type ComparisonFeature } from '@/config/comparisonData'; import { getToolSEO } from '@/config/seoData'; import { getSiteOrigin, buildSocialImageUrl, getOgLocale, generateWebPage, generateFAQ } from '@/utils/seo'; @@ -272,6 +273,8 @@ export default function ComparisonPage() { )} + + ); diff --git a/frontend/src/pages/SeoCollectionPage.tsx b/frontend/src/pages/SeoCollectionPage.tsx index bbc88f2..e788f30 100644 --- a/frontend/src/pages/SeoCollectionPage.tsx +++ b/frontend/src/pages/SeoCollectionPage.tsx @@ -1,6 +1,7 @@ import { Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { ArrowRight, FolderKanban, Link2 } from 'lucide-react'; +import AdSlot from '@/components/layout/AdSlot'; import BreadcrumbNav from '@/components/seo/BreadcrumbNav'; import SEOHead from '@/components/seo/SEOHead'; import FAQSection from '@/components/seo/FAQSection'; @@ -241,6 +242,8 @@ export default function SeoCollectionPage({ slug }: SeoCollectionPageProps) { + + ); diff --git a/frontend/src/pages/SeoPage.tsx b/frontend/src/pages/SeoPage.tsx index a626820..142a5b2 100644 --- a/frontend/src/pages/SeoPage.tsx +++ b/frontend/src/pages/SeoPage.tsx @@ -1,6 +1,7 @@ import { Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { ArrowRight, CheckCircle, FileText, Link2 } from 'lucide-react'; +import AdSlot from '@/components/layout/AdSlot'; import BreadcrumbNav from '@/components/seo/BreadcrumbNav'; import SEOHead from '@/components/seo/SEOHead'; import FAQSection from '@/components/seo/FAQSection'; @@ -322,6 +323,8 @@ export default function SeoPage({ slug }: SeoPageProps) { + + );