diff --git a/app/layout.js b/app/layout.js index 81ace67..20f0634 100644 --- a/app/layout.js +++ b/app/layout.js @@ -1,3 +1,4 @@ +"use client"; import { poppins } from "@/lib/font"; import "@/node_modules/react-modal-video/css/modal-video.css"; import "../public/assets/css/bootstrap.css"; @@ -7,21 +8,23 @@ import "swiper/css"; import "swiper/css/pagination"; import "swiper/css/free-mode"; import Script from "next/script"; - -export const metadata = { - title: "Best Pain Relief & Physiotherapy - Repharehab Clinic", - description: - "Rapharehab offers trusted physiotherapy and pain relief treatments with professional care tailored to restore your health and mobility.", -}; +import { usePathname } from "next/navigation"; export default function RootLayout({ children }) { + const pathname = usePathname(); const siteUrl = "https://rapharehab.ca"; + const canonicalUrl = `${siteUrl}${pathname}`; const logoUrl = `${siteUrl}/assets/images/logo.png`; const ogImage = `${siteUrl}/assets/images/logo.jpg`; + const pageTitle = "Best Pain Relief & Physiotherapy - Repharehab Clinic"; + const pageDescription = "Rapharehab offers trusted physiotherapy and pain relief treatments with professional care tailored to restore your health and mobility."; + return (
+Reduce Pain • Improve Function • Live Comfortably
+Reduce Pain • Improve Function • Live Comfortably
Chronic pain management at Rapha Rehab, Etobicoke, focuses on helping individuals who experience long-lasting pain that affects daily activities, mobility, and overall well-being. Our multidisciplinary team uses evidence-based treatments to manage pain, restore movement, and improve quality of life — even for long-standing or complex conditions.
Whether your pain is from injury, arthritis, nerve issues, posture, or chronic illness, we create a personalized plan to help you move better and feel better.