diff --git a/apps/web-roo-code/next-sitemap.config.cjs b/apps/web-roo-code/next-sitemap.config.cjs index e9b0ca3c473f..2f50093bb39a 100644 --- a/apps/web-roo-code/next-sitemap.config.cjs +++ b/apps/web-roo-code/next-sitemap.config.cjs @@ -33,9 +33,18 @@ module.exports = { if (path === '/') { priority = 1.0; changefreq = 'yearly'; - } else if (path === '/enterprise' || path === '/evals') { + } else if (path === '/extension') { + priority = 0.9; + changefreq = 'monthly'; + } else if (path === '/cloud' || path === '/pricing') { priority = 0.8; changefreq = 'monthly'; + } else if (path === '/enterprise') { + priority = 0.5; + changefreq = 'yearly'; + } else if (path === '/evals') { + priority = 0.6; + changefreq = 'monthly'; } else if (path === '/privacy' || path === '/terms') { priority = 0.5; changefreq = 'yearly'; @@ -50,24 +59,20 @@ module.exports = { }; }, additionalPaths: async (config) => { - // Add any additional paths that might not be automatically discovered - // This is useful for dynamic routes or API-generated pages - // Add the /evals page since it's a dynamic route - return [{ - loc: '/evals', - changefreq: 'monthly', - priority: 0.8, - lastmod: new Date().toISOString(), - }]; - - // Add the /evals page since it's a dynamic route - result.push({ - loc: '/evals', - changefreq: 'monthly', - priority: 0.8, - lastmod: new Date().toISOString(), - }); - - return result; + // Explicitly include dynamic or non-file-system paths + return [ + { + loc: '/evals', + changefreq: 'monthly', + priority: 0.6, + lastmod: new Date().toISOString(), + }, + { + loc: '/extension', + changefreq: 'monthly', + priority: 0.9, + lastmod: new Date().toISOString(), + }, + ]; }, }; \ No newline at end of file diff --git a/apps/web-roo-code/src/app/cloud/page.tsx b/apps/web-roo-code/src/app/cloud/page.tsx index 704b4e152134..bc2e14f73c23 100644 --- a/apps/web-roo-code/src/app/cloud/page.tsx +++ b/apps/web-roo-code/src/app/cloud/page.tsx @@ -119,8 +119,17 @@ const cloudFeatures: Feature[] = [ import screenshotDark from "/public/heroes/cloud-screen.png" export default function CloudPage() { + const breadcrumbLd = { + "@context": "https://schema.org", + "@type": "BreadcrumbList", + itemListElement: [ + { "@type": "ListItem", position: 1, name: "Home", item: SEO.url }, + { "@type": "ListItem", position: 2, name: "Cloud", item: `${SEO.url}${PATH}` }, + ], + } return ( <> +