From 7059a1f3a4a880daa20c06579779df449b54368a Mon Sep 17 00:00:00 2001 From: mstfyldz Date: Thu, 4 Jun 2026 13:04:26 +0300 Subject: [PATCH] fix(seo): resolve pagespeed insights performance and accessibility issues - Add priority to hero image and replace css background-image with Next.js Image component for faster LCP - Add aria-label and aria-expanded to mobile menu button in Navbar - Add aria-label to social media links in Footer - Replace css background-image with Next.js Image component in CTA and Services sections --- app/[lang]/HomeClient.tsx | 35 ++++++++++++++++++++++------------- app/components/Footer.tsx | 4 ++-- app/components/Navbar.tsx | 2 ++ 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/app/[lang]/HomeClient.tsx b/app/[lang]/HomeClient.tsx index 3a46d7e..ef82332 100644 --- a/app/[lang]/HomeClient.tsx +++ b/app/[lang]/HomeClient.tsx @@ -119,10 +119,14 @@ export default function HomeClient({ lang, dict }: { lang: string; dict: any }) {/* ── Hero ── */}
-
+
+ Moy Group Hero
@@ -246,9 +250,12 @@ export default function HomeClient({ lang, dict }: { lang: string; dict: any }) whileHover={{ y: -10 }} className="group relative h-80 overflow-hidden cursor-pointer" > -
@@ -380,12 +387,14 @@ export default function HomeClient({ lang, dict }: { lang: string; dict: any }) {/* ── CTA Banner ── */}
-
+
+ Moy Group CTA Background +
diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx index fb07a93..d08e034 100644 --- a/app/components/Footer.tsx +++ b/app/components/Footer.tsx @@ -15,10 +15,10 @@ export default function Footer({ lang, dict }: { lang: Locale; dict: any }) { {dict.description}

diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index 57bd712..4ff9ee8 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -80,6 +80,8 @@ export default function Navbar({ lang, dict }: { lang: Locale; dict: any }) { {/* Mobile menu button */}