"use client"; import { poppins } from "@/lib/font"; import "@/node_modules/react-modal-video/css/modal-video.css"; import "../public/assets/css/bootstrap.css"; import "../public/assets/css/color.css"; import "../public/assets/css/style.css"; import "swiper/css"; import "swiper/css/pagination"; import "swiper/css/free-mode"; import "../public/assets/css/google-reviews.css"; import Script from "next/script"; import { usePathname } from "next/navigation"; export default function RootLayout({ children }) { const pathname = usePathname(); const siteUrl = "https://rapharehab.ca"; const normalizedPath = pathname.endsWith('/') ? pathname : `${pathname}/`; const canonicalUrl = `${siteUrl}${normalizedPath}`; const logoUrl = `${siteUrl}/assets/images/logo.png`; const ogImage = `${siteUrl}/assets/images/logo.jpg`; const pageTitle = "Physiotherapy Clinic in Etobicoke | Rapha"; const pageDescription = " Expert physiotherapy in Etobicoke for injury, pain relief & rehab. Personalized treatment plans. Book your appointment today."; return (
{/*