Skip to content

Commit b5917e0

Browse files
committed
fix: route opencmo nav to workspace
1 parent b98873e commit b5917e0

5 files changed

Lines changed: 18 additions & 15 deletions

File tree

frontend/src/components/marketing/PublicSiteHeader.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ export function PublicSiteHeader({
7878
if (href.startsWith("#") || !isPublicRoute) {
7979
return href;
8080
}
81+
if (!isPublicRoutePath(href)) {
82+
return href;
83+
}
8184
return getLocalizedPublicPath(href, seoLocale);
8285
};
8386

frontend/src/content/marketing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export type BlogArticle = {
4141
export const PUBLIC_HOME_NAV: PublicNavItem[] = [
4242
{ href: "/b2b-leads", label: "landing.navLeads" },
4343
{ href: "/seo-geo", label: "landing.navSeoGeo" },
44-
{ href: "/open-source", label: "landing.navOpenSource" },
44+
{ href: "/workspace", label: "landing.navOpenSource" },
4545
{ href: "/data-policy", label: "landing.navDataPolicy" },
4646
{ href: "/contact", label: "landing.navContact" },
4747
{ href: "/blog", label: "landing.navBlog" },

frontend/src/i18n/locales/en.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -765,14 +765,14 @@ export const en = {
765765
"service.seoGeo.finalSubtitle": "Start with a diagnostic or build a monthly SEO/GEO operating plan for overseas acquisition.",
766766
"service.openSource.metaTitle": "OpenCMO Open-Source Growth System | aidCMO",
767767
"service.openSource.metaDescription": "OpenCMO is the open-source system behind aidCMO's SEO, GEO, SERP, community, and AI visibility methodology.",
768-
"service.openSource.eyebrow": "Open-source proof",
768+
"service.openSource.eyebrow": "Open-source technical support",
769769
"service.openSource.title": "OpenCMO is the technical support behind our growth method.",
770-
"service.openSource.subtitle": "We keep OpenCMO as an open-source project and method proof for SEO, GEO, SERP, community discussion, and AI visibility analysis.",
770+
"service.openSource.subtitle": "We keep OpenCMO as an open-source project and method support layer for SEO, GEO, SERP, community discussion, and AI visibility analysis.",
771771
"service.openSource.highlight1": "Maintained open-source project with public code and Apache 2.0 license.",
772772
"service.openSource.highlight2": "Used as the method layer for visibility diagnosis and growth execution.",
773-
"service.openSource.highlight3": "Kept separate from the commercial B2B lead-data offer, but useful as technical credibility.",
773+
"service.openSource.highlight3": "Kept separate from the commercial B2B lead-data offer, while providing technical support and transparency.",
774774
"service.openSource.sectionEyebrow": "Method surface",
775-
"service.openSource.sectionTitle": "What OpenCMO proves",
775+
"service.openSource.sectionTitle": "What OpenCMO supports",
776776
"service.openSource.sectionSubtitle": "The repo shows the analysis model behind our SEO/GEO and public-visibility work.",
777777
"service.openSource.seoTitle": "SEO analysis",
778778
"service.openSource.seoDesc": "Site health, crawlability, page quality, metadata, and structured recommendations.",
@@ -787,7 +787,7 @@ export const en = {
787787
"service.openSource.proofTitle": "Transparency",
788788
"service.openSource.proofDesc": "Public code, public documentation, and a visible technical foundation.",
789789
"service.openSource.detailTitle": "How it supports commercial work",
790-
"service.openSource.detailSubtitle": "OpenCMO remains the proof layer while aidCMO presents the services customers can buy.",
790+
"service.openSource.detailSubtitle": "OpenCMO remains the technical support layer while aidCMO presents the services customers can buy.",
791791
"service.openSource.detail1": "Use OpenCMO to diagnose search, AI, SERP, and narrative visibility.",
792792
"service.openSource.detail2": "Use the commercial service to execute lead-data, content, and SEO/GEO work.",
793793
"service.openSource.detail3": "Keep the open-source identity visible without making the homepage only a repo page.",
@@ -798,7 +798,7 @@ export const en = {
798798
"service.openSource.field3": "Self-host quick start",
799799
"service.openSource.field4": "Architecture and blog explainers",
800800
"service.openSource.noteTitle": "Positioning note",
801-
"service.openSource.noteBody": "OpenCMO is not being removed. It is now framed as technical support, open-source proof, and methodology rather than the first thing sold on the homepage.",
801+
"service.openSource.noteBody": "OpenCMO is not being removed. It is now framed as technical support, open-source infrastructure, and methodology rather than the first thing sold on the homepage.",
802802
"service.openSource.finalTitle": "Review the project or discuss how the method applies to your market.",
803803
"service.openSource.finalSubtitle": "The repo is public; the service package turns the method into overseas acquisition execution.",
804804
"service.openSource.repoCta": "Open repository",

frontend/src/i18n/locales/zh.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -725,13 +725,13 @@ export const zh: Partial<Record<TranslationKey, string>> = {
725725
"service.openSource.metaTitle": "OpenCMO 开源增长系统 | aidCMO",
726726
"service.openSource.metaDescription": "OpenCMO 是 aidCMO SEO、GEO、SERP、社区和 AI 可见度方法论背后的开源系统。",
727727
"service.openSource.eyebrow": "开源技术支持",
728-
"service.openSource.title": "OpenCMO 是我们增长方法的技术证明。",
729-
"service.openSource.subtitle": "OpenCMO 保留为开源项目和方法论证明,用于 SEO、GEO、SERP、社区讨论和 AI 可见度分析。",
728+
"service.openSource.title": "OpenCMO 是我们增长方法的技术支持。",
729+
"service.openSource.subtitle": "OpenCMO 保留为开源项目和方法论支持,用于 SEO、GEO、SERP、社区讨论和 AI 可见度分析。",
730730
"service.openSource.highlight1": "公开代码和 Apache 2.0 许可证。",
731731
"service.openSource.highlight2": "作为可见度诊断和增长执行的方法层。",
732-
"service.openSource.highlight3": "和商业 B2B 线索服务区分开,但提供技术可信度。",
732+
"service.openSource.highlight3": "和商业 B2B 线索服务区分开,但提供技术支持和透明度。",
733733
"service.openSource.sectionEyebrow": "方法论表面",
734-
"service.openSource.sectionTitle": "OpenCMO 证明什么",
734+
"service.openSource.sectionTitle": "OpenCMO 支持什么",
735735
"service.openSource.sectionSubtitle": "仓库展示了 SEO/GEO 与公开可见度工作的分析模型。",
736736
"service.openSource.seoTitle": "SEO 分析",
737737
"service.openSource.seoDesc": "站点健康、可抓取性、页面质量、元数据和结构化建议。",
@@ -746,7 +746,7 @@ export const zh: Partial<Record<TranslationKey, string>> = {
746746
"service.openSource.proofTitle": "透明性",
747747
"service.openSource.proofDesc": "公开代码、公开文档和可见技术基础。",
748748
"service.openSource.detailTitle": "它如何支撑商业服务",
749-
"service.openSource.detailSubtitle": "OpenCMO 保留为证明层,aidCMO 首页则呈现客户可以买到的服务。",
749+
"service.openSource.detailSubtitle": "OpenCMO 保留为技术支持层,aidCMO 首页则呈现客户可以买到的服务。",
750750
"service.openSource.detail1": "用 OpenCMO 诊断搜索、AI、SERP 和叙事可见度。",
751751
"service.openSource.detail2": "用商业服务执行线索数据、内容和 SEO/GEO 工作。",
752752
"service.openSource.detail3": "保留开源身份,但不让首页只像仓库介绍页。",

src/opencmo/web/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
<h2>OpenCMO 技术支持</h2>
113113
<p>
114114
OpenCMO 保留为背后的开源增长系统,用于分析 SEO、GEO、SERP、社区讨论和
115-
AI 可见度,并作为方法论的公开证明
115+
AI 可见度,并作为方法论的技术支持
116116
</p>
117117
<ul>
118118
<li>GitHub 仓库: https://github.com/study8677/OpenCMO</li>
@@ -662,13 +662,13 @@ def _render_blog_article_static_site_copy(article: dict[str, object], locale: st
662662
"OpenCMO remains a public Apache 2.0 open-source project.",
663663
"It analyzes SEO, GEO, SERP, community discussion, and AI visibility signals.",
664664
"aidCMO uses this method in overseas acquisition diagnosis, content strategy, and growth execution.",
665-
"The homepage now sells commercial services first while keeping OpenCMO as public proof.",
665+
"The homepage now sells commercial services first while keeping OpenCMO as technical support.",
666666
],
667667
"bullets_zh": [
668668
"OpenCMO 保留为 Apache 2.0 开源项目。",
669669
"它用于分析 SEO、GEO、SERP、社区讨论和 AI 可见度信号。",
670670
"aidCMO 将这套方法用于海外获客诊断、内容策略和增长执行。",
671-
"首页优先销售商业服务,同时保留 OpenCMO 作为公开证明。",
671+
"首页优先销售商业服务,同时保留 OpenCMO 作为技术支持。",
672672
],
673673
},
674674
"sample-data": {

0 commit comments

Comments
 (0)