From bf9a5c65bc1a8da9bc09b3ebd2dcc306dfd7a73e Mon Sep 17 00:00:00 2001 From: Your Name <119736744+aborayan2022@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:15:35 +0200 Subject: [PATCH] perf(frontend): reduce initial rendering cost --- frontend/index.html | 25 ++++++++++++- frontend/src/App.tsx | 12 ++++--- frontend/src/components/layout/AdSlot.tsx | 36 +++++++++++++++---- .../src/components/seo/ToolLandingPage.tsx | 2 +- .../src/components/tools/BarcodeGenerator.tsx | 2 +- .../src/components/tools/QrCodeGenerator.tsx | 2 +- frontend/src/pages/HomePage.tsx | 7 ++-- frontend/src/pages/PricingPage.tsx | 6 ++-- frontend/src/pages/SeoCollectionPage.tsx | 8 ++--- frontend/src/pages/SeoPage.tsx | 12 +++---- frontend/src/styles/global.css | 6 ++++ 11 files changed, 89 insertions(+), 29 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 2afc173..b5682ff 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -23,11 +23,34 @@ + - + +
, bgColor: 'bg-sky-50' },
@@ -156,7 +157,7 @@ export default function HomePage() {
@@ -221,7 +222,7 @@ export default function HomePage() {
{/* Tools Grid */}
-
{t('home.pdfTools')}
diff --git a/frontend/src/pages/PricingPage.tsx b/frontend/src/pages/PricingPage.tsx
index d1161dd..e6addff 100644
--- a/frontend/src/pages/PricingPage.tsx
+++ b/frontend/src/pages/PricingPage.tsx
@@ -90,7 +90,9 @@ export default function PricingPage() {