- );
-}
diff --git a/app/etobicoke-treatment-service/[slug]/page.js b/app/etobicoke-treatment-service/[slug]/page.js
index 7caba62..2959563 100644
--- a/app/etobicoke-treatment-service/[slug]/page.js
+++ b/app/etobicoke-treatment-service/[slug]/page.js
@@ -1,23 +1,7 @@
import Layout from "@/components/layout/Layout";
+import Link from "next/link";
+import { notFound } from "next/navigation";
import { servicesList } from "@/utils/Services.utils";
-import ServiceDetailClient from "./ServiceDetailClient";
-
-export async function generateMetadata({ params }) {
- const service = servicesList.find((item) => item.slug === params.slug);
-
- if (!service) {
- return {
- title: "Service | MySite",
- description: "Explore our services",
- };
- }
-
- return {
- title: service.metaTitle || service.shortTitle || service.title,
- description: service.metaDiscription || service.shortDesc || "Explore this service in detail",
- };
-}
-
export async function generateStaticParams() {
return servicesList.map((item) => ({
@@ -25,19 +9,98 @@ export async function generateStaticParams() {
}));
}
-export default function ServiceDetailPage({ params }) {
- const { slug } = params;
- const service = servicesList.find((item) => item.slug === slug);
+export async function generateMetadata({ params }) {
+ const service = servicesList.find((item) => item.slug === params.slug);
if (!service) {
- return
Service not found
;
+ return {
+ title: "Service Not Found – MySite",
+ description: "The requested service could not be found.",
+ };
}
+ return {
+ title: `${service.metaTitle || service.shortTitle || service.title} – MySite`,
+ description: service.metaDiscription || service.shortDesc || "Explore our services in detail.",
+ };
+}
+
+export default function ServiceDetailPage({ params }) {
+ const service = servicesList.find((item) => item.slug === params.slug);
+
+ if (!service) return notFound();
+
+ const altText = service.title ? service.title.toUpperCase() : "SERVICE";
+
return (
-
-
+
+
+
+
+ {/* Sidebar */}
+
+
+ {/* Categories */}
+
+
+
Services
+
+
+
+ {servicesList.map((item) => (
+
+
+ {item.shortTitle}
+
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{service.shortTitle}
+
{service.shortDescription}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
);
}
diff --git a/app/refugee-physiotherapy/page.js b/app/refugee-physiotherapy/page.js
deleted file mode 100644
index 5767597..0000000
--- a/app/refugee-physiotherapy/page.js
+++ /dev/null
@@ -1,82 +0,0 @@
-import Link from "next/link"
-import Layout from "@/components/layout/Layout"
-
-export const metadata = {
- title: "Refugee Physiotherapy at Physiotherapy Etobicoke - Rapharehab Physiotherapy clinic Etobicoke",
- description:
- "Explore flexible payment options and insurance coverage at Rapharehab Physiotherapy clinic and rehabilitation etobicoke. We accept a variety of insurance plans and offer convenient payment solutions to ensure you get the care you need without financial stress. Book your appointment today!",
-};
-
-
-export default function Refugee() {
- return (
- <>
-
- {/* chooseus-section */}
-
-
-
-
-
-
- {/* Better Solutions */}
-
Refugee Physiotherapy
-
-
-
At rapharehab Etobicoke Physiotherapy clinic, your treatments are partially or fully covered by health insurance plans and Workplace Safety and Insurance Board (WSIB). If you have medical health care coverage, we believe your treatment costs will be covered by health care plans. The treatments such as physiotherapy, massage therapy, chiropractic care, acupuncture, orthotics etc., all can be covered by health care insurance.
-
-
In case if you are injured in a motor vehicle accident (MVA), the auto insurance covers the cost of the treatment.
-
Please get in touch with rapharehab Physiotherapy clinic etobicoke for assistance to know about your coverage.