Skip to content

Commit 484bda7

Browse files
committed
fix(landing): sync homepage JSON-LD title and restore visible open-source claim
1 parent b884f5d commit 484bda7

4 files changed

Lines changed: 17 additions & 7 deletions

File tree

apps/sim/app/(landing)/components/hero/hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function Hero() {
9191
</>
9292
}
9393
description='Sim is an AI agent and workflow builder for teams creating agents that automate real work. Design workflows visually, describe what you need in natural language, or use code for complete control.'
94-
definition='Connect your agents to 1,000+ integrations and every major LLM, then deploy, monitor, and improve them from one collaborative workspace.'
94+
definition='Connect your agents to 1,000+ integrations and every major LLM, then deploy, monitor, and improve them from one collaborative, open-source workspace.'
9595
/>
9696

9797
<div

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,21 @@ import { JsonLd } from '@/app/(landing)/components/json-ld'
2424
export const HOME_PAGE_DESCRIPTION =
2525
'Sim is the open-source AI workspace where teams build, deploy, and manage AI agents across 1,000+ integrations and every major LLM, visually or with code.'
2626

27+
/**
28+
* The home page's canonical title - the single string shared by the
29+
* `<title>`, OG/Twitter titles (`page.tsx`), and the JSON-LD `WebPage.name`
30+
* below, so the title surfaces never drift.
31+
*/
32+
export const HOME_PAGE_TITLE = 'The AI Workspace | Build, Deploy & Manage AI Agents | Sim'
33+
2734
const HOME_JSON_LD = {
2835
'@context': 'https://schema.org',
2936
'@graph': [
3037
{
3138
'@type': 'WebPage',
3239
'@id': `${SITE_URL}#webpage`,
3340
url: SITE_URL,
34-
name: 'Sim, The AI Workspace | Build, Deploy & Manage AI Agents',
41+
name: HOME_PAGE_TITLE,
3542
isPartOf: { '@id': `${SITE_URL}#website` },
3643
about: { '@id': `${SITE_URL}#software` },
3744
datePublished: '2024-01-01T00:00:00+00:00',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { HOME_PAGE_DESCRIPTION, HomeStructuredData } from './home-structured-data'
1+
export { HOME_PAGE_DESCRIPTION, HOME_PAGE_TITLE, HomeStructuredData } from './home-structured-data'

apps/sim/app/(landing)/page.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
import type { Metadata } from 'next'
22
import { SITE_URL } from '@/lib/core/utils/urls'
3-
import { HOME_PAGE_DESCRIPTION } from '@/app/(landing)/components/home-structured-data'
3+
import {
4+
HOME_PAGE_DESCRIPTION,
5+
HOME_PAGE_TITLE,
6+
} from '@/app/(landing)/components/home-structured-data'
47
import Landing from '@/app/(landing)/landing'
58

69
export const revalidate = 3600
710

811
export const metadata: Metadata = {
912
metadataBase: new URL(SITE_URL),
1013
title: {
11-
absolute: 'The AI Workspace | Build, Deploy & Manage AI Agents | Sim',
14+
absolute: HOME_PAGE_TITLE,
1215
},
1316
description: HOME_PAGE_DESCRIPTION,
1417
keywords:
@@ -22,7 +25,7 @@ export const metadata: Metadata = {
2225
telephone: false,
2326
},
2427
openGraph: {
25-
title: 'The AI Workspace | Build, Deploy & Manage AI Agents | Sim',
28+
title: HOME_PAGE_TITLE,
2629
description: HOME_PAGE_DESCRIPTION,
2730
type: 'website',
2831
url: SITE_URL,
@@ -42,7 +45,7 @@ export const metadata: Metadata = {
4245
card: 'summary_large_image',
4346
site: '@simdotai',
4447
creator: '@simdotai',
45-
title: 'The AI Workspace | Build, Deploy & Manage AI Agents | Sim',
48+
title: HOME_PAGE_TITLE,
4649
description: HOME_PAGE_DESCRIPTION,
4750
images: {
4851
url: '/logo/426-240/reverse/small.png',

0 commit comments

Comments
 (0)