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 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.", }; export default function RootLayout({ children }) { const siteUrl = "https://rapharehab.ca"; const logoUrl = `${siteUrl}/assets/images/logo.png`; const ogImage = `${siteUrl}/assets/images/logo.jpg`; return (
{/* ✅ Preload critical font */} {/* */} {/* ✅ Canonical Tag */} {/* ✅ Open Graph Meta */} {/* ✅ Twitter Meta */} {/* ✅ Preconnect — Faster 3rd-party requests */} {/* ✅ fetchpriority for LCP Image */} {/* PhysiotherapyClinic Schema Markup */} {/* ✅ Google Tag Manager — non-blocking */} {/* ✅ Microsoft Clarity — lazy load to reduce LCP impact */} {/* ✅ Facebook Pixel — lazy load to avoid blocking */} {/* ✅ Facebook & GTM noscript fallback */} {children} ); }