Skip to content

Commit 7a6d689

Browse files
committed
improvement(seo): add x-default hreflang, speakable schema to landing and blog posts
1 parent a814db7 commit 7a6d689

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

apps/sim/app/(home)/components/structured-data.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ export default function StructuredData() {
7474
'Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows. Create agents, workflows, knowledge bases, tables, and docs.',
7575
breadcrumb: { '@id': 'https://sim.ai/#breadcrumb' },
7676
inLanguage: 'en-US',
77+
speakable: {
78+
'@type': 'SpeakableSpecification',
79+
cssSelector: ['#hero-heading', '[id="hero"] p'],
80+
},
7781
potentialAction: [{ '@type': 'ReadAction', target: ['https://sim.ai'] }],
7882
},
7983
{

apps/sim/app/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export const metadata: Metadata = {
5555
canonical: baseUrl,
5656
languages: {
5757
'en-US': baseUrl,
58+
'x-default': baseUrl,
5859
},
5960
},
6061
robots: {

apps/sim/lib/blog/seo.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ export function buildArticleJsonLd(post: BlogMeta) {
9595
timeRequired: post.timeRequired,
9696
articleSection: 'Technology',
9797
inLanguage: 'en-US',
98+
speakable: {
99+
'@type': 'SpeakableSpecification',
100+
cssSelector: ['[itemprop="headline"]', '[itemprop="description"]'],
101+
},
98102
}
99103
}
100104

0 commit comments

Comments
 (0)