Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix(website): keep baseline nav identical across pages; link community from index footer
tt-a1i891752a99b5f
diff --git a/website/src/components/Navigation.astro b/website/src/components/Navigation.astroindex f68b4eca..c484769d 100644--- a/website/src/components/Navigation.astro+++ b/website/src/components/Navigation.astro@@ -17,10 +17,12 @@ const links = [{ page: 'start', en: 'Start', zh: '快速上手' },{ page: 'community', en: 'Community', zh: '社区包' },];-// gallery/guide/start are deep-compared against the legacy docs/ baselines in-// migration tests, so their navigation cannot change; the community link is-// reachable from the index page and the community page itself.-const visibleLinks = home || page === 'community' ? links : links.filter(link => link.page !== 'community');+// The four baseline pages (index/gallery/guide/start) must keep identical+// navigation: site-language continuity tests deep-compare nav metrics across+// pages, and gallery/guide/start are deep-compared against the docs/+// migration baselines. The community link lives on the community page itself+// and in the index footer.+const visibleLinks = page === 'community' ? links : links.filter(link => link.page !== 'community');---<nav class="site-nav" aria-label="Primary navigation"><a class="nav-logo" href={home ? '#' : './'} aria-label={identity?.label}>diff --git a/website/src/pages/index.astro b/website/src/pages/index.astroindex d42c187f..ac3be76d 100644--- a/website/src/pages/index.astro+++ b/website/src/pages/index.astro@@ -454,6 +454,7 @@ import pageScript from '../scripts/index.js?raw';<p class="footer-meta" data-i18n="footer-meta">development · v{version} · MIT License<br>Based on Cocoon-AI/architecture-diagram-generator</p></div><div class="footer-links">+ <a href="community.html" data-i18n="footer-community">Community</a><a href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">GitHub</a><a href="https://github.com/tt-a1i/archify/blob/main/CHANGELOG.md" target="_blank" rel="noopener" data-i18n="footer-changelog">Changelog</a><a href="https://github.com/tt-a1i/archify/blob/main/LICENSE" target="_blank" rel="noopener" data-i18n="footer-license">License</a>diff --git a/website/src/scripts/index.js b/website/src/scripts/index.jsindex 393f5282..076fa57f 100644--- a/website/src/scripts/index.js+++ b/website/src/scripts/index.js@@ -61,7 +61,7 @@'cta-h':'Describe it once.<br><em>Share the map.</em>','cta-sub':'One command installs the checked skill for Cursor, Claude Code, Codex, or OpenCode — and your next diagram is a chat message away.','cta-install':'Install the skill',- 'footer-changelog':'Changelog','footer-license':'License'+ 'footer-changelog':'Changelog','footer-license':'License','footer-community':'Community'},zh: {'nav-guide':'场景指南','nav-gallery':'验证作品集','nav-start':'快速上手','nav-community':'社区包','nav-install':'安装技能',@@ -121,7 +121,7 @@'cta-h':'描述一次,<br><em>分享这张图。</em>','cta-sub':'一条命令即可为 Cursor、Claude Code、Codex 或 OpenCode 安装经过检查的技能——你的下一张架构图,只差一句对话。','cta-install':'安装技能',- 'footer-changelog':'更新日志','footer-license':'许可证'+ 'footer-changelog':'更新日志','footer-license':'许可证','footer-community':'社区包'}};