From eff09464500916f89a55af46fd15195cde50768b Mon Sep 17 00:00:00 2001 From: AyrisAI Date: Sat, 16 May 2026 01:00:32 +0300 Subject: [PATCH] feat: implement advanced Service, CreativeWork and Breadcrumb schema markup --- app/services/[slug]/[location]/page.tsx | 61 ++++++++++++++++++++++++- app/works/[slug]/page.tsx | 55 +++++++++++++++++++++- 2 files changed, 114 insertions(+), 2 deletions(-) diff --git a/app/services/[slug]/[location]/page.tsx b/app/services/[slug]/[location]/page.tsx index 0ca806a..75a4895 100644 --- a/app/services/[slug]/[location]/page.tsx +++ b/app/services/[slug]/[location]/page.tsx @@ -49,10 +49,69 @@ export default async function ServiceLocationPage({ params }: Props) { const projects = await getProjectsByService(service.title); + const breadcrumbLd = { + "@context": "https://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 1, + "name": "Ana Sayfa", + "item": "https://mugladijitalmedya.com" + }, + { + "@type": "ListItem", + "position": 2, + "name": "Hizmetlerimiz", + "item": "https://mugladijitalmedya.com/services" + }, + { + "@type": "ListItem", + "position": 3, + "name": service.title, + "item": `https://mugladijitalmedya.com/services/${service.slug}` + }, + { + "@type": "ListItem", + "position": 4, + "name": location.name, + "item": `https://mugladijitalmedya.com/services/${service.slug}/${location.slug}` + } + ] + }; + + const serviceLd = { + "@context": "https://schema.org", + "@type": "Service", + "serviceType": service.title, + "provider": { + "@type": "Organization", + "name": "Muğla Dijital", + "url": "https://mugladijitalmedya.com" + }, + "areaServed": { + "@type": "City", + "name": location.name + }, + "description": `${location.name} bölgesinde profesyonel ${service.title.toLowerCase()} çözümleri.`, + "offers": { + "@type": "Offer", + "availability": "https://schema.org/InStock", + "areaServed": location.name + } + }; + return (
- +