diff --git a/README.md b/README.md index 01efa74..a6334cf 100644 --- a/README.md +++ b/README.md @@ -20,20 +20,7 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers) |:---:|:---:|:---:| | **14** | **6** | **Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Codex / Aider / Trae / VS Code (Copilot) / DeerFlow / OpenCode / OpenClaw / Qwen Code / Antigravity / Claw Code / Qoder** | ---- - -## ❤️ 赞助商  🙏 想出现在这里?联系 **jnMetaCode@qq.com** 赞助 - - - - - - -
-5Cookie Code - -5Cookie Code 是一家稳定高速的 API 中继服务提供商,为 Claude Code、Codex 等平台或模型提供 API 中继服务。面向个人、团队和企业用户提供 AI 编码服务和 AI 生图服务。 -
+> 🙏 **想赞助支持本项目?** 联系 **jnMetaCode@qq.com** --- diff --git a/assets/sponsors/5cookie-code.png b/assets/sponsors/5cookie-code.png deleted file mode 100644 index efd0ff9..0000000 Binary files a/assets/sponsors/5cookie-code.png and /dev/null differ diff --git a/site/README.md b/site/README.md index fd1a52f..bbd0a7b 100644 --- a/site/README.md +++ b/site/README.md @@ -18,7 +18,7 @@ dist/ skills/.html # 中文 skill 详情(操作文档)× 20 en/skills/.html # 英文 skill 详情 × 20 styles.css app.js # 深/浅主题 + 交互(原生 JS,零依赖) - assets/ # 图标 + 赞助商 logo + assets/ # 图标 + 公众号/抖音二维码 _headers # Cloudflare Pages 缓存策略 ``` diff --git a/site/build.mjs b/site/build.mjs index 60be55c..9c97f24 100644 --- a/site/build.mjs +++ b/site/build.mjs @@ -140,9 +140,6 @@ const T = { bookDesc: '《AI 编程实战 · 方法论三卷书》—— 10 个 AI 编程工具完整教程 + 真实踩坑。在线书 + PDF,永久免费。', bookBtn: '免费阅读 ↗', aiolaolaBtn: '免费学 AI 编程 · aiOlaOla ↗', - sponsorTitle: '赞助商', - sponsorDesc: '稳定高速的 API 中继服务,为 Claude Code、Codex 等平台提供 API 中继与 AI 生图服务。', - sponsorCta: '🙏 想出现在这里?联系 jnMetaCode@qq.com', ctaTitle: '准备好让 AI 真正会干活了吗?', ctaDesc: '一条命令,{n} 个实战方法论装进你的工具。免费、开源、零依赖。', ctaBtn1: '查看安装命令', ctaBtn2: '⭐ Star on GitHub', @@ -227,9 +224,6 @@ const T = { bookDesc: '"AI Coding in Practice · The Three-Volume Methodology" — full tutorials for 10 AI coding tools plus real-world pitfalls. Online book + PDF, free forever.', bookBtn: 'Read free ↗', aiolaolaBtn: 'Learn AI coding free · aiOlaOla ↗', - sponsorTitle: 'Sponsors', - sponsorDesc: 'A fast, reliable API relay for Claude Code, Codex and more — API relay and AI image generation.', - sponsorCta: '🙏 Want to appear here? Contact jnMetaCode@qq.com', ctaTitle: 'Ready to make your AI actually ship?', ctaDesc: 'One command installs {n} battle-tested skills into your tool. Free, open-source, zero-dependency.', ctaBtn1: 'Get the command', ctaBtn2: '⭐ Star on GitHub', @@ -495,15 +489,6 @@ function renderLanding(skills, lang) { ${t.bookBtn} - -

${t.ctaTitle}

${fill(t.ctaDesc, { n: total })}

$ npx superpowers-zh
@@ -551,7 +536,7 @@ function renderDetail(skill, lang) { function build() { const skills = loadSkills(); rmSync(DIST, { recursive: true, force: true }); - mkdirSync(join(DIST, 'assets', 'sponsors'), { recursive: true }); + mkdirSync(join(DIST, 'assets'), { recursive: true }); mkdirSync(join(DIST, 'skills'), { recursive: true }); mkdirSync(join(DIST, 'en', 'skills'), { recursive: true }); @@ -560,7 +545,6 @@ function build() { copyFileSync(join(TEMPLATE, 'app.js'), join(DIST, 'app.js')); copyFileSync(join(ROOT, 'assets', 'app-icon.png'), join(DIST, 'assets', 'app-icon.png')); copyFileSync(join(ROOT, 'assets', 'superpowers-small.svg'), join(DIST, 'assets', 'superpowers-small.svg')); - copyFileSync(join(ROOT, 'assets', 'sponsors', '5cookie-code.png'), join(DIST, 'assets', 'sponsors', '5cookie-code.png')); copyFileSync(join(TEMPLATE, 'assets', 'qr-wechat.jpg'), join(DIST, 'assets', 'qr-wechat.jpg')); copyFileSync(join(TEMPLATE, 'assets', 'qr-douyin.jpg'), join(DIST, 'assets', 'qr-douyin.jpg')); diff --git a/site/template/styles.css b/site/template/styles.css index 12a452b..8ecf8fd 100644 --- a/site/template/styles.css +++ b/site/template/styles.css @@ -218,7 +218,7 @@ section { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; } .tool-name { font-weight: 600; font-size: 14px; } .tool-type { font-size: 11px; color: var(--text-faint); border: 1px solid var(--border); padding: 1px 7px; border-radius: 5px; } -/* ---------- 书 / 赞助 ---------- */ +/* ---------- 书 ---------- */ .book-inner { background: linear-gradient(135deg, rgba(124,108,255,0.12), rgba(77,214,200,0.08)); border: 1px solid var(--border); border-radius: 18px; padding: 44px; @@ -227,18 +227,6 @@ section { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; } .book-inner h2 { font-size: 26px; margin-bottom: 12px; } .book-inner p { color: var(--text-dim); margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; } -.sponsor-card { - display: flex; align-items: center; gap: 24px; max-width: 620px; margin: 0 auto; - background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); - padding: 24px; transition: border-color .2s; -} -.sponsor-card:hover { border-color: var(--accent); } -.sponsor-card img { border-radius: 10px; flex-shrink: 0; } -.sponsor-card b { display: block; font-size: 17px; margin-bottom: 6px; } -.sponsor-card span { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; } -.sponsor-cta { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-faint); } -.sponsor-cta b { color: var(--accent-2); } - /* ---------- 页脚 ---------- */ footer { border-top: 1px solid var(--border-soft); margin-top: 40px; padding: 40px 24px; } .foot-inner { @@ -267,7 +255,6 @@ footer { border-top: 1px solid var(--border-soft); margin-top: 40px; padding: 40 .nav nav a:nth-child(1), .nav nav a:nth-child(2) { display: none; } .compare-grid { grid-template-columns: 1fr; } .stats { gap: 28px; } - .sponsor-card { flex-direction: column; text-align: center; } .foot-inner { flex-direction: column; align-items: flex-start; } }