You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(seo): correct canonical URLs, compress oversized images, add cache headers
- Replace all hardcoded https://sim.ai with https://www.sim.ai via SITE_URL constant
- Migrate models, integrations, and homepage metadata from getBaseUrl() to SITE_URL
- Compress 6 blog/landing images from 2.6MB to 300KB total
- Convert mothership cover from PNG to JPEG (1.1MB → 99KB)
- Add Cache-Control headers for static assets (1d max-age, 7d stale-while-revalidate)
- Add SEO regression test scanning all public pages for canonical URL violations
* fix(seo): replace hardcoded URLs with SITE_URL, broaden test detection
- Replace hardcoded https://www.sim.ai with SITE_URL in academy, changelog.xml, and whitelabeling
- Broaden getBaseUrl() detection in SEO test to match any variable name assignment
- Add ee/whitelabeling/metadata.ts to SEO test scan scope
Copy file name to clipboardExpand all lines: apps/sim/app/(landing)/components/structured-data.tsx
+25-25Lines changed: 25 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
import{SITE_URL}from'@/lib/core/utils/urls'
2
+
1
3
/**
2
4
* JSON-LD structured data for the landing page.
3
5
*
@@ -23,22 +25,22 @@ export default function StructuredData() {
23
25
'@graph': [
24
26
{
25
27
'@type': 'Organization',
26
-
'@id': 'https://sim.ai/#organization',
28
+
'@id': `${SITE_URL}/#organization`,
27
29
name: 'Sim',
28
30
alternateName: 'Sim Studio',
29
31
description:
30
32
'Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM to create agents that automate real work.',
@@ -53,52 +55,50 @@ export default function StructuredData() {
53
55
},
54
56
{
55
57
'@type': 'WebSite',
56
-
'@id': 'https://sim.ai/#website',
57
-
url: 'https://sim.ai',
58
+
'@id': `${SITE_URL}/#website`,
59
+
url: SITE_URL,
58
60
name: 'Sim — The AI Workspace | Build, Deploy & Manage AI Agents',
59
61
description:
60
62
'Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM. Join 100,000+ builders.',
name: 'Sim — The AI Workspace | Build, Deploy & Manage AI Agents',
69
-
isPartOf: {'@id': 'https://sim.ai/#website'},
70
-
about: {'@id': 'https://sim.ai/#software'},
71
+
isPartOf: {'@id': `${SITE_URL}/#website`},
72
+
about: {'@id': `${SITE_URL}/#software`},
71
73
datePublished: '2024-01-01T00:00:00+00:00',
72
74
dateModified: newDate().toISOString(),
73
75
description:
74
76
'Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM to create agents that automate real work.',
'Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM to create agents that automate real work — visually, conversationally, or with code. Trusted by over 100,000 builders. SOC2 compliant.',
97
97
applicationCategory: 'BusinessApplication',
98
98
applicationSubCategory: 'AI Workspace',
99
99
operatingSystem: 'Web',
100
100
browserRequirements: 'Requires a modern browser with JavaScript enabled',
101
-
installUrl: 'https://sim.ai/signup',
101
+
installUrl: `${SITE_URL}/signup`,
102
102
offers: [
103
103
{
104
104
'@type': 'Offer',
@@ -175,16 +175,16 @@ export default function StructuredData() {
0 commit comments