diff --git a/app/accident/[slug]/page.js b/app/accident/[slug]/page.js index 7a690fb..6f46fbf 100644 --- a/app/accident/[slug]/page.js +++ b/app/accident/[slug]/page.js @@ -3,7 +3,6 @@ import Link from "next/link"; import { notFound } from "next/navigation"; import Accident from "@/utils/Accident.utils"; -// ✅ Generate static paths for export export async function generateStaticParams() { return Accident.map((item) => ({ slug: item.slug, @@ -22,7 +21,7 @@ export async function generateMetadata({ params }) { return { title: service.metaTitle || service.title, - description: service.metaDescription || service.shortDesc, + description: service.metaDiscription || service.shortDesc, }; } diff --git a/app/area-of-injury/[slug]/page.js b/app/area-of-injury/[slug]/page.js index 0a79fd6..3dfde7b 100644 --- a/app/area-of-injury/[slug]/page.js +++ b/app/area-of-injury/[slug]/page.js @@ -21,7 +21,7 @@ export async function generateMetadata({ params }) { return { title: `${service.metaTitle} – Rapharehab Clinic`, - description: service.metaDescription || "Expert physiotherapy and pain relief treatments.", + description: service.metaDiscription || "Expert physiotherapy and pain relief treatments.", }; } diff --git a/app/etobicoke-treatment-service/[slug]/page.js b/app/etobicoke-treatment-service/[slug]/page.js index ff0ab31..7caba62 100644 --- a/app/etobicoke-treatment-service/[slug]/page.js +++ b/app/etobicoke-treatment-service/[slug]/page.js @@ -14,7 +14,7 @@ export async function generateMetadata({ params }) { return { title: service.metaTitle || service.shortTitle || service.title, - description: service.metaDescription || service.shortDesc || "Explore this service in detail", + description: service.metaDiscription || service.shortDesc || "Explore this service in detail", }; } diff --git a/app/rehabilitation/[slug]/page.js b/app/rehabilitation/[slug]/page.js index 6d63e44..bf18668 100644 --- a/app/rehabilitation/[slug]/page.js +++ b/app/rehabilitation/[slug]/page.js @@ -3,7 +3,6 @@ import Link from "next/link"; import { notFound } from "next/navigation"; import Rehabilitation from "@/utils/Rehabilitation.utils"; -// ✅ Generate static paths for export export async function generateStaticParams() { return Rehabilitation.map((item) => ({ slug: item.slug, @@ -17,7 +16,7 @@ export async function generateMetadata({ params }) { return { title: service.metaTitle || service.title, - description: service.metaDescription || service.shortDesc, + description: service.metaDiscription || service.shortDesc, }; } diff --git a/utils/Services.utils.js b/utils/Services.utils.js index b7efcd9..38a8138 100644 --- a/utils/Services.utils.js +++ b/utils/Services.utils.js @@ -137,7 +137,7 @@ export const servicesList = [ icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", alt: "Physiotherapy | Rapharehab", icon2: "/assets/images/mobile-view/services/trusted-physiotherapy-clinic.webp", - metaTitle: "Best Pain Relief & Physiotherapy – Rapharehab Clinic", + metaTitle: "Best Pain Relief & Physiotherapy Clinic Etobicoke – Rapharehab Clinic", metaDiscription: "Rapharehab offers trusted Best Pain Relief & Physiotherapy treatments with professional care tailored to restore your health and mobility.", shortDescription: "Rapha Rehab is one of the premier Physiotherapy clinics in Etiobicoke Scarborough & Mississauga.", description: `