Skip to content

Commit b72378b

Browse files
authored
Merge pull request #81 from jnMetaCode/feat/nav-tools-learn
feat(site): 导航补「支持工具」+「学习」入口
2 parents 89f4182 + 960bf78 commit b72378b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

site/build.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const T = {
108108
htmlLang: 'zh-CN',
109109
title: 'superpowers-zh · AI 编程超能力中文增强版',
110110
desc: 'superpowers(233k+ ⭐)完整汉化 + 4 个中国原创 skills,一条 npx 命令为 18 款 AI 编程工具装上系统化工作方法论。',
111-
nav: { why: '特性', install: '安装', skills: 'Skills', tools: '支持工具', faq: 'FAQ', github: 'GitHub ↗' },
111+
nav: { why: '特性', install: '安装', skills: 'Skills', tools: '支持工具', faq: 'FAQ', learn: '学习 ↗', github: 'GitHub ↗' },
112112
heroBadge: 'superpowers 233k+ ⭐ · 完整汉化 + 中国原创',
113113
heroH1: '给你的 AI 编程工具<br>装上<span class="grad">真正会干活</span>的超能力',
114114
heroLead: '{n} 个经过实战验证的工作方法论 skill —— 从头脑风暴到 TDD,从系统化调试到代码审查。<br>一条命令,自动识别项目里的工具并安装。',
@@ -194,7 +194,7 @@ const T = {
194194
htmlLang: 'en',
195195
title: 'superpowers-zh · Battle-tested AI coding skills (CN-enhanced)',
196196
desc: 'Full Chinese localization of superpowers (233k+ ⭐) plus 4 China-native skills. One npx command installs systematic workflow methodology into 18 AI coding tools.',
197-
nav: { why: 'Features', install: 'Install', skills: 'Skills', tools: 'Tools', faq: 'FAQ', github: 'GitHub ↗' },
197+
nav: { why: 'Features', install: 'Install', skills: 'Skills', tools: 'Tools', faq: 'FAQ', learn: 'Learn ↗', github: 'GitHub ↗' },
198198
heroBadge: 'superpowers 233k+ ⭐ · Full CN localization + China-native skills',
199199
heroH1: 'Give your AI coding tools<br>superpowers that <span class="grad">actually ship</span>',
200200
heroLead: '{n} battle-tested workflow skills — from brainstorming to TDD, systematic debugging to code review.<br>One command auto-detects your tool and installs.',
@@ -349,7 +349,9 @@ ${extraHead}</head>
349349
<a href="${base}index.html#why">${t.nav.why}</a>
350350
<a href="${base}index.html#install">${t.nav.install}</a>
351351
<a href="${base}index.html#skills">${t.nav.skills}</a>
352+
<a href="${base}index.html#tools">${t.nav.tools}</a>
352353
<a href="${base}index.html#faq">${t.nav.faq}</a>
354+
<a href="https://aiolaola.com/?utm_source=sp1" target="_blank" rel="noopener">${t.nav.learn}</a>
353355
<a href="https://github.com/jnMetaCode/superpowers-zh" target="_blank" rel="noopener">${t.nav.github}</a>
354356
<a class="lang-switch" href="${langHref}">${other}</a>
355357
<button class="theme-btn" id="themeBtn" aria-label="theme" title="切换主题">◐</button>

0 commit comments

Comments
 (0)