mirror of
https://github.com/jnMetaCode/superpowers-zh.git
synced 2026-09-03 07:23:56 +08:00
chore: 下架赞助商展示,仅保留赞助联系方式
移除 README 与官网的赞助商板块(含 5Cookie Code 展示卡、logo、 中英文案、.sponsor 样式、资源复制与图片文件)。按需求仅在 README 保留一行赞助联系方式(jnMetaCode@qq.com),官网 footer 联系邮箱不变。 站点重建 42 页正常、dist 零赞助残留、无悬空引用与破图。
This commit is contained in:
15
README.md
15
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** |
|
||||
|
||||
---
|
||||
|
||||
## ❤️ 赞助商 <sub>🙏 想出现在这里?联系 **jnMetaCode@qq.com** 赞助</sub>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="200" align="center">
|
||||
<a href="https://www.5cookie.cc/sign-up?aff=Pj7u"><img src="assets/sponsors/5cookie-code.png" width="180" alt="5Cookie Code"></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="https://www.5cookie.cc/sign-up?aff=Pj7u"><b>5Cookie Code</b></a> 是一家稳定高速的 API 中继服务提供商,为 Claude Code、Codex 等平台或模型提供 API 中继服务。面向个人、团队和企业用户提供 AI 编码服务和 AI 生图服务。
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
> 🙏 **想赞助支持本项目?** 联系 **jnMetaCode@qq.com**
|
||||
|
||||
---
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB |
@@ -18,7 +18,7 @@ dist/
|
||||
skills/<name>.html # 中文 skill 详情(操作文档)× 20
|
||||
en/skills/<name>.html # 英文 skill 详情 × 20
|
||||
styles.css app.js # 深/浅主题 + 交互(原生 JS,零依赖)
|
||||
assets/ # 图标 + 赞助商 logo
|
||||
assets/ # 图标 + 公众号/抖音二维码
|
||||
_headers # Cloudflare Pages 缓存策略
|
||||
```
|
||||
|
||||
|
||||
@@ -140,9 +140,6 @@ const T = {
|
||||
bookDesc: '《AI 编程实战 · 方法论三卷书》—— 10 个 AI 编程工具完整教程 + 真实踩坑。在线书 + PDF,永久免费。',
|
||||
bookBtn: '免费阅读 ↗',
|
||||
aiolaolaBtn: '免费学 AI 编程 · aiOlaOla ↗',
|
||||
sponsorTitle: '赞助商',
|
||||
sponsorDesc: '稳定高速的 API 中继服务,为 Claude Code、Codex 等平台提供 API 中继与 AI 生图服务。',
|
||||
sponsorCta: '🙏 想出现在这里?联系 <b>jnMetaCode@qq.com</b>',
|
||||
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 <b>jnMetaCode@qq.com</b>',
|
||||
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) {
|
||||
<a class="btn btn-ghost" href="https://book.aibuzhiyu.com/" target="_blank" rel="noopener">${t.bookBtn}</a>
|
||||
</div></div></section>
|
||||
|
||||
<section class="sponsor">
|
||||
<h2 class="section-title">${t.sponsorTitle}</h2>
|
||||
<a class="sponsor-card" href="https://www.5cookie.cc/sign-up?aff=Pj7u" target="_blank" rel="noopener">
|
||||
<img src="assets/sponsors/5cookie-code.png" alt="5Cookie Code" width="160">
|
||||
<div><b>5Cookie Code</b><span>${t.sponsorDesc}</span></div>
|
||||
</a>
|
||||
<p class="sponsor-cta">${t.sponsorCta}</p>
|
||||
</section>
|
||||
|
||||
<section class="cta"><div class="cta-inner">
|
||||
<h2>${t.ctaTitle}</h2><p>${fill(t.ctaDesc, { n: total })}</p>
|
||||
<div class="cta-cmd" data-copy="npx superpowers-zh"><code>$ npx superpowers-zh</code><button class="copy-btn">${t.copy}</button></div>
|
||||
@@ -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'));
|
||||
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user