diff --git a/scripts/validate-homepage-json-ld.mjs b/scripts/validate-homepage-json-ld.mjs index 6d75a83d3..293a208a1 100644 --- a/scripts/validate-homepage-json-ld.mjs +++ b/scripts/validate-homepage-json-ld.mjs @@ -28,8 +28,25 @@ assert.equal(websites.length, 1, 'Expected exactly one WebSite JSON-LD node'); assert.equal(organizations[0]['@id'], ORGANIZATION_ID); assert.equal(organizations[0].url, WARP_ORIGIN); +assert.equal( + organizations[0].description, + 'Warp builds Warp Factories: open infrastructure for cloud software factories, defined in code.', +); +assert.deepEqual(organizations[0].sameAs, [ + 'https://x.com/warpdotdev', + 'https://github.com/warpdotdev', + 'https://www.youtube.com/@warpdotdev', + 'https://www.linkedin.com/company/warpdotdev', +]); assert.equal(websites[0]['@id'], WEBSITE_ID); assert.equal(websites[0].url, DOCS_ORIGIN); +assert.equal( + websites[0].description, + 'Set up and run Warp Factories, open infrastructure for cloud software factories, along with cloud agents, the Warp Agent, and the Warp terminal.', +); +for (const payload of [organizations[0], websites[0]]) { + assert.doesNotMatch(payload.description, /agentic development environment/i); +} assert.deepEqual(websites[0].publisher, { '@id': ORGANIZATION_ID }); console.log('Homepage JSON-LD validation passed.'); diff --git a/src/components/CustomHead.astro b/src/components/CustomHead.astro index 59e284070..ffecdc726 100644 --- a/src/components/CustomHead.astro +++ b/src/components/CustomHead.astro @@ -29,6 +29,7 @@ const organizationJsonLd = JSON.stringify({ '@type': 'Organization', '@id': organizationId, name: 'Warp', + description: 'Warp builds Warp Factories: open infrastructure for cloud software factories, defined in code.', url: WARP_ORIGIN, logo: { '@type': 'ImageObject', @@ -40,7 +41,6 @@ const organizationJsonLd = JSON.stringify({ 'https://x.com/warpdotdev', 'https://github.com/warpdotdev', 'https://www.youtube.com/@warpdotdev', - 'https://go.warp.dev/join-preview', 'https://www.linkedin.com/company/warpdotdev', ], }).replace(/