schema updated server side inject

This commit is contained in:
Alaguraj0361 2025-11-24 21:26:11 +05:30
parent cc08ba4af5
commit fd5ab9334b

View File

@ -77,10 +77,83 @@ export default function RootLayout({ children }) {
fetchPriority="high" fetchPriority="high"
aria-label="loader" aria-label="loader"
/> />
<script
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify({
"@context": "https://schema.org",
"@type": "PhysiotherapyClinic",
"name": "Rapharehab Clinic",
"image": logoUrl,
"@id": `${siteUrl}/#clinic`,
"url": siteUrl,
"telephone": "+16477223434",
"priceRange": "$$",
"medicalSpecialty": "PhysicalTherapy",
"address": {
"@type": "PostalAddress",
"streetAddress": "5 4335 Bloor Street West",
"addressLocality": "Etobicoke",
"addressRegion": "ON",
"postalCode": "M9C 2A5",
"addressCountry": "CA"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 43.6389,
"longitude": -79.5716
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Monday",
"opens": "10:00",
"closes": "20:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Tuesday",
"opens": "10:00",
"closes": "20:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Wednesday",
"opens": "10:00",
"closes": "20:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Thursday",
"opens": "10:00",
"closes": "20:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Friday",
"opens": "10:00",
"closes": "20:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Saturday",
"opens": "10:00",
"closes": "17:00"
}
],
"sameAs": [
"https://www.facebook.com/ELRaphaRehabCenter/",
"https://www.instagram.com/elrapharehab/"
]
})
}}
/>
</head> </head>
<body> <body>
{/* PhysiotherapyClinic Schema Markup */} {/* PhysiotherapyClinic Schema Markup */}
<Script {/* <Script
id="schema-physiotherapy" id="schema-physiotherapy"
type="application/ld+json" type="application/ld+json"
strategy="afterInteractive" strategy="afterInteractive"
@ -158,7 +231,7 @@ export default function RootLayout({ children }) {
"https://www.instagram.com/elrapharehab/", "https://www.instagram.com/elrapharehab/",
], ],
})} })}
</Script> </Script> */}
{/* ✅ Google Tag Manager — non-blocking */} {/* ✅ Google Tag Manager — non-blocking */}
<Script id="gtm-init" strategy="afterInteractive"> <Script id="gtm-init" strategy="afterInteractive">