This commit is contained in:
2026-04-27 17:02:49 +02:00
parent 3e9f863121
commit 3bb0549109
17 changed files with 2590 additions and 33 deletions

View File

@@ -24,12 +24,35 @@ export default function ComparisonPage({ competitor, peers }: ComparisonPageProp
})),
}
const breadcrumbSchema = {
'@context': 'https://schema.org',
'@type': 'BreadcrumbList',
itemListElement: [
{
'@type': 'ListItem',
position: 1,
name: 'Home',
item: siteConfig.domain,
},
{
'@type': 'ListItem',
position: 2,
name: `${siteConfig.name} vs ${competitor.name}`,
item: `${siteConfig.domain}/vs/${competitor.slug}`,
},
],
}
return (
<>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(faqSchema) }}
/>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbSchema) }}
/>
<Navbar />
<main className="comparison-page">
<section className="comparison-hero">

View File

@@ -40,6 +40,25 @@ export default function SeoCategoryPage({ profile }: SeoCategoryPageProps) {
}
: null
const breadcrumbSchema = {
'@context': 'https://schema.org',
'@type': 'BreadcrumbList',
itemListElement: [
{
'@type': 'ListItem',
position: 1,
name: 'Home',
item: siteConfig.domain,
},
{
'@type': 'ListItem',
position: 2,
name: profile.h1,
item: `${siteConfig.domain}${profile.canonical}`,
},
],
}
return (
<>
<script
@@ -52,6 +71,10 @@ export default function SeoCategoryPage({ profile }: SeoCategoryPageProps) {
dangerouslySetInnerHTML={{ __html: JSON.stringify(appSchema) }}
/>
)}
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbSchema) }}
/>
<Navbar />
<main className="comparison-page">
{/* Hero */}