Private
Public Access
1
0

fix: 首页改推 OpenClaw,修复 xcodeclaw 页面 showcase 渲染问题

- 首页 hero 按钮和 feature 卡片从 Cherry Studio 改为 OpenClaw(飞书优先)
- Cherry Studio 移入侧边栏「快速开始」分组,移除空的「参考」分组
- 修复 xcodeclaw.md 学术场景 showcase 区块因空行+缩进被解析为代码块的问题
- CTA 背景渐变改用主题变量,适配深色模式
This commit is contained in:
2026-03-09 23:40:00 +08:00
parent 59a0d78801
commit ca5f596590
3 changed files with 8 additions and 16 deletions

View File

@@ -24,6 +24,7 @@ export default defineConfig({
{ text: "Claude Code", link: "/guide/claude-code" },
{ text: "Gemini CLI", link: "/guide/gemini-cli" },
{ text: "Codex", link: "/guide/codex" },
{ text: "Cherry Studio 配置", link: "/cherry-studio-nanobana" },
],
},
{
@@ -33,12 +34,6 @@ export default defineConfig({
{ text: "飞书机器人配置", link: "/guide/feishu-bot" },
],
},
{
text: "参考",
items: [
{ text: "Cherry Studio 配置", link: "/cherry-studio-nanobana" },
],
},
],
socialLinks: [

View File

@@ -4,22 +4,22 @@ layout: home
hero:
name: XCodeCLI
text: 全能 AI 开发配置中心
tagline: 统一管理 Claude Code / Gemini CLI / Codex Cherry Studio 配置
tagline: 统一管理 Claude Code / Gemini CLI / Codex,支持 OpenClaw 与 Cherry Studio
actions:
- theme: brand
text: 快速开始
link: /guide/
- theme: alt
text: Cherry Studio 教程
link: /cherry-studio-nanobana
text: OpenClaw
link: /xcodeclaw
features:
- icon: 🚀
title: CLI 一键配置
details: 一行命令自动配置 Claude Code、Gemini CLI 和 Codex
- icon: 🍒
title: Cherry Studio 支持
details: 完美适配 Cherry Studio支持 Gemini 系列模型可视化交互
- icon: 🤖
title: OpenClaw 支持
details: 开源个人 AI 助手,连接飞书 / WhatsApp / Telegram / Slack 等消息平台,支持浏览器自动化、邮件、日历等操作
- icon: 🔒
title: 安全可靠
details: 自动备份现有配置,本地化管理 API 密钥

View File

@@ -71,7 +71,6 @@ title: XCodeClaw - AI 学术助手
<div class="xclaw-slabel">Academic Scenarios</div>
<div class="xclaw-stitle">专为科研场景打造</div>
<p class="xclaw-sdesc">从文献调研到论文写作,从数据分析到报告排版,覆盖科研全流程。</p>
<div class="xclaw-showcase">
<div class="xclaw-showcase-text">
<h3>深度学术调研</h3>
@@ -86,7 +85,6 @@ title: XCodeClaw - AI 学术助手
<img src="./assets/feishu/promo-research.jpg" alt="深度学术调研">
</div>
</div>
<div class="xclaw-showcase xclaw-showcase-reverse">
<div class="xclaw-showcase-text">
<h3>论文写作与润色</h3>
@@ -101,7 +99,6 @@ title: XCodeClaw - AI 学术助手
<img src="./assets/feishu/promo-latex.jpg" alt="论文写作与排版">
</div>
</div>
<div class="xclaw-showcase">
<div class="xclaw-showcase-text">
<h3>数据分析与可视化</h3>
@@ -317,7 +314,7 @@ title: XCodeClaw - AI 学术助手
/* CTA */
.xclaw-cta {
text-align: center; padding: 80px 24px;
background: linear-gradient(180deg, var(--vp-c-bg) 0%, #eff6ff 100%);
background: linear-gradient(180deg, var(--vp-c-bg) 0%, var(--vp-c-bg-soft) 100%);
}
.xclaw-cta h2 { font-size: 2em; font-weight: 800; margin-bottom: 16px; border: none !important; }
.xclaw-cta p { color: var(--vp-c-text-2); max-width: 500px; margin: 0 auto 32px; font-size: 1.05em; }