SEO
This commit is contained in:
@@ -89,6 +89,23 @@ const ServicePage: React.FC<ServicePageProps> = ({ data }) => {
|
||||
window.scrollTo(0, 0);
|
||||
}, []);
|
||||
|
||||
const schema = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Service",
|
||||
"name": data.h1,
|
||||
"description": data.description,
|
||||
"url": `https://bayareait.services/${data.slug}`,
|
||||
"provider": {
|
||||
"@type": "Organization",
|
||||
"name": "Bay Area IT",
|
||||
"url": "https://bayareait.services"
|
||||
},
|
||||
"areaServed": {
|
||||
"@type": "AdministrativeArea",
|
||||
"name": "Corpus Christi and the Coastal Bend"
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<SEO
|
||||
@@ -96,6 +113,7 @@ const ServicePage: React.FC<ServicePageProps> = ({ data }) => {
|
||||
description={data.description}
|
||||
keywords={data.keywords}
|
||||
canonicalUrl={`https://bayareait.services/${data.slug}`}
|
||||
schema={schema}
|
||||
/>
|
||||
|
||||
<div className="min-h-screen bg-background-light dark:bg-background-dark relative overflow-x-hidden">
|
||||
|
||||
Reference in New Issue
Block a user